public class InOperator extends AbstractOperator implements RelationalOperator
Operator.TYPEMAX_OP_PRECEDENCE| Constructor and Description |
|---|
InOperator() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Get the name of the operator.
|
Operator.TYPE |
getType()
Get the operator type.
|
Predicate |
toPredicate(String prop,
String val)
Create a predicate for this relational operator.
|
getBasePrecedence, getPrecedence, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetPrecedencepublic String getName()
AbstractOperatorgetName in class AbstractOperatorpublic Predicate toPredicate(String prop, String val) throws InvalidQueryException
RelationalOperatortoPredicate in interface RelationalOperatorprop - left operandval - right operandInvalidQueryException - if unable to build the predicate because of invalid operandspublic Operator.TYPE getType()
OperatorCopyright © 2022 Apache Software Foundation. All rights reserved.