Class DateCollectionPredicateBuilder<T>
java.lang.Object
com.commercetools.api.predicates.query.CollectionPredicateBuilder<T>
com.commercetools.api.predicates.query.DateCollectionPredicateBuilder<T>
- All Implemented Interfaces:
ContainsPredicateBuilder<T,
,LocalDate> EmptyPredicateBuilder<T>
public class DateCollectionPredicateBuilder<T>
extends CollectionPredicateBuilder<T>
implements ContainsPredicateBuilder<T,LocalDate>, EmptyPredicateBuilder<T>
-
Constructor Summary
ConstructorDescriptionDateCollectionPredicateBuilder
(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, LocalDate value) create a predicate with the supplied operator and valueMethods inherited from class com.commercetools.api.predicates.query.CollectionPredicateBuilder
combinationFn, predicate
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.predicates.query.ContainsPredicateBuilder
containsAll, containsAllVar, containsAny, containsAnyVar
Methods inherited from interface com.commercetools.api.predicates.query.EmptyPredicateBuilder
combinationFn, isEmpty, predicate
-
Constructor Details
-
DateCollectionPredicateBuilder
public DateCollectionPredicateBuilder(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
-