|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.derby.impl.sql.execute.xplain.XPLAINDefaultVisitor
public class XPLAINDefaultVisitor
This is the Default Visitor which produces explain information like the
old getRuntimeStatistics() approach.
It exists to support backward-compatibility.
The only thing this visitor does, is to log the output of the statistics to the
default log stream. (the file derby.log)
Constructor Summary | |
---|---|
XPLAINDefaultVisitor()
|
Method Summary | |
---|---|
void |
doXPLAIN(RunTimeStatistics rss,
Activation activation)
This method is the hook method which is called from the TopResultSet. |
void |
reset()
Call this method to reset the visitor for a new run over the statistics. |
void |
setNumberOfChildren(int noChildren)
This method informs the visitor about the number of children. |
void |
visit(ResultSetStatistics statistics)
This is the Visitor hook method, which gets called from each ResultSetStatistics. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XPLAINDefaultVisitor()
Method Detail |
---|
public void visit(ResultSetStatistics statistics)
XPLAINVisitor
visit
in interface XPLAINVisitor
statistics
- the statistics, which want to get explained.public void reset()
XPLAINVisitor
reset
in interface XPLAINVisitor
public void doXPLAIN(RunTimeStatistics rss, Activation activation)
XPLAINVisitor
doXPLAIN
in interface XPLAINVisitor
public void setNumberOfChildren(int noChildren)
XPLAINVisitor
setNumberOfChildren
in interface XPLAINVisitor
noChildren
- the number of children of the current explained node.
|
Built on Thu 2012-03-29 21:53:33+0000, from revision ??? | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |