pub struct Builder { /* private fields */ }
Expand description
A builder for NumericalAggregationFunction
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn simple_numerical_aggregation(
self,
input: SimpleNumericalAggregationFunction
) -> Self
pub fn simple_numerical_aggregation(
self,
input: SimpleNumericalAggregationFunction
) -> Self
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.
sourcepub fn set_simple_numerical_aggregation(
self,
input: Option<SimpleNumericalAggregationFunction>
) -> Self
pub fn set_simple_numerical_aggregation(
self,
input: Option<SimpleNumericalAggregationFunction>
) -> Self
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.
sourcepub fn percentile_aggregation(self, input: PercentileAggregation) -> Self
pub fn percentile_aggregation(self, input: PercentileAggregation) -> Self
An aggregation based on the percentile of values in a dimension or measure.
sourcepub fn set_percentile_aggregation(
self,
input: Option<PercentileAggregation>
) -> Self
pub fn set_percentile_aggregation(
self,
input: Option<PercentileAggregation>
) -> Self
An aggregation based on the percentile of values in a dimension or measure.
sourcepub fn build(self) -> NumericalAggregationFunction
pub fn build(self) -> NumericalAggregationFunction
Consumes the builder and constructs a NumericalAggregationFunction
.