Class ExprInNodeImpl
java.lang.Object
com.espertech.esper.common.internal.epl.expression.core.ExprNodeBase
com.espertech.esper.common.internal.epl.expression.ops.ExprInNodeImpl
- All Implemented Interfaces:
ExprNode
,ExprNodeRenderable
,ExprValidator
,ExprInNode
Represents the in-clause (set check) function in an expression tree.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
equalsNode
(ExprNode node, boolean ignoreStreamPrefix) Return true if a expression node semantically equals the current node, or false if not.getForge()
Returns precedence.boolean
boolean
isNotIn()
Returns true for not-in, false for regular invoid
toPrecedenceFreeEPL
(StringWriter writer, ExprNodeRenderableFlags flags) validate
(ExprValidationContext validationContext) void
Methods inherited from class com.espertech.esper.common.internal.epl.expression.core.ExprNodeBase
accept, accept, acceptChildnodes, addChildNode, addChildNodes, addChildNodeToFront, checkValidated, checkValidatedException, getChildNodes, replaceUnlistedChildNode, setChildNode, setChildNodes, toEPL
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.espertech.esper.common.internal.epl.expression.core.ExprNode
accept, accept, acceptChildnodes, addChildNode, addChildNodes, getChildNodes, replaceUnlistedChildNode, setChildNode, setChildNodes
Methods inherited from interface com.espertech.esper.common.internal.epl.expression.core.ExprNodeRenderable
toEPL
-
Constructor Details
-
ExprInNodeImpl
public ExprInNodeImpl(boolean isNotIn) Ctor.- Parameters:
isNotIn
- is true for "not in" and false for "in"
-
-
Method Details
-
getExprEvaluator
-
getForge
-
isNotIn
public boolean isNotIn()Returns true for not-in, false for regular in- Specified by:
isNotIn
in interfaceExprInNode
- Returns:
- false for "val in (a,b,c)" or true for "val not in (a,b,c)"
-
validate
- Specified by:
validate
in interfaceExprValidator
- Throws:
ExprValidationException
-
validateWithoutContext
- Specified by:
validateWithoutContext
in interfaceExprInNode
- Throws:
ExprValidationException
-
isConstantResult
public boolean isConstantResult() -
equalsNode
Description copied from interface:ExprNode
Return true if a expression node semantically equals the current node, or false if not.Concrete implementations should compare the type and any additional information that impact the evaluation of a node.
- Specified by:
equalsNode
in interfaceExprNode
- Parameters:
node
- to compare toignoreStreamPrefix
- when the equals-comparison can ignore prefix of event properties- Returns:
- true if semantically equal, or false if not equals
-
toPrecedenceFreeEPL
- Specified by:
toPrecedenceFreeEPL
in classExprNodeBase
-
getPrecedence
Description copied from interface:ExprNode
Returns precedence.- Specified by:
getPrecedence
in interfaceExprNode
- Returns:
- precedence
-