com.metamatrix.jdbc.api
Interface PlanNode


public interface PlanNode

Represents one node in a query plan tree. Every node has a list of child nodes and a Map of property name to property value. Property names are always strings and property values should always be Java primitive types such as String, Integer, Boolean, and Lists of those types. In some cases, a property value may itself also be a PlanNode.


Method Summary
 java.util.List getChildren()
          Get the children of this component, which are always of type PlanNode.
 PlanNode getParent()
          Get the parent node for this node.
 java.util.Map getProperties()
          Get the properties for this component.
 

Method Detail

getParent

PlanNode getParent()
Get the parent node for this node.

Returns:
Parent node or null if this node is the root

getChildren

java.util.List getChildren()
Get the children of this component, which are always of type PlanNode.

Returns:
List of PlanNode

getProperties

java.util.Map getProperties()
Get the properties for this component. Property names are always String. Property values are typically String, Integer, Boolean, a List of one of those primitive types, or another PlanNode in rare cases.



Copyright © 2009. All Rights Reserved.