Uses of Class
com.github.mhewedy.expressions.Expression
-
-
Uses of Expression in com.github.mhewedy.expressions
Methods in com.github.mhewedy.expressions that return Expression Modifier and Type Method Description Expression
Expression. and(Expression expression)
apply "and" on current expression with the parameter expression.static Expression
Expression. and(Expression... expressions)
factory method used to create new expression that "and" all input expressions.static Expression
Expression. of(String field, Operator operator, Number value)
static Expression
Expression. of(String field, Operator operator, Number... values)
Used with operators require list of elements, such asOperator.$in
andOperator.$nin
static Expression
Expression. of(String field, Operator operator, String value)
static Expression
Expression. of(String field, Operator operator, String... values)
Used with operators require list of elements, such asOperator.$in
andOperator.$nin
static Expression
Expression. of(String field, Operator operator, java.time.temporal.Temporal value)
static Expression
Expression. of(String field, Operator operator, java.time.temporal.Temporal... values)
Used with operators require list of elements, such asOperator.$in
andOperator.$nin
Expression
Expression. or(Expression expression)
apply "or" on current expression with the parameter expression.static Expression
Expression. or(Expression... expressions)
factory method used to create new expression that "or" all input expressions.Methods in com.github.mhewedy.expressions with parameters of type Expression Modifier and Type Method Description Expression
Expression. and(Expression expression)
apply "and" on current expression with the parameter expression.static Expression
Expression. and(Expression... expressions)
factory method used to create new expression that "and" all input expressions.Expressions
Expressions. and(Expression expression)
Add the parameter expression to the list of expression in the expressions object.Expression
Expression. or(Expression expression)
apply "or" on current expression with the parameter expression.static Expression
Expression. or(Expression... expressions)
factory method used to create new expression that "or" all input expressions.Expressions
Expressions. or(Expression expression)
Create a new $or expression on the root, then adds to it the current expressions attached at the root and the expression passes as parameter.
-