|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.metamatrix.jdbc.api.PlanVisitor
com.metamatrix.jdbc.api.TextOutputVisitor
public class TextOutputVisitor
This visitor class can be used to output a formatted text representation of the plan.
| Constructor Summary | |
|---|---|
TextOutputVisitor(DisplayHelper displayHelper,
int initialTabs)
Construct the visitor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getText()
Return string representation of the plan |
protected void |
visitContainerProperty(PlanNode node,
java.lang.String propertyName,
java.util.Collection propertyValue)
Visit a container property - the container property will be visited, then each particular value of the container will be visited. |
protected void |
visitNode(PlanNode node)
Visit a node. |
protected void |
visitPropertyValue(PlanNode node,
java.lang.String propertyName,
java.lang.Object propertyValue)
Visit a property value. |
| Methods inherited from class com.metamatrix.jdbc.api.PlanVisitor |
|---|
visit |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TextOutputVisitor(DisplayHelper displayHelper,
int initialTabs)
displayHelper - Helper to help format the displayinitialTabs - Number of tabs to put before every line| Method Detail |
|---|
public java.lang.String getText()
protected void visitNode(PlanNode node)
PlanVisitor
visitNode in class PlanVisitornode - The node being visited
protected void visitPropertyValue(PlanNode node,
java.lang.String propertyName,
java.lang.Object propertyValue)
PlanVisitor
visitPropertyValue in class PlanVisitornode - The node being visitedpropertyName - The property name being visitedpropertyValue - The property value being visited
protected void visitContainerProperty(PlanNode node,
java.lang.String propertyName,
java.util.Collection propertyValue)
PlanVisitor
visitContainerProperty in class PlanVisitornode - The node being visitedpropertyName - The property name being visitedpropertyValue - The collection value being visited
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||