public class LogicalOperatorFactory extends Object
| Constructor and Description |
|---|
LogicalOperatorFactory() |
| Modifier and Type | Method and Description |
|---|---|
static LogicalOperator |
createOperator(String operator,
int ctxPrecedence)
Creates a logical operator based on the operator token.
|
public static LogicalOperator createOperator(String operator, int ctxPrecedence) throws InvalidQueryException
operator - string representation of operatorctxPrecedence - precedence value of current contextInvalidQueryException - if the operator string is invalidCopyright © 2022 Apache Software Foundation. All rights reserved.