Class ExprRelationalOpAllAnyNode
java.lang.Object
com.espertech.esper.common.internal.epl.expression.core.ExprNodeBase
com.espertech.esper.common.internal.epl.expression.ops.ExprRelationalOpAllAnyNode
- All Implemented Interfaces:
ExprNode
,ExprNodeRenderable
,ExprValidator
Represents a lesser or greater then (</<=/>/>=) expression in a filter expression tree.
-
Constructor Summary
ConstructorDescriptionExprRelationalOpAllAnyNode
(RelationalOpEnum relationalOpEnum, boolean isAll) Ctor. -
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.Returns the type of relational op used.boolean
isAll()
Returns true for ALL, false for ANY.boolean
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
-
ExprRelationalOpAllAnyNode
Ctor.- Parameters:
relationalOpEnum
- - type of compare, ie. lt, gt, le, geisAll
- - true if all, false for any
-
-
Method Details
-
getExprEvaluator
-
getForge
-
isConstantResult
public boolean isConstantResult() -
isAll
public boolean isAll()Returns true for ALL, false for ANY.- Returns:
- indicator all or any
-
getRelationalOpEnum
Returns the type of relational op used.- Returns:
- enum with relational op type
-
validate
- Throws:
ExprValidationException
-
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
-