Interface EqualityPredicateBuilder<T,TValue>
- All Known Subinterfaces:
ComparisonPredicateBuilder<T,TValue>
- All Known Implementing Classes:
BooleanComparisonPredicateBuilder,DateComparisonPredicateBuilder,DateTimeComparisonPredicateBuilder,DoubleComparisonPredicateBuilder,LongComparisonPredicateBuilder,StringComparisonPredicateBuilder,TimeComparisonPredicateBuilder
public interface EqualityPredicateBuilder<T,TValue>
-
Method Summary
Modifier and TypeMethodDescriptiondefault 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 valuedefault CombinationQueryPredicate<T>creates predicate to a field has the specified valuedefault CombinationQueryPredicate<T>creates predicate to a field has the value of the supplied variable
-
Method Details
-
is
creates predicate to a field has the specified value- Parameters:
value- value to be checked for equality- Returns:
- a combination predicate
-
isVar
creates predicate to a field has the value of the supplied variable- Parameters:
variable- 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
-