#[non_exhaustive]pub struct NumericalAggregationFunctionBuilder { /* private fields */ }Expand description
A builder for NumericalAggregationFunction.
Implementations§
source§impl NumericalAggregationFunctionBuilder
impl NumericalAggregationFunctionBuilder
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.
Trait Implementations§
source§impl Clone for NumericalAggregationFunctionBuilder
impl Clone for NumericalAggregationFunctionBuilder
source§fn clone(&self) -> NumericalAggregationFunctionBuilder
fn clone(&self) -> NumericalAggregationFunctionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for NumericalAggregationFunctionBuilder
impl Default for NumericalAggregationFunctionBuilder
source§fn default() -> NumericalAggregationFunctionBuilder
fn default() -> NumericalAggregationFunctionBuilder
source§impl PartialEq<NumericalAggregationFunctionBuilder> for NumericalAggregationFunctionBuilder
impl PartialEq<NumericalAggregationFunctionBuilder> for NumericalAggregationFunctionBuilder
source§fn eq(&self, other: &NumericalAggregationFunctionBuilder) -> bool
fn eq(&self, other: &NumericalAggregationFunctionBuilder) -> bool
self and other values to be equal, and is used
by ==.