High level description of a plan for consideration by the Optimizer. This is used to specify a complete plan via optimizer overrides. A plan is a tree whose interior nodes are join operators and whose leaves are row sources (conglomerates or tableFunctions).
| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class | OptimizerPlan.
Generic plan for row sources we don't understand |
| public static class | |
| public abstract static class | |
| public static class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract void | bind(DataDictionary
DataDictionary to bind against. dataDictionary, LanguageConnectionContext lcc, CompilerContext cc)Bind the conglomerate and table function names in this plan. |
| public abstract int | |
| public abstract boolean | |
| public abstract boolean | isLeftPrefixOf(OptimizerPlan that)
Return true if this plan is a (left) leading prefix of the other plan. |
| public abstract OptimizerPlan | |
| public static OptimizerPlan. | makeRowSource(UniqueTupleDescriptor utd, DataDictionary dd)
Make a RowSource corresponding to the given tuple descriptor. |
| OptimizerPlan | back to summary |
|---|---|
| public OptimizerPlan() | |
| bind | back to summary |
|---|---|
| public abstract void bind(DataDictionary dataDictionary, LanguageConnectionContext lcc, CompilerContext cc) throws StandardException Bind the conglomerate and table function names in this plan.
| |
| countLeafNodes | back to summary |
|---|---|
| public abstract int countLeafNodes() Count the number of leaf nodes under (and including) this node. | |
| isBound | back to summary |
|---|---|
| public abstract boolean isBound() Return true if this the schema and RowSource names have been resolved. | |
| isLeftPrefixOf | back to summary |
|---|---|
| public abstract boolean isLeftPrefixOf(OptimizerPlan that) Return true if this plan is a (left) leading prefix of the other plan. | |
| leftmostLeaf | back to summary |
|---|---|
| public abstract OptimizerPlan leftmostLeaf() Get the leftmost leaf node in this plan. | |
| makeRowSource | back to summary |
|---|---|
| public static OptimizerPlan. Make a RowSource corresponding to the given tuple descriptor. | |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | bind(DataDictionary
DataDictionary to bind against. dataDictionary, LanguageConnectionContext lcc, CompilerContext cc)Overrides org. Bind the conglomerate and table function names in this plan. |
| ConglomerateRS | back to summary |
|---|---|
| public ConglomerateRS(String schemaName, String rowSourceName) | |
| ConglomerateRS | back to summary |
|---|---|
| public ConglomerateRS(ConglomerateDescriptor cd, DataDictionary dataDictionary) throws StandardException | |
| bind | back to summary |
|---|---|
| public void bind(DataDictionary dataDictionary, LanguageConnectionContext lcc, CompilerContext cc) throws StandardException Overrides org. Doc from org. Bind the conglomerate and table function names in this plan.
| |
| Modifier and Type | Method and Description |
|---|---|
| public void | bind(DataDictionary
DataDictionary to bind against. dataDictionary, LanguageConnectionContext lcc, CompilerContext cc)Implements abstract org. Bind the conglomerate and table function names in this plan. |
| public int | countLeafNodes()
Implements abstract org. Count the number of leaf nodes under (and including) this node. |
| public boolean | isBound()
Implements abstract org. Return true if this the schema and RowSource names have been resolved. |
| public boolean | isLeftPrefixOf(OptimizerPlan that)
Implements abstract org. Return true if this plan is a (left) leading prefix of the other plan. |
| public OptimizerPlan | leftmostLeaf()
Implements abstract org. Get the leftmost leaf node in this plan. |
| public String |
| _name | back to summary |
|---|---|
| private String _name | |
| DeadEnd | back to summary |
|---|---|
| public DeadEnd(String name) | |
| bind | back to summary |
|---|---|
| public void bind(DataDictionary dataDictionary, LanguageConnectionContext lcc, CompilerContext cc) throws StandardException Implements abstract org. Doc from org. Bind the conglomerate and table function names in this plan.
| |
| countLeafNodes | back to summary |
|---|---|
| public int countLeafNodes() Implements abstract org. Doc from org. Count the number of leaf nodes under (and including) this node. | |
| isBound | back to summary |
|---|---|
| public boolean isBound() Implements abstract org. Doc from org. Return true if this the schema and RowSource names have been resolved. | |
| isLeftPrefixOf | back to summary |
|---|---|
| public boolean isLeftPrefixOf(OptimizerPlan that) Implements abstract org. Doc from org. Return true if this plan is a (left) leading prefix of the other plan. | |
| leftmostLeaf | back to summary |
|---|---|
| public OptimizerPlan leftmostLeaf() Implements abstract org. Doc from org. Get the leftmost leaf node in this plan. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private int | |
| pack-priv final OptimizerPlan | |
| pack-priv final OptimizerPlan | |
| pack-priv final JoinStrategy |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | bind(DataDictionary
DataDictionary to bind against. dataDictionary, LanguageConnectionContext lcc, CompilerContext cc)Implements abstract org. Bind the conglomerate and table function names in this plan. |
| public int | countLeafNodes()
Implements abstract org. Count the number of leaf nodes under (and including) this node. |
| public boolean | equals(Object
the reference object with which to compare. other)Overrides java. Indicates whether some other object is "equal to" this one. |
| public boolean | isBound()
Implements abstract org. Return true if this the schema and RowSource names have been resolved. |
| public boolean | isLeftPrefixOf(OptimizerPlan other)
Implements abstract org. Return true if this plan is a (left) leading prefix of the other plan. |
| public OptimizerPlan | leftmostLeaf()
Implements abstract org. Get the leftmost leaf node in this plan. |
| public String |
| _isBound | back to summary |
|---|---|
| private boolean _isBound | |
| _leafNodeCount | back to summary |
|---|---|
| private int _leafNodeCount | |
| leftChild | back to summary |
|---|---|
| pack-priv final OptimizerPlan leftChild | |
| rightChild | back to summary |
|---|---|
| pack-priv final OptimizerPlan rightChild | |
| strategy | back to summary |
|---|---|
| pack-priv final JoinStrategy strategy | |
| Join | back to summary |
|---|---|
| public Join(JoinStrategy strategy, OptimizerPlan leftChild, OptimizerPlan rightChild) | |
| bind | back to summary |
|---|---|
| public void bind(DataDictionary dataDictionary, LanguageConnectionContext lcc, CompilerContext cc) throws StandardException Implements abstract org. Doc from org. Bind the conglomerate and table function names in this plan.
| |
| countLeafNodes | back to summary |
|---|---|
| public int countLeafNodes() Implements abstract org. Doc from org. Count the number of leaf nodes under (and including) this node. | |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| isBound | back to summary |
|---|---|
| public boolean isBound() Implements abstract org. Doc from org. Return true if this the schema and RowSource names have been resolved. | |
| isLeftPrefixOf | back to summary |
|---|---|
| public boolean isLeftPrefixOf(OptimizerPlan other) Implements abstract org. Doc from org. Return true if this plan is a (left) leading prefix of the other plan. | |
| leftmostLeaf | back to summary |
|---|---|
| public OptimizerPlan leftmostLeaf() Implements abstract org. Doc from org. Get the leftmost leaf node in this plan. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| Modifier and Type | Field and Description |
|---|---|
| protected D | |
| protected String | |
| protected SchemaDescriptor | |
| protected String |
| Access | Constructor and Description |
|---|---|
| public | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public void | bind(DataDictionary
DataDictionary to bind against. dataDictionary, LanguageConnectionContext lcc, CompilerContext cc)Implements abstract org. Bind the conglomerate and table function names in this plan. |
| public int | countLeafNodes()
Implements abstract org. Count the number of leaf nodes under (and including) this node. |
| public boolean | equals(Object
the reference object with which to compare. other)Overrides java. Indicates whether some other object is "equal to" this one. |
| public D | |
| public boolean | isBound()
Implements abstract org. Return true if this the schema and RowSource names have been resolved. |
| public boolean | isLeftPrefixOf(OptimizerPlan that)
Implements abstract org. Return true if this plan is a (left) leading prefix of the other plan. |
| public OptimizerPlan | leftmostLeaf()
Implements abstract org. Get the leftmost leaf node in this plan. |
| public String |
| _descriptor | back to summary |
|---|---|
| protected D _descriptor | |
| _rowSourceName | back to summary |
|---|---|
| protected String _rowSourceName | |
| _schema | back to summary |
|---|---|
| protected SchemaDescriptor _schema | |
| _schemaName | back to summary |
|---|---|
| protected String _schemaName | |
| RowSource | back to summary |
|---|---|
| public RowSource(String schemaName, String rowSourceName) | |
| RowSource | back to summary |
|---|---|
| protected RowSource() | |
| bind | back to summary |
|---|---|
| public void bind(DataDictionary dataDictionary, LanguageConnectionContext lcc, CompilerContext cc) throws StandardException Implements abstract org. Doc from org. Bind the conglomerate and table function names in this plan.
| |
| countLeafNodes | back to summary |
|---|---|
| public int countLeafNodes() Implements abstract org. Doc from org. Count the number of leaf nodes under (and including) this node. | |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getDescriptor | back to summary |
|---|---|
| public D getDescriptor() Get the UniqueTupleDescriptor bound to this RowSource | |
| isBound | back to summary |
|---|---|
| public boolean isBound() Implements abstract org. Doc from org. Return true if this the schema and RowSource names have been resolved. | |
| isLeftPrefixOf | back to summary |
|---|---|
| public boolean isLeftPrefixOf(OptimizerPlan that) Implements abstract org. Doc from org. Return true if this plan is a (left) leading prefix of the other plan. | |
| leftmostLeaf | back to summary |
|---|---|
| public OptimizerPlan leftmostLeaf() Implements abstract org. Doc from org. Get the leftmost leaf node in this plan. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | bind(DataDictionary
DataDictionary to bind against. dataDictionary, LanguageConnectionContext lcc, CompilerContext cc)Overrides org. Bind the conglomerate and table function names in this plan. |
| public String | toString()
Overrides org. Returns a string representation of the object. |
| TableFunctionRS | back to summary |
|---|---|
| public TableFunctionRS(String schemaName, String rowSourceName) | |
| TableFunctionRS | back to summary |
|---|---|
| public TableFunctionRS(AliasDescriptor ad) | |
| bind | back to summary |
|---|---|
| public void bind(DataDictionary dataDictionary, LanguageConnectionContext lcc, CompilerContext cc) throws StandardException Overrides org. Doc from org. Bind the conglomerate and table function names in this plan.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |