public static class QueryPlan.GroupNode extends QueryPlan.SingleQueryPlanNode
NOTE: The whole child is a group if columns is null.
child| Constructor and Description |
|---|
GroupNode(QueryPlanNode child,
Variable[] columns,
Variable group_max_column,
Expression[] function_list,
String[] name_list)
Groups over the given columns from the child.
|
GroupNode(QueryPlanNode child,
Variable group_max_column,
Expression[] function_list,
String[] name_list)
Groups over the entire child (always ends in 1 result in set).
|
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Deep clone.
|
ArrayList |
discoverCorrelatedVariables(int level,
ArrayList list)
Default implementation that discovers correlated variables for the
given offset level.
|
ArrayList |
discoverTableNames(ArrayList list)
Default implementation delegates responsibility to child.
|
Table |
evaluate(QueryContext context)
Evaluates the node and returns the result as a Table.
|
String |
titleString() |
child, debugStringpublic GroupNode(QueryPlanNode child, Variable[] columns, Variable group_max_column, Expression[] function_list, String[] name_list)
public GroupNode(QueryPlanNode child, Variable group_max_column, Expression[] function_list, String[] name_list)
public Table evaluate(QueryContext context)
QueryPlanNodepublic ArrayList discoverTableNames(ArrayList list)
QueryPlan.SingleQueryPlanNodediscoverTableNames in interface QueryPlanNodediscoverTableNames in class QueryPlan.SingleQueryPlanNodepublic ArrayList discoverCorrelatedVariables(int level, ArrayList list)
QueryPlan.SingleQueryPlanNodediscoverCorrelatedVariables in interface QueryPlanNodediscoverCorrelatedVariables in class QueryPlan.SingleQueryPlanNodepublic Object clone() throws CloneNotSupportedException
QueryPlan.SingleQueryPlanNodeclone in interface QueryPlanNodeclone in class QueryPlan.SingleQueryPlanNodeCloneNotSupportedExceptionpublic String titleString()
titleString in class QueryPlan.SingleQueryPlanNodeCopyright © 2016. All rights reserved.