Interface QueryEvalStats.Builder

All Superinterfaces:
Buildable, CopyableBuilder<QueryEvalStats.Builder,QueryEvalStats>, SdkBuilder<QueryEvalStats.Builder,QueryEvalStats>, SdkPojo
Enclosing class:
QueryEvalStats

public static interface QueryEvalStats.Builder extends SdkPojo, CopyableBuilder<QueryEvalStats.Builder,QueryEvalStats>
  • Method Details

    • waited

      Indicates how long the query waited, in milliseconds.

      Parameters:
      waited - Indicates how long the query waited, in milliseconds.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • elapsed

      QueryEvalStats.Builder elapsed(Integer elapsed)

      The number of milliseconds the query has been running so far.

      Parameters:
      elapsed - The number of milliseconds the query has been running so far.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cancelled

      QueryEvalStats.Builder cancelled(Boolean cancelled)

      Set to TRUE if the query was cancelled, or FALSE otherwise.

      Parameters:
      cancelled - Set to TRUE if the query was cancelled, or FALSE otherwise.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subqueries

      QueryEvalStats.Builder subqueries(Document subqueries)

      The number of subqueries in this query.

      Parameters:
      subqueries - The number of subqueries in this query.
      Returns:
      Returns a reference to this object so that method calls can be chained together.