Package com.mckoi.database
Class QueryPlan.SingleQueryPlanNode
java.lang.Object
com.mckoi.database.QueryPlan.SingleQueryPlanNode
- All Implemented Interfaces:
QueryPlanNode
,Serializable
,Cloneable
- Direct Known Subclasses:
QueryPlan.CachePointNode
,QueryPlan.ConstantSelectNode
,QueryPlan.CreateFunctionsNode
,QueryPlan.DistinctNode
,QueryPlan.ExhaustiveSelectNode
,QueryPlan.FunctionalSelectNode
,QueryPlan.GroupNode
,QueryPlan.LeftOuterJoinNode
,QueryPlan.MarkerNode
,QueryPlan.MultiColumnEquiSelectNode
,QueryPlan.RangeSelectNode
,QueryPlan.SimplePatternSelectNode
,QueryPlan.SimpleSelectNode
,QueryPlan.SortNode
,QueryPlan.SubsetNode
- Enclosing class:
- QueryPlan
A QueryPlanNode with a single child.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchild()
Returns the child plan.clone()
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 child.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
-
child
The single child node.
-
-
Constructor Details
-
SingleQueryPlanNode
Constructor.
-
-
Method Details
-
child
Returns the child plan. -
discoverTableNames
Default implementation delegates responsibility to child.- 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
-