Interface ComparisonPredicateBuilder<T,TValue>
- All Superinterfaces:
EqualityPredicateBuilder<T,
,TValue> InequalityPredicateBuilder<T,
,TValue> IsDefinedPredicateBuilder<T,
,TValue> NotEqualPredicateBuilder<T,
TValue>
- All Known Implementing Classes:
BooleanComparisonPredicateBuilder
,DateComparisonPredicateBuilder
,DateTimeComparisonPredicateBuilder
,DoubleComparisonPredicateBuilder
,LongComparisonPredicateBuilder
,StringComparisonPredicateBuilder
,TimeComparisonPredicateBuilder
public interface ComparisonPredicateBuilder<T,TValue>
extends EqualityPredicateBuilder<T,TValue>, NotEqualPredicateBuilder<T,TValue>, InequalityPredicateBuilder<T,TValue>, IsDefinedPredicateBuilder<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 valueMethods inherited from interface com.commercetools.api.predicates.query.EqualityPredicateBuilder
is, isVar
Methods inherited from interface com.commercetools.api.predicates.query.InequalityPredicateBuilder
isGreaterThan, isGreaterThanOrEqual, isGreaterThanOrEqualVar, isGreaterThanVar, isLessThan, isLessThanOrEqual, isLessThanOrEqualVar, isLessThanVar
Methods inherited from interface com.commercetools.api.predicates.query.IsDefinedPredicateBuilder
isDefined, isNotDefined
Methods inherited from interface com.commercetools.api.predicates.query.NotEqualPredicateBuilder
isNot, isNotVar
-
Method Details
-
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
-