Class TimeCollectionPredicateBuilder<T>
java.lang.Object
com.commercetools.api.predicates.query.CollectionPredicateBuilder<T>
com.commercetools.api.predicates.query.TimeCollectionPredicateBuilder<T>
- All Implemented Interfaces:
ContainsPredicateBuilder<T,
,LocalTime> EmptyPredicateBuilder<T>
public class TimeCollectionPredicateBuilder<T>
extends CollectionPredicateBuilder<T>
implements ContainsPredicateBuilder<T,LocalTime>, EmptyPredicateBuilder<T>
-
Constructor Summary
ConstructorDescriptionTimeCollectionPredicateBuilder
(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, LocalTime 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
-
TimeCollectionPredicateBuilder
public TimeCollectionPredicateBuilder(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
-