| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.metamatrix.jdbc.api.tools.QueryPlanDisplayHelper
public class QueryPlanDisplayHelper
| Constructor Summary | |
|---|---|
| QueryPlanDisplayHelper()Default constructor | |
| 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)This methods returns a List of sorted property names. | 
|  java.util.Map | getOrderedPropertiesMap(PlanNode node) | 
|  java.lang.String | getProperty(java.lang.String property) | 
|  java.lang.String | getPropertyName(java.lang.String property)Get display name for a particular property name. | 
|  java.lang.String | getType(PlanNode node) | 
|  void | setMaxDescriptionLength(int maxLength)A max description length so that the description can be truncated when necessary. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public QueryPlanDisplayHelper()
| Method Detail | 
|---|
public java.lang.String getName(PlanNode node)
DisplayHelper
getName in interface DisplayHelpernode - The node
public java.lang.String getDescription(PlanNode node)
DisplayHelper
getDescription in interface DisplayHelpernode - The node
public java.lang.String getType(PlanNode node)
public java.util.Map getOrderedPropertiesMap(PlanNode node)
public java.util.List getOrderedProperties(PlanNode node)
getOrderedProperties in interface DisplayHelpernode - The node
public void setMaxDescriptionLength(int maxLength)
DisplayHelper
setMaxDescriptionLength in interface DisplayHelpermaxLength - Max string lengthpublic java.lang.String getProperty(java.lang.String property)
public java.lang.String getPropertyName(java.lang.String property)
DisplayHelper
getPropertyName in interface DisplayHelperproperty - The property name, as used in the node's properties
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||