Uses of Class
com.jayway.jsonpath.Criteria
Packages that use Criteria
-
Uses of Criteria in com.jayway.jsonpath
Fields in com.jayway.jsonpath with type parameters of type CriteriaMethods in com.jayway.jsonpath that return CriteriaModifier and TypeMethodDescriptionTheall
operator is similar to $in, but instead of matching any value in the specified array all values in the array must be matched.Criteria.all
(Collection<?> c) Theall
operator is similar to $in, but instead of matching any value in the specified array all values in the array must be matched.Static factory method to create a Criteria using the provided keyThecontains
operator asserts that the provided object is contained in the result.static Criteria
Deprecated.Criteria.empty
(boolean empty) ThenotEmpty
operator checks that an array or String is empty.Creates a criterion using equalityCriteria.exists
(boolean shouldExist) Check for existence (or lack thereof) of a field.Creates a criterion using the > operatorCreates a criterion using the >= operatorThein
operator is analogous to the SQL IN modifier, allowing you to specify an array of possible matches.Criteria.in
(Collection<?> c) Thein
operator is analogous to the SQL IN modifier, allowing you to specify an array of possible matches.Creates a criterion using equalityCreates a criterion using the < operatorCreates a criterion using the <= operatorThematches
operator checks that an object matches the given predicate.Creates a criterion using the != operatorThenin
operator is similar to $in except that it selects objects for which the specified field does not have any value in the specified array.Criteria.nin
(Collection<?> c) Thenin
operator is similar to $in except that it selects objects for which the specified field does not have any value in the specified array.Criteria.notEmpty()
Deprecated.static Criteria
Deprecated.Creates a criterion using a RegexCriteria.size
(int size) Thesize
operator matches:The $type operator matches values based on their Java JSON type.static Criteria
Deprecated.static Criteria
Static factory method to create a Criteria using the provided keyConstructor parameters in com.jayway.jsonpath with type arguments of type Criteria