Class ExprNodeBase
java.lang.Object
com.espertech.esper.common.internal.epl.expression.core.ExprNodeBase
- All Implemented Interfaces:
ExprNode
,ExprNodeRenderable
,ExprValidator
- Direct Known Subclasses:
ExprAggregateNodeBase
,ExprAggregateNodeGroupKey
,ExprAndNodeImpl
,ExprAppDotMethodImpl
,ExprArrayNode
,ExprBetweenNodeImpl
,ExprBitWiseNode
,ExprCaseNode
,ExprCastNode
,ExprCoalesceNode
,ExprConcatNode
,ExprConstantNodeImpl
,ExprContextPropertyNodeImpl
,ExprCurrentEvaluationContextNode
,ExprDeclaredNodeImpl
,ExprDotNodeAggregationMethodRootNode
,ExprDotNodeImpl
,ExprEqualsAllAnyNode
,ExprEqualsNodeImpl
,ExprEvalSystemProperty
,ExprEventIdentityEqualsNode
,ExprFilterReboolValueNode
,ExprGroupingIdNode
,ExprGroupingNode
,ExprIdentNodeImpl
,ExprInNodeImpl
,ExprInstanceofNode
,ExprIStreamNode
,ExprLambdaGoesNode
,ExprLikeNode
,ExprMathNode
,ExprMinMaxRowNode
,ExprNamedParameterNodeImpl
,ExprNewInstanceNode
,ExprNewStructNode
,ExprNodeScript
,ExprNodeValidated
,ExprNotNode
,ExprNumberSetCronParam
,ExprNumberSetFrequency
,ExprNumberSetList
,ExprNumberSetRange
,ExprOrderedExpr
,ExprOrNode
,ExprPlugInSingleRowNode
,ExprPreviousMatchRecognizeNode
,ExprPreviousNode
,ExprPriorNode
,ExprPropertyExistsNode
,ExprRegexpNode
,ExprRelationalOpAllAnyNode
,ExprRelationalOpNodeImpl
,ExprStreamUnderlyingNodeImpl
,ExprSubselectNode
,ExprSubstitutionNode
,ExprTableAccessNode
,ExprTableIdentNode
,ExprTableResetRowAggNode
,ExprTimePeriodImpl
,ExprTimestampNode
,ExprTypedNoEvalNode
,ExprTypeofNode
,ExprVariableNodeImpl
,ExprWildcardImpl
Superclass for filter nodes in a filter expression tree. Allow
validation against stream event types and evaluation of events against filter tree.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(ExprNodeVisitor visitor) Accept the visitor.void
accept
(ExprNodeVisitorWithParent visitor) Accept the visitor.void
acceptChildnodes
(ExprNodeVisitorWithParent visitor, ExprNode parent) Accept a visitor that receives both parent and child node.final void
addChildNode
(ExprNode childNode) Adds a child node.final void
addChildNodes
(Collection<ExprNode> childNodeColl) Adds child nodes.void
addChildNodeToFront
(ExprNode childNode) protected static void
checkValidated
(ExprForge forge) protected static IllegalStateException
final ExprNode[]
Returns list of child nodes.void
replaceUnlistedChildNode
(ExprNode nodeToReplace, ExprNode newNode) void
setChildNode
(int index, ExprNode newNode) void
setChildNodes
(ExprNode... nodes) void
toEPL
(StringWriter writer, ExprPrecedenceEnum parentPrecedence, ExprNodeRenderableFlags flags) abstract void
toPrecedenceFreeEPL
(StringWriter writer, ExprNodeRenderableFlags flags) 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
equalsNode, getForge, getPrecedence
Methods inherited from interface com.espertech.esper.common.internal.epl.expression.core.ExprValidator
validate
-
Constructor Details
-
ExprNodeBase
public ExprNodeBase()Constructor creates a list of child nodes.
-
-
Method Details
-
toPrecedenceFreeEPL
-
accept
Description copied from interface:ExprNode
Accept the visitor. The visitor will first visit the parent then visit all child nodes, then their child nodes.The visitor can decide to skip child nodes by returning false in isVisit.
-
accept
Description copied from interface:ExprNode
Accept the visitor. The visitor will first visit the parent then visit all child nodes, then their child nodes.The visitor can decide to skip child nodes by returning false in isVisit.
-
acceptChildnodes
Description copied from interface:ExprNode
Accept a visitor that receives both parent and child node.- Specified by:
acceptChildnodes
in interfaceExprNode
- Parameters:
visitor
- to applyparent
- node
-
addChildNode
Description copied from interface:ExprNode
Adds a child node.- Specified by:
addChildNode
in interfaceExprNode
- Parameters:
childNode
- is the child evaluation tree node to add
-
addChildNodes
Description copied from interface:ExprNode
Adds child nodes.- Specified by:
addChildNodes
in interfaceExprNode
- Parameters:
childNodeColl
- are the child evaluation tree node to add
-
getChildNodes
Description copied from interface:ExprNode
Returns list of child nodes.- Specified by:
getChildNodes
in interfaceExprNode
- Returns:
- list of child nodes
-
replaceUnlistedChildNode
- Specified by:
replaceUnlistedChildNode
in interfaceExprNode
-
addChildNodeToFront
-
setChildNodes
- Specified by:
setChildNodes
in interfaceExprNode
-
setChildNode
- Specified by:
setChildNode
in interfaceExprNode
-
toEPL
public void toEPL(StringWriter writer, ExprPrecedenceEnum parentPrecedence, ExprNodeRenderableFlags flags) - Specified by:
toEPL
in interfaceExprNodeRenderable
-
checkValidated
-
checkValidatedException
-