Package com.mckoi.database
Class QueryPlan.FetchTableNode
java.lang.Object
com.mckoi.database.QueryPlan.FetchTableNode
- All Implemented Interfaces:
QueryPlanNode
,Serializable
,Cloneable
- Enclosing class:
- QueryPlan
The node for fetching a table from the current transaction. This is
a tree node and has no children.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Deep clones this query plan.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) Discovers all the correlated variables in the plan (and plan children) that reference a particular layer.discoverTableNames
(ArrayList list) Adds the table name to the list if it's not already in there.evaluate
(QueryContext context) Evaluates the node and returns the result as a Table.
-
Constructor Details
-
FetchTableNode
-
-
Method Details
-
discoverTableNames
Adds the table name to the list if it's not already in there.- Specified by:
discoverTableNames
in interfaceQueryPlanNode
-
evaluate
Description copied from interface:QueryPlanNode
Evaluates the node and returns the result as a Table. The VariableResolver resolves any outer variables- Specified by:
evaluate
in interfaceQueryPlanNode
-
clone
Description copied from interface:QueryPlanNode
Deep clones this query plan.- 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
-