|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.h2.engine.QueryStatisticsData
public class QueryStatisticsData
Maintains query statistics.
Nested Class Summary | |
---|---|
static class |
QueryStatisticsData.QueryEntry
The collected statistics for one query. |
Constructor Summary | |
---|---|
QueryStatisticsData()
|
Method Summary | |
---|---|
java.util.List<QueryStatisticsData.QueryEntry> |
getQueries()
|
void |
update(java.lang.String sqlStatement,
long executionTime,
int rowCount)
Update query statistics. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QueryStatisticsData()
Method Detail |
---|
public java.util.List<QueryStatisticsData.QueryEntry> getQueries()
public void update(java.lang.String sqlStatement, long executionTime, int rowCount)
sqlStatement
- the statement being executedexecutionTime
- the time in milliseconds the query/update took to
executerowCount
- the query or update row count
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |