public static class QueryPlan.SingleRowTableNode extends Object implements QueryPlanNode
| Constructor and Description |
|---|
SingleRowTableNode() |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
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.
|
ArrayList |
discoverCorrelatedVariables(int level,
ArrayList list)
Discovers all the correlated variables in the plan (and plan children)
that reference a particular layer.
|
ArrayList |
discoverTableNames(ArrayList list)
Discovers a list of TableName that represent the sources that this query
requires to complete itself.
|
Table |
evaluate(QueryContext context)
Evaluates the node and returns the result as a Table.
|
String |
titleString() |
public ArrayList discoverTableNames(ArrayList list)
QueryPlanNodeThe resultant list will not contain the same table name more than once. The resultant list contains TableName objects.
NOTE, if a table is aliased, the unaliased name is returned.
discoverTableNames in interface QueryPlanNodepublic Table evaluate(QueryContext context)
QueryPlanNodeevaluate in interface QueryPlanNodepublic ArrayList discoverCorrelatedVariables(int level, ArrayList list)
QueryPlanNodediscoverCorrelatedVariables in interface QueryPlanNodepublic Object clone() throws CloneNotSupportedException
QueryPlanNodeclone in interface QueryPlanNodeclone in class ObjectCloneNotSupportedExceptionpublic String titleString()
public void debugString(int level,
StringBuffer buf)
QueryPlanNodedebugString in interface QueryPlanNodeCopyright © 2015. All rights reserved.