public class NestedExpression extends Expression
Modifier and Type | Field and Description |
---|---|
static int |
AND
Constant to specify that all the expressions specified must evaluate to true for
an item to be included in the search results.
|
static int |
OR
Constant to specify that at least one of the expressions specified must evaluate to true
for an item to be included in the search results.
|
negate
Constructor and Description |
---|
NestedExpression() |
NestedExpression(Expression[] expressions,
int operator)
Create a NestedExpression that consists of multiple expressions.
|
Modifier and Type | Method and Description |
---|---|
Expression |
getExpression(int index) |
int |
getExpressionCount()
Get the number of expressions in this query.
|
int |
getExpressionOperator() |
boolean |
isNested() |
void |
setExpressionOperator(int expressionOperator) |
void |
setExpressions(Expression[] expressions) |
isNegate
public static final int AND
public static final int OR
public NestedExpression()
public NestedExpression(Expression[] expressions, int operator)
public Expression getExpression(int index)
public int getExpressionCount()
public void setExpressionOperator(int expressionOperator)
public int getExpressionOperator()
public void setExpressions(Expression[] expressions)
public boolean isNested()
isNested
in class Expression
Copyright © 2021 catworkx GmbH. All rights reserved.