Class LongCollectionPredicateBuilder<T>
java.lang.Object
com.commercetools.api.predicates.query.CollectionPredicateBuilder<T>
com.commercetools.api.predicates.query.LongCollectionPredicateBuilder<T>
- All Implemented Interfaces:
ContainsPredicateBuilder<T,,Long> EmptyPredicateBuilder<T>
public class LongCollectionPredicateBuilder<T>
extends CollectionPredicateBuilder<T>
implements ContainsPredicateBuilder<T,Long>, EmptyPredicateBuilder<T>
-
Constructor Summary
ConstructorsConstructorDescriptionLongCollectionPredicateBuilder(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 com.commercetools.api.predicates.query.CollectionPredicateBuilder
combinationFn, predicateMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.commercetools.api.predicates.query.ContainsPredicateBuilder
containsAll, containsAllVar, containsAny, containsAnyVarMethods inherited from interface com.commercetools.api.predicates.query.EmptyPredicateBuilder
combinationFn, isEmpty, predicate
-
Constructor Details
-
LongCollectionPredicateBuilder
public LongCollectionPredicateBuilder(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
-
format
-