Package com.mckoi.database
Class QueryPlan.BranchQueryPlanNode
java.lang.Object
com.mckoi.database.QueryPlan.BranchQueryPlanNode
- All Implemented Interfaces:
QueryPlanNode
,Serializable
,Cloneable
- Direct Known Subclasses:
QueryPlan.CompositeNode
,QueryPlan.EquiJoinNode
,QueryPlan.JoinNode
,QueryPlan.LogicalUnionNode
,QueryPlan.NaturalJoinNode
,QueryPlan.NonCorrelatedAnyAllNode
- Enclosing class:
QueryPlan
A QueryPlanNode that is a branch with two child nodes.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected QueryPlanNode
The left and right node.protected QueryPlanNode
The left and right node. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
BranchQueryPlanNode
(QueryPlanNode left, QueryPlanNode right) The Constructor. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Deep clone.void
debugString
(int level, StringBuffer buf) Writes a textural representation of the node to the StringBuffer at the given indent level.discoverCorrelatedVariables
(int level, ArrayList list) Default implementation that discovers correlated variables for the given offset level.discoverTableNames
(ArrayList list) Default implementation delegates responsibility to children.left()
Returns the left node.right()
Returns the right node.Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.mckoi.database.QueryPlanNode
evaluate
-
Field Details
-
left
The left and right node. -
right
The left and right node.
-
-
Constructor Details
-
BranchQueryPlanNode
The Constructor.
-
-
Method Details
-
left
Returns the left node. -
right
Returns the right node. -
discoverTableNames
Default implementation delegates responsibility to children.- Specified by:
discoverTableNames
in interfaceQueryPlanNode
-
clone
Deep clone.- Specified by:
clone
in interfaceQueryPlanNode
- Overrides:
clone
in classObject
- Throws:
CloneNotSupportedException
-
titleString
-
debugString
Description copied from interface:QueryPlanNode
Writes a textural representation of the node to the StringBuffer at the given indent level.- Specified by:
debugString
in interfaceQueryPlanNode
-