Class LongComparisonPredicateBuilder<T>
java.lang.Object
com.commercetools.api.predicates.query.LongComparisonPredicateBuilder<T>
- All Implemented Interfaces:
ComparisonPredicateBuilder<T,,Long> EqualityPredicateBuilder<T,,Long> InequalityPredicateBuilder<T,,Long> IsDefinedPredicateBuilder<T,,Long> IsInPredicateBuilder<T,,Long> NotEqualPredicateBuilder<T,Long>
public class LongComparisonPredicateBuilder<T>
extends Object
implements ComparisonPredicateBuilder<T,Long>, IsInPredicateBuilder<T,Long>
-
Constructor Summary
ConstructorsConstructorDescriptionLongComparisonPredicateBuilder(BinaryQueryPredicate predicate, Function<QueryPredicate, CombinationQueryPredicate<T>> combinationFn) -
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, Long value) create a predicate with the supplied operator and valueMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.commercetools.api.predicates.query.EqualityPredicateBuilder
is, isVarMethods inherited from interface com.commercetools.api.predicates.query.InequalityPredicateBuilder
isGreaterThan, isGreaterThanOrEqual, isGreaterThanOrEqualVar, isGreaterThanVar, isLessThan, isLessThanOrEqual, isLessThanOrEqualVar, isLessThanVarMethods inherited from interface com.commercetools.api.predicates.query.IsDefinedPredicateBuilder
isDefined, isNotDefinedMethods inherited from interface com.commercetools.api.predicates.query.IsInPredicateBuilder
isIn, isInVarMethods inherited from interface com.commercetools.api.predicates.query.NotEqualPredicateBuilder
isNot, isNotVar
-
Constructor Details
-
LongComparisonPredicateBuilder
public LongComparisonPredicateBuilder(BinaryQueryPredicate predicate, Function<QueryPredicate, CombinationQueryPredicate<T>> combinationFn)
-
-
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
-
predicate
-
combinationFn
-
format
-