Class OptimizerPlan.Join
java.lang.Object
org.apache.derby.iapi.sql.compile.OptimizerPlan
org.apache.derby.iapi.sql.compile.OptimizerPlan.Join
- Enclosing class:
OptimizerPlan
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.derby.iapi.sql.compile.OptimizerPlan
OptimizerPlan.ConglomerateRS, OptimizerPlan.DeadEnd, OptimizerPlan.Join, OptimizerPlan.RowSource<D extends UniqueTupleDescriptor>, OptimizerPlan.TableFunctionRS
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
private int
(package private) final OptimizerPlan
(package private) final OptimizerPlan
(package private) final JoinStrategy
-
Constructor Summary
ConstructorsConstructorDescriptionJoin
(JoinStrategy strategy, OptimizerPlan leftChild, OptimizerPlan rightChild) -
Method Summary
Modifier and TypeMethodDescriptionvoid
bind
(DataDictionary dataDictionary, LanguageConnectionContext lcc, CompilerContext cc) Bind the conglomerate and table function names in this plan.int
Count the number of leaf nodes under (and including) this node.boolean
boolean
isBound()
Return true if this the schema and RowSource names have been resolved.boolean
isLeftPrefixOf
(OptimizerPlan other) 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 org.apache.derby.iapi.sql.compile.OptimizerPlan
makeRowSource
-
Field Details
-
strategy
-
leftChild
-
rightChild
-
_isBound
private boolean _isBound -
_leafNodeCount
private int _leafNodeCount
-
-
Constructor Details
-
Join
-
-
Method Details
-
bind
public void bind(DataDictionary dataDictionary, LanguageConnectionContext lcc, CompilerContext cc) throws StandardException Description copied from class:OptimizerPlan
Bind the conglomerate and table function names in this plan.
- Specified by:
bind
in classOptimizerPlan
- Parameters:
dataDictionary
- DataDictionary to bind against.- Throws:
StandardException
-
isBound
public boolean isBound()Description copied from class:OptimizerPlan
Return true if this the schema and RowSource names have been resolved.
- Specified by:
isBound
in classOptimizerPlan
-
countLeafNodes
public int countLeafNodes()Description copied from class:OptimizerPlan
Count the number of leaf nodes under (and including) this node.
- Specified by:
countLeafNodes
in classOptimizerPlan
-
leftmostLeaf
Description copied from class:OptimizerPlan
Get the leftmost leaf node in this plan.
- Specified by:
leftmostLeaf
in classOptimizerPlan
-
isLeftPrefixOf
Description copied from class:OptimizerPlan
Return true if this plan is a (left) leading prefix of the other plan.
- Specified by:
isLeftPrefixOf
in classOptimizerPlan
-
toString
-
equals
-