Class DateTimeCollectionPredicateBuilder<T>
java.lang.Object
com.commercetools.api.predicates.query.CollectionPredicateBuilder<T>
com.commercetools.api.predicates.query.DateTimeCollectionPredicateBuilder<T>
- All Implemented Interfaces:
ContainsPredicateBuilder<T,
,ZonedDateTime> EmptyPredicateBuilder<T>
public class DateTimeCollectionPredicateBuilder<T>
extends CollectionPredicateBuilder<T>
implements ContainsPredicateBuilder<T,ZonedDateTime>, EmptyPredicateBuilder<T>
-
Constructor Summary
ConstructorDescriptionDateTimeCollectionPredicateBuilder
(BinaryQueryPredicate predicate, Function<QueryPredicate, CombinationQueryPredicate<T>> combinationFn) -
Method Summary
Modifier and TypeMethodDescriptionformat
(ZonedDateTime value) format
(ZonedDateTime value) default CombinationQueryPredicate<T>
is
(PredicateOperator operator, VariableQueryPredicate value) create a predicate with the supplied operator and variable name predicatedefault CombinationQueryPredicate<T>
is
(PredicateOperator operator, ZonedDateTime 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
-
DateTimeCollectionPredicateBuilder
public DateTimeCollectionPredicateBuilder(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
-