public class QueryStatisticsData extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
QueryStatisticsData.QueryEntry
The collected statistics for one query.
|
| 构造器和说明 |
|---|
QueryStatisticsData(int maxQueryEntries) |
| 限定符和类型 | 方法和说明 |
|---|---|
List<QueryStatisticsData.QueryEntry> |
getQueries() |
void |
setMaxQueryEntries(int maxQueryEntries) |
void |
update(String sqlStatement,
long executionTimeNanos,
long rowCount)
Update query statistics.
|
public void setMaxQueryEntries(int maxQueryEntries)
public List<QueryStatisticsData.QueryEntry> getQueries()
public void update(String sqlStatement, long executionTimeNanos, long rowCount)
sqlStatement - the statement being executedexecutionTimeNanos - the time in nanoseconds the query/update took
to executerowCount - the query or update row countCopyright © 2022. All rights reserved.