QueryPlanNode, java.io.Serializable, java.lang.Cloneablepublic static class QueryPlan.GroupNode extends QueryPlan.SingleQueryPlanNode
NOTE: The whole child is a group if columns is null.
child| Constructor | Description |
|---|---|
GroupNode(QueryPlanNode child,
Variable[] columns,
Variable group_max_column,
Expression[] function_list,
java.lang.String[] name_list) |
Groups over the given columns from the child.
|
GroupNode(QueryPlanNode child,
Variable group_max_column,
Expression[] function_list,
java.lang.String[] name_list) |
Groups over the entire child (always ends in 1 result in set).
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Object |
clone() |
Deep clone.
|
java.util.ArrayList |
discoverCorrelatedVariables(int level,
java.util.ArrayList list) |
Default implementation that discovers correlated variables for the
given offset level.
|
java.util.ArrayList |
discoverTableNames(java.util.ArrayList list) |
Default implementation delegates responsibility to child.
|
Table |
evaluate(QueryContext context) |
Evaluates the node and returns the result as a Table.
|
java.lang.String |
titleString() |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchild, debugStringpublic GroupNode(QueryPlanNode child, Variable[] columns, Variable group_max_column, Expression[] function_list, java.lang.String[] name_list)
public GroupNode(QueryPlanNode child, Variable group_max_column, Expression[] function_list, java.lang.String[] name_list)
public Table evaluate(QueryContext context)
QueryPlanNodepublic java.util.ArrayList discoverTableNames(java.util.ArrayList list)
QueryPlan.SingleQueryPlanNodediscoverTableNames in interface QueryPlanNodediscoverTableNames in class QueryPlan.SingleQueryPlanNodepublic java.util.ArrayList discoverCorrelatedVariables(int level,
java.util.ArrayList list)
QueryPlan.SingleQueryPlanNodediscoverCorrelatedVariables in interface QueryPlanNodediscoverCorrelatedVariables in class QueryPlan.SingleQueryPlanNodepublic 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.