public class InOperator extends AbstractOperator implements RelationalOperator
Operator.TYPE
MAX_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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getPrecedence
public String getName()
AbstractOperator
getName
in class AbstractOperator
public Predicate toPredicate(String prop, String val) throws InvalidQueryException
RelationalOperator
toPredicate
in interface RelationalOperator
prop
- left operandval
- right operandInvalidQueryException
- if unable to build the predicate because of invalid operandspublic Operator.TYPE getType()
Operator
Copyright © 2022 Apache Software Foundation. All rights reserved.