SimplePredicate Class
The class of simple predicate for filtering attribute by value and filter operator.
Constructor
SimplePredicate
(
-
attributePath
-
operator
-
value
Parameters:
-
attributePath
StringThe path to the attribute for filtering.
-
operator
Query.FilterOperator | StringThe filter operator.
-
value
String | NumberThe value for filtering.
Item Index
Methods
Properties
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