Class DateTimeComparisonPredicateBuilder<T>
java.lang.Object
com.commercetools.api.predicates.query.DateTimeComparisonPredicateBuilder<T>
- All Implemented Interfaces:
ComparisonPredicateBuilder<T,
,ZonedDateTime> EqualityPredicateBuilder<T,
,ZonedDateTime> InequalityPredicateBuilder<T,
,ZonedDateTime> IsDefinedPredicateBuilder<T,
,ZonedDateTime> IsInPredicateBuilder<T,
,ZonedDateTime> NotEqualPredicateBuilder<T,
ZonedDateTime>
public class DateTimeComparisonPredicateBuilder<T>
extends Object
implements ComparisonPredicateBuilder<T,ZonedDateTime>, IsInPredicateBuilder<T,ZonedDateTime>
-
Constructor Summary
ConstructorDescriptionDateTimeComparisonPredicateBuilder
(BinaryQueryPredicate predicate, Function<QueryPredicate, CombinationQueryPredicate<T>> combinationFn) -
Method Summary
Modifier and TypeMethodDescriptionformat
(ZonedDateTime value) format
(ZonedDateTime arg0) 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 valueisNot
(ZonedDateTime value) 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.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.IsInPredicateBuilder
isIn, isInVar
Methods inherited from interface com.commercetools.api.predicates.query.NotEqualPredicateBuilder
isNotVar
-
Constructor Details
-
DateTimeComparisonPredicateBuilder
public DateTimeComparisonPredicateBuilder(BinaryQueryPredicate predicate, Function<QueryPredicate, CombinationQueryPredicate<T>> combinationFn)
-
-
Method Details
-
isNot
- Specified by:
isNot
in interfaceNotEqualPredicateBuilder<T,
ZonedDateTime>
-
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
-