Interface CQLNodeVisitor
- All Known Implementing Classes:
CQLDefaultNodeVisitor
public interface CQLNodeVisitor
Allows to visit different types of nodes in the query tree. In most cases
you will want to extend CQLDefaultNodeVisitor and
choose only the methods you need to override.
CQLBooleanNode/Start/Op/End methods allow to generate prefix, infix or
postfix notations without needing to keep track of the parse tree.
See the CQLNodeVisitorTest for examples.
- Author:
- jakub
-
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidonPrefixNode(CQLPrefixNode node) voidonRelation(CQLRelation relation) voidonSortNode(CQLSortNode node) voidonTermNode(CQLTermNode node)
-
Method Details
-
onSortNode
-
onPrefixNode
-
onBooleanNodeStart
-
onBooleanNodeOp
-
onBooleanNodeEnd
-
onTermNode
-
onRelation
-