public class AndOperator extends AbstractOperator implements LogicalOperator
Operator.TYPEMAX_OP_PRECEDENCE| Constructor and Description |
|---|
AndOperator(int ctxPrecedence)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getBasePrecedence()
Return the base precedence for this operator.
|
String |
getName()
Get the name of the operator.
|
Operator.TYPE |
getType()
Get the operator type.
|
Predicate |
toPredicate(Predicate left,
Predicate right)
Create a predicate for this logical operator.
|
String |
toString() |
getPrecedenceclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetPrecedencepublic AndOperator(int ctxPrecedence)
ctxPrecedence - precedence value for the current contextpublic Operator.TYPE getType()
Operatorpublic String getName()
AbstractOperatorgetName in class AbstractOperatorpublic int getBasePrecedence()
AbstractOperatorgetBasePrecedence in class AbstractOperatorpublic Predicate toPredicate(Predicate left, Predicate right)
LogicalOperatortoPredicate in interface LogicalOperatorleft - left operandright - right operandpublic String toString()
toString in class AbstractOperatorCopyright © 2022 Apache Software Foundation. All rights reserved.