Interface Statistics.Builder

    • Method Detail

      • count

        Statistics.Builder count​(Integer count)

        The number of values in the field. If the response value is -1, refer to CountLong.

        Parameters:
        count - The number of values in the field. If the response value is -1, refer to CountLong.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • countDistinct

        Statistics.Builder countDistinct​(Integer countDistinct)

        The number of distinct values in the field. If the response value is -1, refer to CountDistinctLong.

        Parameters:
        countDistinct - The number of distinct values in the field. If the response value is -1, refer to CountDistinctLong.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • countNull

        Statistics.Builder countNull​(Integer countNull)

        The number of null values in the field. If the response value is -1, refer to CountNullLong.

        Parameters:
        countNull - The number of null values in the field. If the response value is -1, refer to CountNullLong.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • countNan

        Statistics.Builder countNan​(Integer countNan)

        The number of NAN (not a number) values in the field. If the response value is -1, refer to CountNanLong.

        Parameters:
        countNan - The number of NAN (not a number) values in the field. If the response value is -1, refer to CountNanLong.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • min

        Statistics.Builder min​(String min)

        For a numeric field, the minimum value in the field.

        Parameters:
        min - For a numeric field, the minimum value in the field.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • max

        Statistics.Builder max​(String max)

        For a numeric field, the maximum value in the field.

        Parameters:
        max - For a numeric field, the maximum value in the field.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • avg

        Statistics.Builder avg​(Double avg)

        For a numeric field, the average value in the field.

        Parameters:
        avg - For a numeric field, the average value in the field.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • stddev

        Statistics.Builder stddev​(Double stddev)

        For a numeric field, the standard deviation.

        Parameters:
        stddev - For a numeric field, the standard deviation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • countLong

        Statistics.Builder countLong​(Long countLong)

        The number of values in the field. CountLong is used instead of Count if the value is greater than 2,147,483,647.

        Parameters:
        countLong - The number of values in the field. CountLong is used instead of Count if the value is greater than 2,147,483,647.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • countDistinctLong

        Statistics.Builder countDistinctLong​(Long countDistinctLong)

        The number of distinct values in the field. CountDistinctLong is used instead of CountDistinct if the value is greater than 2,147,483,647.

        Parameters:
        countDistinctLong - The number of distinct values in the field. CountDistinctLong is used instead of CountDistinct if the value is greater than 2,147,483,647.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • countNullLong

        Statistics.Builder countNullLong​(Long countNullLong)

        The number of null values in the field. CountNullLong is used instead of CountNull if the value is greater than 2,147,483,647.

        Parameters:
        countNullLong - The number of null values in the field. CountNullLong is used instead of CountNull if the value is greater than 2,147,483,647.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • countNanLong

        Statistics.Builder countNanLong​(Long countNanLong)

        The number of NAN (not a number) values in the field. CountNanLong is used instead of CountNan if the value is greater than 2,147,483,647.

        Parameters:
        countNanLong - The number of NAN (not a number) values in the field. CountNanLong is used instead of CountNan if the value is greater than 2,147,483,647.
        Returns:
        Returns a reference to this object so that method calls can be chained together.