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 | Description |
|---|---|---|
private boolean |
_isBound |
|
private int |
_leafNodeCount |
|
(package private) OptimizerPlan |
leftChild |
|
(package private) OptimizerPlan |
rightChild |
|
(package private) JoinStrategy |
strategy |
| Constructor | Description |
|---|---|
Join(JoinStrategy strategy,
OptimizerPlan leftChild,
OptimizerPlan rightChild) |
| Modifier and Type | Method | 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() |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitmakeRowSourcefinal 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
OptimizerPlanBind the conglomerate and table function names in this plan.
bind in class OptimizerPlandataDictionary - DataDictionary to bind against.StandardExceptionpublic boolean isBound()
OptimizerPlanReturn true if this the schema and RowSource names have been resolved.
isBound in class OptimizerPlanpublic int countLeafNodes()
OptimizerPlanCount the number of leaf nodes under (and including) this node.
countLeafNodes in class OptimizerPlanpublic OptimizerPlan leftmostLeaf()
OptimizerPlanGet the leftmost leaf node in this plan.
leftmostLeaf in class OptimizerPlanpublic boolean isLeftPrefixOf(OptimizerPlan other)
OptimizerPlanReturn true if this plan is a (left) leading prefix of the other plan.
isLeftPrefixOf in class OptimizerPlanpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.ObjectApache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.