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, discoverTableNames
public SubsetNode(QueryPlanNode child, Variable[] original_columns, Variable[] new_column_names)
public Table evaluate(QueryContext context)
QueryPlanNode
public void setGivenName(TableName name)
public Variable[] getOriginalColumns()
public Variable[] getNewColumnNames()
public Object clone() throws CloneNotSupportedException
QueryPlan.SingleQueryPlanNode
clone
in interface QueryPlanNode
clone
in class QueryPlan.SingleQueryPlanNode
CloneNotSupportedException
public String titleString()
titleString
in class QueryPlan.SingleQueryPlanNode
Copyright © 2015. All rights reserved.