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 QueryPlanNodeThe left and right node.protected QueryPlanNodeThe left and right node. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBranchQueryPlanNode(QueryPlanNode left, QueryPlanNode right) The Constructor. -
Method Summary
Modifier and TypeMethodDescriptionclone()Deep clone.voiddebugString(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, waitMethods 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:
discoverTableNamesin interfaceQueryPlanNode
-
clone
Deep clone.- Specified by:
clonein interfaceQueryPlanNode- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-
titleString
-
debugString
Description copied from interface:QueryPlanNodeWrites a textural representation of the node to the StringBuffer at the given indent level.- Specified by:
debugStringin interfaceQueryPlanNode
-