java.lang.Object
com.couchbase.columnar.client.java.QueryMetrics

@ThreadSafe public final class QueryMetrics extends Object
Holds the metrics as returned from an analytics response.
  • Method Details Link icon

    • elapsedTime Link icon

      public 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 Link icon

      public 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).
    • resultCount Link icon

      public long resultCount()
      Returns:
      The total number of objects in the results.
    • resultSize Link icon

      public long resultSize()
      Returns:
      The total number of bytes in the results.
    • processedObjects Link icon

      public long processedObjects()
      Returns:
      The number of processed objects for the request.
    • toString Link icon

      public String toString()
      Overrides:
      toString in class Object