|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DisplayHelper
This interface is used to plug in display-specific information for the
TextOutputVisitor.
| Method Summary | |
|---|---|
java.lang.String |
getDescription(PlanNode node)
Get the description to use for this plan node, which is usually displayed after the name as a short description. |
java.lang.String |
getName(PlanNode node)
Get the name to use for this plan node. |
java.util.List |
getOrderedProperties(PlanNode node)
Determine the proper order to display the properties of the node. |
java.lang.String |
getPropertyName(java.lang.String property)
Get display name for a particular property name. |
void |
setMaxDescriptionLength(int length)
A max description length so that the description can be truncated when necessary. |
| Method Detail |
|---|
java.lang.String getName(PlanNode node)
node - The node
java.lang.String getDescription(PlanNode node)
node - The node
java.util.List getOrderedProperties(PlanNode node)
node - The node
java.lang.String getPropertyName(java.lang.String property)
property - The property name, as used in the node's properties
void setMaxDescriptionLength(int length)
length - Max string length
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||