Class ExprNodeSummaryVisitor
java.lang.Object
com.espertech.esper.common.internal.epl.expression.visitor.ExprNodeSummaryVisitor
- All Implemented Interfaces:
ExprNodeVisitor
Visitor for compiling usage informaton of special expressions within an expression tree.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns a message if the expression contains special-instruction expressions.boolean
boolean
boolean
boolean
boolean
boolean
isPlain()
Returns true if the expression is a plain-value expression, without any of the following: properties, aggregation, subselect, stream select, previous or priorboolean
Allows visitor to indicate whether to visit a given node.void
Visit the given expression node.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.visitor.ExprNodeVisitor
isWalkDeclExprParam
-
Constructor Details
-
ExprNodeSummaryVisitor
public ExprNodeSummaryVisitor()
-
-
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
-
visit
Description copied from interface:ExprNodeVisitor
Visit the given expression node.- Specified by:
visit
in interfaceExprNodeVisitor
- Parameters:
exprNode
- is the expression node to visit
-
isPlain
public boolean isPlain()Returns true if the expression is a plain-value expression, without any of the following: properties, aggregation, subselect, stream select, previous or prior- Returns:
- true for plain
-
isHasProperties
public boolean isHasProperties() -
isHasAggregation
public boolean isHasAggregation() -
isHasSubselect
public boolean isHasSubselect() -
isHasStreamSelect
public boolean isHasStreamSelect() -
isHasPreviousPrior
public boolean isHasPreviousPrior() -
getMessage
Returns a message if the expression contains special-instruction expressions.- Returns:
- message
-