Interface QuerySummary.Builder

    • Method Detail

      • id

        QuerySummary.Builder id​(String id)

        A string representation of the id of the query.

        Parameters:
        id - A string representation of the id of the query.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • queryString

        QuerySummary.Builder queryString​(String queryString)

        The actual query text. The queryString may be truncated if the actual query string is too long.

        Parameters:
        queryString - The actual query text. The queryString may be truncated if the actual query string is too long.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • waited

        QuerySummary.Builder waited​(Integer waited)

        The amount of time, in milliseconds, the query has waited in the queue before being picked up by a worker thread.

        Parameters:
        waited - The amount of time, in milliseconds, the query has waited in the queue before being picked up by a worker thread.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • elapsed

        QuerySummary.Builder elapsed​(Integer elapsed)

        The running time of the query, in milliseconds.

        Parameters:
        elapsed - The running time of the query, in milliseconds.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • state

        QuerySummary.Builder state​(String state)

        State of the query.

        Parameters:
        state - State of the query.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        QueryState, QueryState