Package org.h2.engine
Class QueryStatisticsData
java.lang.Object
org.h2.engine.QueryStatisticsData
Maintains query statistics.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
The collected statistics for one query. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setMaxQueryEntries
(int maxQueryEntries) void
Update query statistics.
-
Constructor Details
-
QueryStatisticsData
public QueryStatisticsData(int maxQueryEntries)
-
-
Method Details
-
setMaxQueryEntries
public void setMaxQueryEntries(int maxQueryEntries) -
getQueries
-
update
Update query statistics.- Parameters:
sqlStatement
- the statement being executedexecutionTimeNanos
- the time in nanoseconds the query/update took to executerowCount
- the query or update row count
-