|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.mckoi.database.QueryPlan.SingleQueryPlanNode
com.mckoi.database.QueryPlan.SubsetNode
public static class QueryPlan.SubsetNode
The node for finding a subset and renaming the columns of the results in the child node.
| Field Summary |
|---|
| Fields inherited from class com.mckoi.database.QueryPlan.SingleQueryPlanNode |
|---|
child |
| Constructor Summary | |
|---|---|
QueryPlan.SubsetNode(QueryPlanNode child,
Variable[] original_columns,
Variable[] new_column_names)
|
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class com.mckoi.database.QueryPlan.SingleQueryPlanNode |
|---|
child, debugString, discoverCorrelatedVariables, discoverTableNames |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QueryPlan.SubsetNode(QueryPlanNode child,
Variable[] original_columns,
Variable[] new_column_names)
| Method Detail |
|---|
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 QueryPlanNodeclone in class QueryPlan.SingleQueryPlanNodejava.lang.CloneNotSupportedExceptionpublic java.lang.String titleString()
titleString in class QueryPlan.SingleQueryPlanNode
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||