Class SQLGenerationVisitor
java.lang.Object
org.apache.cayenne.access.sqlbuilder.SQLGenerationVisitor
- All Implemented Interfaces:
NodeTreeVisitor
- Since:
- 4.2
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onChildNodeEnd
(Node parent, Node child, int index, boolean hasMore) boolean
onChildNodeStart
(Node parent, Node child, int index, boolean hasMore) void
boolean
onNodeStart
(Node node)
-
Constructor Details
-
SQLGenerationVisitor
-
-
Method Details
-
onNodeStart
- Specified by:
onNodeStart
in interfaceNodeTreeVisitor
- Parameters:
node
- to visit- Returns:
- false if visitor should stop
-
onChildNodeStart
- Specified by:
onChildNodeStart
in interfaceNodeTreeVisitor
- Parameters:
parent
- nodechild
- nodeindex
- of this child in parenthasMore
- true if more children after this child- Returns:
- false if visitor should stop
-
onChildNodeEnd
- Specified by:
onChildNodeEnd
in interfaceNodeTreeVisitor
-
onNodeEnd
- Specified by:
onNodeEnd
in interfaceNodeTreeVisitor
-
getSQLString
-