Uses of Class
com.jayway.jsonpath.Criteria

Packages that use Criteria
Package
Description
 
  • Uses of Criteria in com.jayway.jsonpath

    Methods in com.jayway.jsonpath that return Criteria
    Modifier and Type
    Method
    Description
    Criteria.all(Object... o)
    The all 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)
    The all operator is similar to $in, but instead of matching any value in the specified array all values in the array must be matched.
    Criteria.and(String key)
    Static factory method to create a Criteria using the provided key
    Criteria.contains(Object o)
    The contains operator asserts that the provided object is contained in the result.
    static Criteria
    Criteria.create(String left, String operator, String right)
    Deprecated.
    Criteria.empty(boolean empty)
    The notEmpty operator checks that an array or String is empty.
    Criteria.eq(Object o)
    Creates a criterion using equality
    Criteria.exists(boolean shouldExist)
    Check for existence (or lack thereof) of a field.
    Criteria.gt(Object o)
    Creates a criterion using the > operator
    Criteria.gte(Object o)
    Creates a criterion using the >= operator
    Criteria.in(Object... o)
    The in operator is analogous to the SQL IN modifier, allowing you to specify an array of possible matches.
    Criteria.in(Collection<?> c)
    The in operator is analogous to the SQL IN modifier, allowing you to specify an array of possible matches.
    Criteria.is(Object o)
    Creates a criterion using equality
    Criteria.lt(Object o)
    Creates a criterion using the < operator
    Criteria.lte(Object o)
    Creates a criterion using the <= operator
    Criteria.matches(Predicate p)
    The matches operator checks that an object matches the given predicate.
    Criteria.ne(Object o)
    Creates a criterion using the !
    Criteria.nin(Object... o)
    The nin 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)
    The nin 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
    Criteria.parse(String criteria)
    Deprecated.
    Criteria.regex(Pattern pattern)
    Creates a criterion using a Regex
    Criteria.size(int size)
    The size operator matches:
    Criteria.type(Class<?> clazz)
    The $type operator matches values based on their Java JSON type.
    static Criteria
    Criteria.where(Path key)
    Deprecated.
    static Criteria
    Criteria.where(String key)
    Static factory method to create a Criteria using the provided key