QueryPlanNode
, java.io.Serializable
, java.lang.Cloneable
public 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, wait
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 java.lang.Object clone() throws java.lang.CloneNotSupportedException
QueryPlan.SingleQueryPlanNode
clone
in interface QueryPlanNode
clone
in class QueryPlan.SingleQueryPlanNode
java.lang.CloneNotSupportedException
public java.lang.String titleString()
titleString
in class QueryPlan.SingleQueryPlanNode
Copyright © 2018. All rights reserved.