public class ExprNodeSummaryVisitor extends Object implements ExprNodeVisitor
Constructor and Description |
---|
ExprNodeSummaryVisitor() |
Modifier and Type | Method and Description |
---|---|
String |
getMessage()
Returns a message if the expression contains special-instruction expressions.
|
boolean |
isHasAggregation() |
boolean |
isHasPreviousPrior() |
boolean |
isHasProperties() |
boolean |
isHasStreamSelect() |
boolean |
isHasSubselect() |
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
|
boolean |
isVisit(ExprNode exprNode)
Allows visitor to indicate whether to visit a given node.
|
void |
visit(ExprNode exprNode)
Visit the given expression node.
|
public boolean isVisit(ExprNode exprNode)
ExprNodeVisitor
isVisit
in interface ExprNodeVisitor
exprNode
- is the node in questionspublic void visit(ExprNode exprNode)
ExprNodeVisitor
visit
in interface ExprNodeVisitor
exprNode
- is the expression node to visitpublic boolean isPlain()
public boolean isHasProperties()
public boolean isHasAggregation()
public boolean isHasSubselect()
public boolean isHasStreamSelect()
public boolean isHasPreviousPrior()
public String getMessage()