Package org.h2.engine
Class QueryStatisticsData
java.lang.Object
org.h2.engine.QueryStatisticsData
Maintains query statistics.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThe collected statistics for one query. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetMaxQueryEntries(int maxQueryEntries) voidUpdate 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
-