org.h2.engine
Class QueryStatisticsData
java.lang.Object
org.h2.engine.QueryStatisticsData
public class QueryStatisticsData
- extends java.lang.Object
Maintains query statistics.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueryStatisticsData
public QueryStatisticsData(int maxQueryEntries)
setMaxQueryEntries
public void setMaxQueryEntries(int maxQueryEntries)
getQueries
public java.util.List<QueryStatisticsData.QueryEntry> getQueries()
update
public void update(java.lang.String sqlStatement,
long executionTime,
int rowCount)
- Update query statistics.
- Parameters:
sqlStatement - the statement being executedexecutionTime - the time in milliseconds the query/update took to
executerowCount - the query or update row count