Interface NumericalAggregationFunction.Builder

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

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

    • simpleNumericalAggregation

      NumericalAggregationFunction.Builder simpleNumericalAggregation(String simpleNumericalAggregation)

      Built-in aggregation functions for numerical values.

      • SUM: The sum of a dimension or measure.

      • AVERAGE: The average of a dimension or measure.

      • MIN: The minimum value of a dimension or measure.

      • MAX: The maximum value of a dimension or measure.

      • COUNT: The count of a dimension or measure.

      • DISTINCT_COUNT: The count of distinct values in a dimension or measure.

      • VAR: The variance of a dimension or measure.

      • VARP: The partitioned variance of a dimension or measure.

      • STDEV: The standard deviation of a dimension or measure.

      • STDEVP: The partitioned standard deviation of a dimension or measure.

      • MEDIAN: The median value of a dimension or measure.

      Parameters:
      simpleNumericalAggregation - Built-in aggregation functions for numerical values.

      • SUM: The sum of a dimension or measure.

      • AVERAGE: The average of a dimension or measure.

      • MIN: The minimum value of a dimension or measure.

      • MAX: The maximum value of a dimension or measure.

      • COUNT: The count of a dimension or measure.

      • DISTINCT_COUNT: The count of distinct values in a dimension or measure.

      • VAR: The variance of a dimension or measure.

      • VARP: The partitioned variance of a dimension or measure.

      • STDEV: The standard deviation of a dimension or measure.

      • STDEVP: The partitioned standard deviation of a dimension or measure.

      • MEDIAN: The median value of a dimension or measure.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • simpleNumericalAggregation

      NumericalAggregationFunction.Builder simpleNumericalAggregation(SimpleNumericalAggregationFunction simpleNumericalAggregation)

      Built-in aggregation functions for numerical values.

      • SUM: The sum of a dimension or measure.

      • AVERAGE: The average of a dimension or measure.

      • MIN: The minimum value of a dimension or measure.

      • MAX: The maximum value of a dimension or measure.

      • COUNT: The count of a dimension or measure.

      • DISTINCT_COUNT: The count of distinct values in a dimension or measure.

      • VAR: The variance of a dimension or measure.

      • VARP: The partitioned variance of a dimension or measure.

      • STDEV: The standard deviation of a dimension or measure.

      • STDEVP: The partitioned standard deviation of a dimension or measure.

      • MEDIAN: The median value of a dimension or measure.

      Parameters:
      simpleNumericalAggregation - Built-in aggregation functions for numerical values.

      • SUM: The sum of a dimension or measure.

      • AVERAGE: The average of a dimension or measure.

      • MIN: The minimum value of a dimension or measure.

      • MAX: The maximum value of a dimension or measure.

      • COUNT: The count of a dimension or measure.

      • DISTINCT_COUNT: The count of distinct values in a dimension or measure.

      • VAR: The variance of a dimension or measure.

      • VARP: The partitioned variance of a dimension or measure.

      • STDEV: The standard deviation of a dimension or measure.

      • STDEVP: The partitioned standard deviation of a dimension or measure.

      • MEDIAN: The median value of a dimension or measure.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • percentileAggregation

      NumericalAggregationFunction.Builder percentileAggregation(PercentileAggregation percentileAggregation)

      An aggregation based on the percentile of values in a dimension or measure.

      Parameters:
      percentileAggregation - An aggregation based on the percentile of values in a dimension or measure.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • percentileAggregation

      default NumericalAggregationFunction.Builder percentileAggregation(Consumer<PercentileAggregation.Builder> percentileAggregation)

      An aggregation based on the percentile of values in a dimension or measure.

      This is a convenience method that creates an instance of the PercentileAggregation.Builder avoiding the need to create one manually via PercentileAggregation.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to percentileAggregation(PercentileAggregation).

      Parameters:
      percentileAggregation - a consumer that will call methods on PercentileAggregation.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: