| Modifier and Type | Field and Description |
|---|---|
| private ResultColumnList | |
| private Class | |
| private int |
| Access | Constructor and Description |
|---|---|
| pack-priv | ReplaceAggregatesWithCRVisitor(ResultColumnList
the result column list rcl, int The tableNumber for the new CRs tableNumber)Replace all aggregates with column references. |
| pack-priv | |
| pack-priv | ReplaceAggregatesWithCRVisitor(ResultColumnList
the result column list rcl, Class<?> don't examine anything below nodeToSkip nodeToSkip)Replace all aggregates with column references. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true/falsethe node to process node)Implements org. Don't visit children under the skipOverClass node, if it isn't null. |
| public boolean | stopTraversal()
Implements org. Method that is called to see if query tree traversal should be stopped before visiting all nodes. |
| public Visitable | Returns: methe node to process node)Implements org. Don't do anything unless we have an aggregate node. |
| public boolean | visitChildrenFirst(Visitable
the top node of a sub-tree about to be visited node)Implements org. Method that is called to see if |
| rcl | back to summary |
|---|---|
| private ResultColumnList rcl | |
| skipOverClass | back to summary |
|---|---|
| private Class<?> skipOverClass | |
| tableNumber | back to summary |
|---|---|
| private int tableNumber | |
| ReplaceAggregatesWithCRVisitor | back to summary |
|---|---|
| pack-priv ReplaceAggregatesWithCRVisitor(ResultColumnList rcl, int tableNumber) Replace all aggregates with column references. Add the reference to the RCL. Delegates most work to AggregateNode.replaceAggregatesWithColumnReferences(rcl, tableNumber).
| |
| ReplaceAggregatesWithCRVisitor | back to summary |
|---|---|
| pack-priv ReplaceAggregatesWithCRVisitor(ResultColumnList rcl, int tableNumber, Class<?> skipOverClass) | |
| ReplaceAggregatesWithCRVisitor | back to summary |
|---|---|
| pack-priv ReplaceAggregatesWithCRVisitor(ResultColumnList rcl, Class<?> nodeToSkip) Replace all aggregates with column references. Add the reference to the RCL. Delegates most work to AggregateNode.replaceAggregatesWithColumnReferences(rcl). Doesn't traverse below the passed in class.
| |
| skipChildren | back to summary |
|---|---|
| public boolean skipChildren(Visitable node) Implements org. Don't visit children under the skipOverClass node, if it isn't null.
| |
| stopTraversal | back to summary |
|---|---|
| public boolean stopTraversal() Implements org. Doc from org. Method that is called to see if query tree traversal should be stopped before visiting all nodes. Useful for short circuiting traversal if we already know we are done.
| |
| visit | back to summary |
|---|---|
| public Visitable visit(Visitable node) throws StandardException Implements org. Don't do anything unless we have an aggregate node.
| |
| visitChildrenFirst | back to summary |
|---|---|
| public boolean visitChildrenFirst(Visitable node) Implements org. Doc from org. Method that is called to see if
| |