|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.metamatrix.query.optimizer.relational.plantree.PlanNode
public class PlanNode
Constructor Summary | |
---|---|
PlanNode()
|
Method Summary | |
---|---|
void |
addAsParent(PlanNode node)
Add the node as this node's parent. |
void |
addChildren(java.util.Collection<PlanNode> otherChildren)
|
void |
addFirstChild(PlanNode child)
|
void |
addGroup(GroupSymbol groupID)
|
void |
addGroups(java.util.Collection<GroupSymbol> newGroups)
|
void |
addLastChild(PlanNode child)
|
int |
getChildCount()
|
java.util.List<PlanNode> |
getChildren()
|
java.util.Set<ElementSymbol> |
getCorrelatedReferenceElements()
|
java.util.List<SymbolMap> |
getCorrelatedReferences()
|
PlanNode |
getFirstChild()
|
java.util.Set<GroupSymbol> |
getGroups()
|
PlanNode |
getLastChild()
|
PlanNode |
getParent()
|
java.lang.Object |
getProperty(NodeConstants.Info propertyID)
|
java.util.List<SubqueryContainer> |
getSubqueryContainers()
|
int |
getType()
|
boolean |
hasBooleanProperty(NodeConstants.Info propertyKey)
|
boolean |
hasCollectionProperty(NodeConstants.Info propertyID)
Indicates if there is a non-null and non-empty Collection value for the property key or not |
boolean |
hasProperty(NodeConstants.Info propertyID)
Indicates if there is a non-null value for the property key or not |
java.lang.String |
nodeToString()
Just print single node to string instead of node+recursive plan. |
java.util.List<PlanNode> |
removeAllChildren()
|
boolean |
removeChild(PlanNode child)
|
PlanNode |
removeFromParent()
|
java.lang.Object |
removeProperty(java.lang.Object propertyID)
|
void |
replaceChild(PlanNode child,
PlanNode replacement)
|
void |
setProperty(NodeConstants.Info propertyID,
java.lang.Object value)
|
void |
setType(int type)
|
java.lang.String |
toString()
Print plantree structure starting at this node |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PlanNode()
Method Detail |
---|
public int getType()
public void setType(int type)
public PlanNode getParent()
public java.util.List<PlanNode> getChildren()
public java.util.List<PlanNode> removeAllChildren()
public int getChildCount()
public PlanNode getFirstChild()
public PlanNode getLastChild()
public void addFirstChild(PlanNode child)
public void addLastChild(PlanNode child)
public void addChildren(java.util.Collection<PlanNode> otherChildren)
public PlanNode removeFromParent()
public boolean removeChild(PlanNode child)
public java.lang.Object getProperty(NodeConstants.Info propertyID)
public void setProperty(NodeConstants.Info propertyID, java.lang.Object value)
public java.lang.Object removeProperty(java.lang.Object propertyID)
public boolean hasProperty(NodeConstants.Info propertyID)
propertyID
- one of the properties from NodeConstants
public boolean hasCollectionProperty(NodeConstants.Info propertyID)
propertyID
- one of the properties from NodeConstants
which is
known to be a Collection object of some sort
public void addGroup(GroupSymbol groupID)
public void addGroups(java.util.Collection<GroupSymbol> newGroups)
public java.util.Set<GroupSymbol> getGroups()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String nodeToString()
public boolean hasBooleanProperty(NodeConstants.Info propertyKey)
public void replaceChild(PlanNode child, PlanNode replacement)
public void addAsParent(PlanNode node)
node
- public java.util.List<SymbolMap> getCorrelatedReferences()
public java.util.Set<ElementSymbol> getCorrelatedReferenceElements()
public java.util.List<SubqueryContainer> getSubqueryContainers()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |