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