Interface ContainsPredicateBuilder<T,TValue>
- All Known Implementing Classes:
DateCollectionPredicateBuilder
,DateTimeCollectionPredicateBuilder
,DoubleCollectionPredicateBuilder
,LongCollectionPredicateBuilder
,StringCollectionPredicateBuilder
,TimeCollectionPredicateBuilder
public interface ContainsPredicateBuilder<T,TValue>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CombinationQueryPredicate<T>
containsAll
(Iterable<TValue> value) create a predicate with the "contains all" operatordefault CombinationQueryPredicate<T>
containsAllVar
(String variable) creates a predicate with the "contains all" operator and the use of a predicate input variabledefault CombinationQueryPredicate<T>
containsAny
(Iterable<TValue> value) create a predicate with the "contains any" operatordefault CombinationQueryPredicate<T>
containsAnyVar
(String variable) creates a predicate with the "contains any" operator and the use of a predicate input variabledefault CombinationQueryPredicate<T>
is
(PredicateOperator operator, VariableQueryPredicate value) create a predicate with the supplied operator and variable name predicatedefault CombinationQueryPredicate<T>
is
(PredicateOperator operator, TValue value) create a predicate with the supplied operator and value
-
Method Details
-
containsAny
create a predicate with the "contains any" operator- Parameters:
value
- the values to be contained- Returns:
- a combination predicate
-
containsAll
create a predicate with the "contains all" operator- Parameters:
value
- the values to be contained- Returns:
- a combination predicate
-
containsAnyVar
creates a predicate with the "contains any" operator and the use of a predicate input variable- Parameters:
variable
- the variable name- Returns:
- a combination predicate
-
containsAllVar
creates a predicate with the "contains all" operator and the use of a predicate input variable- Parameters:
variable
- the variable name- Returns:
- a combination predicate
-
predicate
BinaryQueryPredicate predicate() -
combinationFn
Function<QueryPredicate,CombinationQueryPredicate<T>> combinationFn() -
format
-
is
create a predicate with the supplied operator and value- Parameters:
operator
- the predicate operatorvalue
- the comparison value- Returns:
- a combination predicate
-
is
create a predicate with the supplied operator and variable name predicate- Parameters:
operator
- the predicate operatorvalue
- the variable name predicate- Returns:
- a combination predicate
-