|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.derby.impl.sql.compile.ReplaceAggregatesWithCRVisitor
Replace all aggregates with result columns.
| Field Summary | |
private ResultColumnList |
rcl
|
private java.lang.Class |
skipOverClass
|
private int |
tableNumber
|
| Constructor Summary | |
ReplaceAggregatesWithCRVisitor(ResultColumnList rcl,
java.lang.Class nodeToSkip)
Replace all aggregates with column references. |
|
ReplaceAggregatesWithCRVisitor(ResultColumnList rcl,
int tableNumber)
Replace all aggregates with column references. |
|
| Method Summary | |
boolean |
skipChildren(Visitable node)
Don't visit childen under the skipOverClass node, if it isn't null. |
boolean |
stopTraversal()
Method that is called to see if query tree traversal should be stopped before visiting all nodes. |
Visitable |
visit(Visitable node)
Don't do anything unless we have an aggregate node. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private ResultColumnList rcl
private java.lang.Class skipOverClass
private int tableNumber
| Constructor Detail |
public ReplaceAggregatesWithCRVisitor(ResultColumnList rcl,
int tableNumber)
rcl - the result column listtableNumber - The tableNumber for the new CRs
public ReplaceAggregatesWithCRVisitor(ResultColumnList rcl,
java.lang.Class nodeToSkip)
rcl - the result column listnodeToSkip - don't examine anything below nodeToSkip| Method Detail |
public Visitable visit(Visitable node)
throws StandardException
visit in interface Visitornode - the node to process
StandardException - on errorpublic boolean skipChildren(Visitable node)
skipChildren in interface Visitornode - the node to process
public boolean stopTraversal()
Visitor
stopTraversal in interface Visitor
|
Built on Tue 2006-10-10 19:23:47+0200, from revision exported | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||