QueryPlanNode
, java.io.Serializable
, java.lang.Cloneable
public static class QueryPlan.SingleRowTableNode extends java.lang.Object implements QueryPlanNode
Constructor | Description |
---|---|
SingleRowTableNode() |
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
clone() |
Deep clones this query plan.
|
void |
debugString(int level,
java.lang.StringBuffer buf) |
Writes a textural representation of the node to the StringBuffer at the
given indent level.
|
java.util.ArrayList |
discoverCorrelatedVariables(int level,
java.util.ArrayList list) |
Discovers all the correlated variables in the plan (and plan children)
that reference a particular layer.
|
java.util.ArrayList |
discoverTableNames(java.util.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.
|
java.lang.String |
titleString() |
public java.util.ArrayList discoverTableNames(java.util.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 java.util.ArrayList discoverCorrelatedVariables(int level, java.util.ArrayList list)
QueryPlanNode
discoverCorrelatedVariables
in interface QueryPlanNode
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
QueryPlanNode
clone
in interface QueryPlanNode
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public java.lang.String titleString()
public void debugString(int level, java.lang.StringBuffer buf)
QueryPlanNode
debugString
in interface QueryPlanNode
Copyright © 2018. All rights reserved.