QueryPlanNode, java.io.Serializable, java.lang.Cloneablepublic static class QueryPlan.SubsetNode extends QueryPlan.SingleQueryPlanNode
child| Constructor | Description |
|---|---|
SubsetNode(QueryPlanNode child,
Variable[] original_columns,
Variable[] new_column_names) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.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.
|
java.lang.String |
titleString() |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchild, 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 java.lang.Object clone()
throws java.lang.CloneNotSupportedException
QueryPlan.SingleQueryPlanNodeclone in interface QueryPlanNodeclone in class QueryPlan.SingleQueryPlanNodejava.lang.CloneNotSupportedExceptionpublic java.lang.String titleString()
titleString in class QueryPlan.SingleQueryPlanNodeCopyright © 2018. All rights reserved.