@Immutable public interface ResultSummary
Modifier and Type | Method and Description |
---|---|
SummaryCounters |
counters() |
DatabaseInfo |
database()
The basic information of the database where the result is obtained from
|
boolean |
hasPlan() |
boolean |
hasProfile() |
List<Notification> |
notifications()
A list of notifications that might arise when executing the query.
|
Plan |
plan()
This describes how the database will execute your query.
|
ProfiledPlan |
profile()
This describes how the database did execute your query.
|
Query |
query() |
QueryType |
queryType() |
long |
resultAvailableAfter(TimeUnit unit)
The time it took the server to make the result available for consumption.
|
long |
resultConsumedAfter(TimeUnit unit)
The time it took the server to consume the result.
|
ServerInfo |
server()
The basic information of the server where the result is obtained from
|
Query query()
SummaryCounters counters()
QueryType queryType()
boolean hasPlan()
boolean hasProfile()
Plan plan()
ProfiledPlan profile()
was profiled
, the query plan will contain detailed
information about what each step of the plan did. That more in-depth version of the query plan becomes
available here.List<Notification> notifications()
long resultAvailableAfter(TimeUnit unit)
unit
- The unit of the duration.long resultConsumedAfter(TimeUnit unit)
unit
- The unit of the duration.ServerInfo server()
DatabaseInfo database()