Class ProtostellarCoreQueryMetrics
java.lang.Object
com.couchbase.client.core.protostellar.query.ProtostellarCoreQueryMetrics
- All Implemented Interfaces:
CoreQueryMetrics
-
Constructor Summary
ConstructorsConstructorDescriptionProtostellarCoreQueryMetrics(com.couchbase.client.protostellar.query.v1.QueryResponse.MetaData.Metrics metrics) -
Method Summary
Modifier and TypeMethodDescriptionlonglonglonglonglonglong
-
Constructor Details
-
ProtostellarCoreQueryMetrics
public ProtostellarCoreQueryMetrics(com.couchbase.client.protostellar.query.v1.QueryResponse.MetaData.Metrics metrics)
-
-
Method Details
-
elapsedTime
- Specified by:
elapsedTimein interfaceCoreQueryMetrics- 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
- Specified by:
executionTimein interfaceCoreQueryMetrics- 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
public long sortCount()- Specified by:
sortCountin interfaceCoreQueryMetrics- Returns:
- the total number of results selected by the engine before restriction through LIMIT clause.
-
resultCount
public long resultCount()- Specified by:
resultCountin interfaceCoreQueryMetrics- Returns:
- The total number of objects in the results.
-
resultSize
public long resultSize()- Specified by:
resultSizein interfaceCoreQueryMetrics- Returns:
- The total number of bytes in the results.
-
mutationCount
public long mutationCount()- Specified by:
mutationCountin interfaceCoreQueryMetrics- Returns:
- The number of mutations that were made during the request.
-
errorCount
public long errorCount()- Specified by:
errorCountin interfaceCoreQueryMetrics- Returns:
- The number of errors that occurred during the request.
-
warningCount
public long warningCount()- Specified by:
warningCountin interfaceCoreQueryMetrics- Returns:
- The number of warnings that occurred during the request.
-