public static final class OptimizerPlan.Join extends OptimizerPlan
OptimizerPlan.ConglomerateRS, OptimizerPlan.DeadEnd, OptimizerPlan.Join, OptimizerPlan.RowSource<D extends UniqueTupleDescriptor>, OptimizerPlan.TableFunctionRS
Modifier and Type | Field and Description |
---|---|
private boolean |
_isBound |
private int |
_leafNodeCount |
(package private) OptimizerPlan |
leftChild |
(package private) OptimizerPlan |
rightChild |
(package private) JoinStrategy |
strategy |
Constructor and Description |
---|
Join(JoinStrategy strategy,
OptimizerPlan leftChild,
OptimizerPlan rightChild) |
Modifier and Type | Method and Description |
---|---|
void |
bind(DataDictionary dataDictionary,
LanguageConnectionContext lcc,
CompilerContext cc)
Bind the conglomerate and table function names in this plan.
|
int |
countLeafNodes()
Count the number of leaf nodes under (and including) this node.
|
boolean |
equals(java.lang.Object other) |
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.
|
OptimizerPlan |
leftmostLeaf()
Get the leftmost leaf node in this plan.
|
java.lang.String |
toString() |
makeRowSource
final JoinStrategy strategy
final OptimizerPlan leftChild
final OptimizerPlan rightChild
private boolean _isBound
private int _leafNodeCount
public Join(JoinStrategy strategy, OptimizerPlan leftChild, OptimizerPlan rightChild)
public void bind(DataDictionary dataDictionary, LanguageConnectionContext lcc, CompilerContext cc) throws StandardException
OptimizerPlan
Bind the conglomerate and table function names in this plan.
bind
in class OptimizerPlan
dataDictionary
- DataDictionary to bind against.StandardException
public boolean isBound()
OptimizerPlan
Return true if this the schema and RowSource names have been resolved.
isBound
in class OptimizerPlan
public int countLeafNodes()
OptimizerPlan
Count the number of leaf nodes under (and including) this node.
countLeafNodes
in class OptimizerPlan
public OptimizerPlan leftmostLeaf()
OptimizerPlan
Get the leftmost leaf node in this plan.
leftmostLeaf
in class OptimizerPlan
public boolean isLeftPrefixOf(OptimizerPlan other)
OptimizerPlan
Return true if this plan is a (left) leading prefix of the other plan.
isLeftPrefixOf
in class OptimizerPlan
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.