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 TypeMethodDescriptionThealloperator 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) Thealloperator 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 keyThecontainsoperator asserts that the provided object is contained in the result.static CriteriaDeprecated.Criteria.empty(boolean empty) ThenotEmptyoperator 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 >= operatorTheinoperator is analogous to the SQL IN modifier, allowing you to specify an array of possible matches.Criteria.in(Collection<?> c) Theinoperator 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 <= operatorThematchesoperator checks that an object matches the given predicate.Creates a criterion using the != operatorTheninoperator 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) Theninoperator 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 CriteriaDeprecated.Creates a criterion using a RegexCriteria.size(int size) Thesizeoperator matches:The $type operator matches values based on their Java JSON type.static CriteriaDeprecated.static CriteriaStatic factory method to create a Criteria using the provided keyConstructor parameters in com.jayway.jsonpath with type arguments of type Criteria