Class ExprNodeViewResourceVisitor
java.lang.Object
com.espertech.esper.common.internal.epl.expression.visitor.ExprNodeViewResourceVisitor
- All Implemented Interfaces:
ExprNodeVisitor
Visitor that collects expression nodes that require view resources.
-
Constructor Details
-
ExprNodeViewResourceVisitor
public ExprNodeViewResourceVisitor()Ctor.
-
-
Method Details
-
isVisit
Description copied from interface:ExprNodeVisitor
Allows visitor to indicate whether to visit a given node. Implicitly if a visitor doesn't visit a node it would also not visit any descendent child nodes of that node.- Specified by:
isVisit
in interfaceExprNodeVisitor
- Parameters:
exprNode
- is the node in questions- Returns:
- true if the visitor wants to visit the child node (next call is visit), or false to skip child
-
getExprNodes
Returns the list of expression nodes requiring view resources.- Returns:
- expr nodes such as 'prior' or 'prev'
-
visit
Description copied from interface:ExprNodeVisitor
Visit the given expression node.- Specified by:
visit
in interfaceExprNodeVisitor
- Parameters:
exprNode
- is the expression node to visit
-