Class OptimizerPlan.Join
- java.lang.Object
-
- org.apache.derby.iapi.sql.compile.OptimizerPlan
-
- org.apache.derby.iapi.sql.compile.OptimizerPlan.Join
-
- Enclosing class:
- OptimizerPlan
public static final class OptimizerPlan.Join extends 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
Fields Modifier and Type Field Description private boolean_isBoundprivate int_leafNodeCount(package private) OptimizerPlanleftChild(package private) OptimizerPlanrightChild(package private) JoinStrategystrategy
-
Constructor Summary
Constructors Constructor Description Join(JoinStrategy strategy, OptimizerPlan leftChild, OptimizerPlan rightChild)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbind(DataDictionary dataDictionary, LanguageConnectionContext lcc, CompilerContext cc)Bind the conglomerate and table function names in this plan.intcountLeafNodes()Count the number of leaf nodes under (and including) this node.booleanequals(java.lang.Object other)booleanisBound()Return true if this the schema and RowSource names have been resolved.booleanisLeftPrefixOf(OptimizerPlan other)Return true if this plan is a (left) leading prefix of the other plan.OptimizerPlanleftmostLeaf()Get the leftmost leaf node in this plan.java.lang.StringtoString()-
Methods inherited from class org.apache.derby.iapi.sql.compile.OptimizerPlan
makeRowSource
-
-
-
-
Field Detail
-
strategy
final JoinStrategy strategy
-
leftChild
final OptimizerPlan leftChild
-
rightChild
final OptimizerPlan rightChild
-
_isBound
private boolean _isBound
-
_leafNodeCount
private int _leafNodeCount
-
-
Constructor Detail
-
Join
public Join(JoinStrategy strategy, OptimizerPlan leftChild, OptimizerPlan rightChild)
-
-
Method Detail
-
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
public OptimizerPlan leftmostLeaf()
Description copied from class:OptimizerPlanGet the leftmost leaf node in this plan.
- Specified by:
leftmostLeafin classOptimizerPlan
-
isLeftPrefixOf
public boolean isLeftPrefixOf(OptimizerPlan other)
Description copied from class:OptimizerPlanReturn true if this plan is a (left) leading prefix of the other plan.
- Specified by:
isLeftPrefixOfin classOptimizerPlan
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
-