public class NotOperator extends AbstractOperator implements LogicalOperator
Operator.TYPEMAX_OP_PRECEDENCE| Constructor and Description |
|---|
NotOperator(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 NotOperator(int ctxPrecedence)
ctxPrecedence - the precedence value of 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.