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.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) 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:
discoverTableNamesin interfaceQueryPlanNode
-
evaluate
Description copied from interface:QueryPlanNodeEvaluates the node and returns the result as a Table. The VariableResolver resolves any outer variables- Specified by:
evaluatein interfaceQueryPlanNode
-
clone
Description copied from interface:QueryPlanNodeDeep clones this query plan.- 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
-