Class ExprEqualsAllAnyNode
java.lang.Object
com.espertech.esper.common.internal.epl.expression.core.ExprNodeBase
com.espertech.esper.common.internal.epl.expression.ops.ExprEqualsAllAnyNode
- All Implemented Interfaces:
ExprNode
,ExprNodeRenderable
,ExprValidator
Represents an equals-for-group (= ANY/ALL/SOME (expression list)) comparator in a 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
isAll()
True if all.boolean
boolean
isNot()
Returns true if this is a NOT EQUALS node, false if this is a EQUALS node.void
toPrecedenceFreeEPL
(StringWriter writer, ExprNodeRenderableFlags flags) validate
(ExprValidationContext validationContext) 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
-
Constructor Details
-
ExprEqualsAllAnyNode
public ExprEqualsAllAnyNode(boolean isNotEquals, boolean isAll) Ctor.- Parameters:
isNotEquals
- - true if this is a (!=) not equals rather then equals, false if its a '=' equalsisAll
- - true if all, false for any
-
-
Method Details
-
getExprEvaluator
-
getForge
-
isNot
public boolean isNot()Returns true if this is a NOT EQUALS node, false if this is a EQUALS node.- Returns:
- true for !=, false for =
-
isAll
public boolean isAll()True if all.- Returns:
- all-flag
-
validate
- Throws:
ExprValidationException
-
isConstantResult
public boolean isConstantResult() -
toPrecedenceFreeEPL
- Specified by:
toPrecedenceFreeEPL
in classExprNodeBase
-
getPrecedence
Description copied from interface:ExprNode
Returns precedence.- Returns:
- precedence
-
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.
- 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
-