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)
QueryPlanNode
The 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 QueryPlanNode
public Table evaluate(QueryContext context)
QueryPlanNode
evaluate
in interface QueryPlanNode
public ArrayList discoverCorrelatedVariables(int level, ArrayList list)
QueryPlanNode
discoverCorrelatedVariables
in interface QueryPlanNode
public Object clone() throws CloneNotSupportedException
QueryPlanNode
clone
in interface QueryPlanNode
clone
in class Object
CloneNotSupportedException
public String titleString()
public void debugString(int level, StringBuffer buf)
QueryPlanNode
debugString
in interface QueryPlanNode
Copyright © 2015. All rights reserved.