com.espertech.esper.epl.expression
Class ExprNodeSubselectDeclaredDotVisitor

java.lang.Object
  extended by com.espertech.esper.epl.expression.ExprNodeSubselectDeclaredDotVisitor
All Implemented Interfaces:
ExprNodeVisitorWithParent

public class ExprNodeSubselectDeclaredDotVisitor
extends java.lang.Object
implements ExprNodeVisitorWithParent

Visitor that collects ExprSubselectNode instances.


Constructor Summary
ExprNodeSubselectDeclaredDotVisitor()
          Ctor.
 
Method Summary
 java.util.List<ExprDotNode> getChainedExpressionsDot()
           
 java.util.List<ExprDeclaredNode> getDeclaredExpressions()
           
 java.util.List<ExprSubselectNode> getSubselects()
          Returns a list of lookup expression nodes.
 boolean isVisit(ExprNode exprNode)
          Allows visitor to indicate whether to visit a given node.
 void reset()
           
 void visit(ExprNode exprNode, ExprNode parentExprNode)
          Visit the given expression node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExprNodeSubselectDeclaredDotVisitor

public ExprNodeSubselectDeclaredDotVisitor()
Ctor.

Method Detail

reset

public void reset()

getSubselects

public java.util.List<ExprSubselectNode> getSubselects()
Returns a list of lookup expression nodes.

Returns:
lookup nodes

getChainedExpressionsDot

public java.util.List<ExprDotNode> getChainedExpressionsDot()

getDeclaredExpressions

public java.util.List<ExprDeclaredNode> getDeclaredExpressions()

isVisit

public boolean isVisit(ExprNode exprNode)
Description copied from interface: ExprNodeVisitorWithParent
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 interface ExprNodeVisitorWithParent
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

visit

public void visit(ExprNode exprNode,
                  ExprNode parentExprNode)
Description copied from interface: ExprNodeVisitorWithParent
Visit the given expression node.

Specified by:
visit in interface ExprNodeVisitorWithParent
Parameters:
exprNode - is the expression node to visit
parentExprNode - parent to visit

© 2006-2011 EsperTech Inc.
All rights reserved.
Visit us at espertech.com