Interface CoreQueryMetrics
-
- All Known Implementing Classes:
ClassicCoreQueryMetrics
,ProtostellarCoreQueryMetrics
public interface CoreQueryMetrics
Query Metrics contains the query result metrics containing counts and timings- Since:
- 3.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Duration
elapsedTime()
long
errorCount()
Duration
executionTime()
long
mutationCount()
long
resultCount()
long
resultSize()
long
sortCount()
long
warningCount()
-
-
-
Method Detail
-
elapsedTime
Duration elapsedTime()
- Returns:
- The total time taken for the request, that is the time from when the request was received until the results were returned, in a human-readable format (eg. 123.45ms for a little over 123 milliseconds).
-
executionTime
Duration executionTime()
- Returns:
- The time taken for the execution of the request, that is the time from when query execution started until the results were returned, in a human-readable format (eg. 123.45ms for a little over 123 milliseconds).
-
sortCount
long sortCount()
- Returns:
- the total number of results selected by the engine before restriction through LIMIT clause.
-
resultCount
long resultCount()
- Returns:
- The total number of objects in the results.
-
resultSize
long resultSize()
- Returns:
- The total number of bytes in the results.
-
mutationCount
long mutationCount()
- Returns:
- The number of mutations that were made during the request.
-
errorCount
long errorCount()
- Returns:
- The number of errors that occurred during the request.
-
warningCount
long warningCount()
- Returns:
- The number of warnings that occurred during the request.
-
-