Interface Statistics.Builder

  • Method Details

    • count

      The count of things that match the query string criteria and contain a valid aggregation field value.

      Parameters:
      count - The count of things that match the query string criteria and contain a valid aggregation field value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • average

      Statistics.Builder average(Double average)

      The average of the aggregated field values.

      Parameters:
      average - The average of the aggregated field values.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sum

      The sum of the aggregated field values.

      Parameters:
      sum - The sum of the aggregated field values.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • minimum

      Statistics.Builder minimum(Double minimum)

      The minimum aggregated field value.

      Parameters:
      minimum - The minimum aggregated field value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maximum

      Statistics.Builder maximum(Double maximum)

      The maximum aggregated field value.

      Parameters:
      maximum - The maximum aggregated field value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sumOfSquares

      Statistics.Builder sumOfSquares(Double sumOfSquares)

      The sum of the squares of the aggregated field values.

      Parameters:
      sumOfSquares - The sum of the squares of the aggregated field values.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • variance

      Statistics.Builder variance(Double variance)

      The variance of the aggregated field values.

      Parameters:
      variance - The variance of the aggregated field values.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stdDeviation

      Statistics.Builder stdDeviation(Double stdDeviation)

      The standard deviation of the aggregated field values.

      Parameters:
      stdDeviation - The standard deviation of the aggregated field values.
      Returns:
      Returns a reference to this object so that method calls can be chained together.