|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XPLAINVisitor
Classes, which implement this interface have the ability to explain the gathered ResultSetStatistics. A Visitor pattern is used to traverse the ResultSetStatistics tree and to extract the required information. Classes implementing this interface are responsible about what they extract and what will be done with the extracted information. This approach allows easy representaion extensions of the statistics, e.g. an XML representation.
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. |
Method Detail |
---|
void reset()
void doXPLAIN(RunTimeStatistics rss, Activation activation) throws StandardException
StandardException
void visit(ResultSetStatistics statistics)
statistics
- the statistics, which want to get explained.void setNumberOfChildren(int noChildren)
noChildren
- the number of children of the current explained node.
|
Built on Thu 2011-03-10 11:54:14+0000, from revision ??? | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |