Class OptimizerPlan.RowSource<D extends UniqueTupleDescriptor>
java.lang.Object
org.apache.derby.iapi.sql.compile.OptimizerPlan
org.apache.derby.iapi.sql.compile.OptimizerPlan.RowSource<D>
- Direct Known Subclasses:
OptimizerPlan.ConglomerateRS, OptimizerPlan.TableFunctionRS
- Enclosing class:
OptimizerPlan
public abstract static class OptimizerPlan.RowSource<D extends UniqueTupleDescriptor>
extends OptimizerPlan
-
Nested Class Summary
Nested classes/interfaces inherited from class OptimizerPlan
OptimizerPlan.ConglomerateRS, OptimizerPlan.DeadEnd, OptimizerPlan.Join, OptimizerPlan.RowSource<D>, OptimizerPlan.TableFunctionRS -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Dprotected Stringprotected SchemaDescriptorprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbind(DataDictionary dataDictionary, LanguageConnectionContext lcc, CompilerContext cc) Bind the conglomerate and table function names in this plan.intCount the number of leaf nodes under (and including) this node.booleanGet the UniqueTupleDescriptor bound to this RowSourcebooleanisBound()Return true if this the schema and RowSource names have been resolved.booleanisLeftPrefixOf(OptimizerPlan that) Return true if this plan is a (left) leading prefix of the other plan.Get the leftmost leaf node in this plan.toString()Methods inherited from class OptimizerPlan
makeRowSource
-
Field Details
-
_schemaName
-
_rowSourceName
-
_schema
-
_descriptor
-
-
Constructor Details
-
RowSource
-
RowSource
protected RowSource()
-
-
Method Details
-
getDescriptor
Get the UniqueTupleDescriptor bound to this RowSource -
bind
public void bind(DataDictionary dataDictionary, LanguageConnectionContext lcc, CompilerContext cc) throws StandardException Description copied from class:OptimizerPlanBind the conglomerate and table function names in this plan.
- Specified by:
bindin classOptimizerPlan- Parameters:
dataDictionary- DataDictionary to bind against.- Throws:
StandardException
-
isBound
public boolean isBound()Description copied from class:OptimizerPlanReturn true if this the schema and RowSource names have been resolved.
- Specified by:
isBoundin classOptimizerPlan
-
countLeafNodes
public int countLeafNodes()Description copied from class:OptimizerPlanCount the number of leaf nodes under (and including) this node.
- Specified by:
countLeafNodesin classOptimizerPlan
-
leftmostLeaf
Description copied from class:OptimizerPlanGet the leftmost leaf node in this plan.
- Specified by:
leftmostLeafin classOptimizerPlan
-
isLeftPrefixOf
Description copied from class:OptimizerPlanReturn true if this plan is a (left) leading prefix of the other plan.
- Specified by:
isLeftPrefixOfin classOptimizerPlan
-
toString
-
equals
-