public static class QueryPlan.SubsetNode extends QueryPlan.SingleQueryPlanNode
child| Constructor and Description |
|---|
SubsetNode(QueryPlanNode child,
Variable[] original_columns,
Variable[] new_column_names) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Deep clone.
|
Table |
evaluate(QueryContext context)
Evaluates the node and returns the result as a Table.
|
Variable[] |
getNewColumnNames()
Returns the list of new column names that represent the new columns
in this subset.
|
Variable[] |
getOriginalColumns()
Returns the list of original columns that represent the mappings from
the columns in this subset.
|
void |
setGivenName(TableName name)
Sets the given table name of the resultant table.
|
String |
titleString() |
child, debugString, discoverCorrelatedVariables, discoverTableNamespublic SubsetNode(QueryPlanNode child, Variable[] original_columns, Variable[] new_column_names)
public Table evaluate(QueryContext context)
QueryPlanNodepublic void setGivenName(TableName name)
public Variable[] getOriginalColumns()
public Variable[] getNewColumnNames()
public Object clone() throws CloneNotSupportedException
QueryPlan.SingleQueryPlanNodeclone in interface QueryPlanNodeclone in class QueryPlan.SingleQueryPlanNodeCloneNotSupportedExceptionpublic String titleString()
titleString in class QueryPlan.SingleQueryPlanNodeCopyright © 2015. All rights reserved.