Modifier and Type | Method and Description |
---|---|
Predicate |
PredicateCompiler.compile(String exp)
Generate a predicate from a query expression.
|
Predicate |
PredicateCompiler.compile(String exp,
Collection<String> ignoredProperties)
Generate a predicate from a query expression.
|
Predicate |
QueryParser.parse(Token[] tokens)
Generate a Predicate instance from an array of tokens.
|
Token[] |
QueryLexer.tokens(String exp)
Scan the provided query and generate a token stream to be used by the query parser.
|
Token[] |
QueryLexer.tokens(String exp,
Collection<String> ignoreProperties)
Scan the provided query and generate a token stream to be used by the query parser.
|
Modifier and Type | Method and Description |
---|---|
static LogicalExpression |
LogicalExpressionFactory.createLogicalExpression(LogicalOperator op)
Create a logical expression instance.
|
Predicate |
Expression.toPredicate()
Get the predicate representation of the expression.
|
Predicate |
LogicalExpression.toPredicate() |
Predicate |
NotLogicalExpression.toPredicate() |
Predicate |
RelationalExpression.toPredicate() |
Modifier and Type | Method and Description |
---|---|
static RelationalOperator |
RelationalOperatorFactory.createOperator(String operator)
Create a relational operator based on the string representation
of the operator.
|
static LogicalOperator |
LogicalOperatorFactory.createOperator(String operator,
int ctxPrecedence)
Creates a logical operator based on the operator token.
|
Predicate |
IsEmptyOperator.toPredicate(String prop,
String val) |
Predicate |
InOperator.toPredicate(String prop,
String val) |
Predicate |
RelationalOperator.toPredicate(String prop,
String val)
Create a predicate for this relational operator.
|
Predicate |
FilterOperator.toPredicate(String prop,
String val) |
Modifier and Type | Method and Description |
---|---|
void |
HostGroupInfo.setPredicate(String predicateString)
Set the host predicate for the host group.
|
Copyright © 2022 Apache Software Foundation. All rights reserved.