T - type of the resourceV - type of the valuepublic interface TermFilterExistsAndMissingSearchModel<T,V> extends TermFilterSearchModel<T,V>, ExistsAndMissingFilterSearchModelSupport<T>
| 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.
|
List<FilterExpression<T>> |
is(V value)
Generates an expression to select all elements with the given attribute value.
|
List<FilterExpression<T>> |
isIn(Iterable<V> values)
Generates an expression to select all elements with attributes matching any of the given values.
|
static <T,V> TermFilterExistsAndMissingSearchModel<T,V> |
of(String attributePath,
Function<V,String> typeSerializer)
Creates an instance of the search model to generate term filters.
|
getSearchModelexists, missingList<FilterExpression<T>> containsAll(Iterable<V> values)
FilterSearchModelcontainsAll in interface FilterSearchModel<T,V>containsAll in interface TermFilterSearchModel<T,V>values - the values to filter byList<FilterExpression<T>> containsAllAsString(Iterable<String> values)
FilterSearchModelcontainsAllAsString in interface FilterSearchModel<T,V>containsAllAsString in interface TermFilterSearchModel<T,V>values - the values to filter byList<FilterExpression<T>> containsAny(Iterable<V> values)
FilterSearchModelcontainsAny in interface FilterSearchModel<T,V>containsAny in interface TermFilterSearchModel<T,V>values - the values to filter byList<FilterExpression<T>> containsAnyAsString(Iterable<String> values)
FilterSearchModelcontainsAnyAsString in interface FilterSearchModel<T,V>containsAnyAsString in interface TermFilterSearchModel<T,V>values - the values to filter byList<FilterExpression<T>> is(V value)
FilterSearchModelis in interface FilterSearchModel<T,V>is in interface TermFilterSearchModel<T,V>value - the value to filter byList<FilterExpression<T>> isIn(Iterable<V> values)
FilterSearchModelAlias for FilterSearchModel.containsAny(Iterable).
isIn in interface FilterSearchModel<T,V>isIn in interface TermFilterSearchModel<T,V>values - the values to filter bystatic <T,V> TermFilterExistsAndMissingSearchModel<T,V> of(String attributePath, Function<V,String> typeSerializer)
of in interface TermFilterSearchModel<T,V>T - type of the resourceV - type of the valueattributePath - the path of the attribute as expected by Composable Commerce (e.g. "variants.attributes.color.key")typeSerializer - the function to convert the provided value to a string accepted by Composable Commerce