| Modifier and Type | Field and Description |
|---|---|
| pack-priv int | |
| pack-priv boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv void | bindGroupByColumns(SelectNode
The SelectNode select, List<AggregateNode> The aggregate list being built as we find AggregateNodes aggregates)Bind the group by list. |
| pack-priv GroupByColumn | Returns: the matching GroupByColumn if one exists, null otherwise.an expression for which we are trying to find a match
in the group by list. node)Find the matching grouping column if any for the given expression |
| pack-priv GroupByColumn | |
| pack-priv int | Returns: int The number of grouping columns that need to be added to the SELECT list.Get the number of grouping columns that need to be added to the SELECT list. |
| pack-priv boolean | |
| pack-priv void | preprocess(int numTables, FromList fromList, SubqueryList whereSubquerys, PredicateList wherePredicates)
|
| pack-priv void | remapColumnReferencesToExpressions()
Remap all ColumnReferences in this tree to be clones of the underlying expression. |
| pack-priv void | |
| public String | Returns: This object as a StringOverrides org. Convert this object to a String. |
| numGroupingColsAdded | back to summary |
|---|---|
| pack-priv int numGroupingColsAdded | |
| rollup | back to summary |
|---|---|
| pack-priv boolean rollup | |
| GroupByList | back to summary |
|---|---|
| public GroupByList(ContextManager cm) | |
| addGroupByColumn | back to summary |
|---|---|
| pack-priv void addGroupByColumn(GroupByColumn column) Add a column to the list
| |
| bindGroupByColumns | back to summary |
|---|---|
| pack-priv void bindGroupByColumns(SelectNode select, List<AggregateNode> aggregates) throws StandardException Bind the group by list. Verify: o Number of grouping columns matches number of non-aggregates in SELECT's RCL. o Names in the group by list are unique o Names of grouping columns match names of non-aggregate expressions in SELECT's RCL.
| |
| findGroupingColumn | back to summary |
|---|---|
| pack-priv GroupByColumn findGroupingColumn(ValueNode node) throws StandardException Find the matching grouping column if any for the given expression
| |
| getGroupByColumn | back to summary |
|---|---|
| pack-priv GroupByColumn getGroupByColumn(int position) Get a column from the list
| |
| getNumNeedToAddGroupingCols | back to summary |
|---|---|
| pack-priv int getNumNeedToAddGroupingCols() Get the number of grouping columns that need to be added to the SELECT list.
| |
| isRollup | back to summary |
|---|---|
| pack-priv boolean isRollup() | |
| preprocess | back to summary |
|---|---|
| pack-priv void preprocess(int numTables, FromList fromList, SubqueryList whereSubquerys, PredicateList wherePredicates) throws StandardException | |
| remapColumnReferencesToExpressions | back to summary |
|---|---|
| pack-priv void remapColumnReferencesToExpressions() throws StandardException Remap all ColumnReferences in this tree to be clones of the underlying expression.
| |
| setRollup | back to summary |
|---|---|
| pack-priv void setRollup() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Convert this object to a String. See comments in QueryTreeNode.java for how this should be done for tree printing. | |