|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Criteria | |
|---|---|
| com.jayway.jsonpath | |
| Uses of Criteria in com.jayway.jsonpath |
|---|
| Methods in com.jayway.jsonpath that return Criteria | |
|---|---|
Criteria |
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 |
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 |
Criteria.and(String key)
Static factory method to create a Criteria using the provided key |
Criteria |
Criteria.andOperator(Criteria... criteria)
Creates an 'and' criteria using the $and operator for all of the provided criteria |
Criteria |
Criteria.eq(Object o)
Creates a criterion using equality |
Criteria |
Criteria.exists(boolean b)
Check for existence (or lack thereof) of a field. |
Criteria |
Criteria.gt(Object o)
Creates a criterion using the > operator |
Criteria |
Criteria.gte(Object o)
Creates a criterion using the >= operator |
Criteria |
Criteria.in(Collection<?> c)
The in operator is analogous to the SQL IN modifier, allowing you
to specify an array of possible matches. |
Criteria |
Criteria.in(Object... o)
The in operator is analogous to the SQL IN modifier, allowing you
to specify an array of possible matches. |
Criteria |
Criteria.is(Object o)
Creates a criterion using equality |
Criteria |
Criteria.lt(Object o)
Creates a criterion using the < operator |
Criteria |
Criteria.lte(Object o)
Creates a criterion using the <= operator |
Criteria |
Criteria.ne(Object o)
Creates a criterion using the != operator |
Criteria |
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 |
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 |
Criteria.regex(Pattern pattern)
Creates a criterion using a Regex |
Criteria |
Criteria.size(int s)
The size operator matches any array with the specified number of elements. |
Criteria |
Criteria.type(Class<?> t)
The $type operator matches values based on their Java type. |
static Criteria |
Criteria.where(String key)
Static factory method to create a Criteria using the provided key |
| Methods in com.jayway.jsonpath with parameters of type Criteria | |
|---|---|
abstract Filter |
Filter.addCriteria(Criteria criteria)
Adds a new criteria to this filter |
Filter |
Filter.FilterAdapter.addCriteria(Criteria criteria)
|
Criteria |
Criteria.andOperator(Criteria... criteria)
Creates an 'and' criteria using the $and operator for all of the provided criteria |
static Filter |
Filter.filter(Criteria criteria)
Creates a new filter based on given criteria |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||