ComplexPredicate Class
The class of complex predicate which include multiple predicates unioned with logical condition.
Constructor
ComplexPredicate
(
-
condition
-
predicates
Parameters:
-
condition
Query.ConditionLogical condition for predicates.
-
predicates
Query.BasePredicate multipleList of predicates for combining.
Item Index
Methods
Methods
and
(
Query.ComplexPredicate
public
-
predicates
Combines specified predicates using and
logic condition.
Parameters:
-
predicates
Query.BasePredicate multipleList of predicates for combining.
Returns:
Query.ComplexPredicate:
Combined complex predicate with and
logic.
createPredicate
(
BasePredicate
-
args
Creates predicate by various parameters.
Parameters:
-
args
ObjectArguments for the predicate.
Returns:
or
(
Query.ComplexPredicate
public
-
predicates
Combines specified predicates using or
logic condition.
Parameters:
-
predicates
Query.BasePredicate multipleList of predicates for combining.
Returns:
Query.ComplexPredicate:
Combined complex predicate with or
logic.
stringToPredicate
(
BasePredicate
-
stringPredicate
Convert string to predicate.
Parameters:
-
stringPredicate
Object