T
- type of the resourceV
- type of the valuepublic interface FilterSearchModel<T,V>
Modifier and Type | Method and Description |
---|---|
List<FilterExpression<T>> |
containsAll(Iterable<V> values)
Generates an expression to select all elements with attributes matching all the given values.
|
List<FilterExpression<T>> |
containsAllAsString(Iterable<String> values)
Generates an expression to select all elements with attributes matching all the given values.
|
List<FilterExpression<T>> |
containsAny(Iterable<V> values)
Generates an expression to select all elements with attributes matching any of the given values.
|
List<FilterExpression<T>> |
containsAnyAsString(Iterable<String> values)
Generates an expression to select all elements with attributes matching any of the given values.
|
SearchModel<T> |
getSearchModel()
The search model for the filter.
|
List<FilterExpression<T>> |
is(V value)
Generates an expression to select all elements with the given attribute value.
|
default List<FilterExpression<T>> |
isIn(Iterable<V> values)
Generates an expression to select all elements with attributes matching any of the given values.
|
SearchModel<T> getSearchModel()
List<FilterExpression<T>> is(V value)
value
- the value to filter bydefault List<FilterExpression<T>> isIn(Iterable<V> values)
Alias for containsAny(Iterable)
.
values
- the values to filter byList<FilterExpression<T>> containsAny(Iterable<V> values)
values
- the values to filter byList<FilterExpression<T>> containsAll(Iterable<V> values)
values
- the values to filter byList<FilterExpression<T>> containsAnyAsString(Iterable<String> values)
values
- the values to filter byList<FilterExpression<T>> containsAllAsString(Iterable<String> values)
values
- the values to filter by