#[non_exhaustive]pub struct NumericalAggregationFunction {
pub simple_numerical_aggregation: Option<SimpleNumericalAggregationFunction>,
pub percentile_aggregation: Option<PercentileAggregation>,
}
Expand description
Aggregation for numerical values.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.simple_numerical_aggregation: Option<SimpleNumericalAggregationFunction>
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.
percentile_aggregation: Option<PercentileAggregation>
An aggregation based on the percentile of values in a dimension or measure.
Implementations§
source§impl NumericalAggregationFunction
impl NumericalAggregationFunction
sourcepub fn simple_numerical_aggregation(
&self
) -> Option<&SimpleNumericalAggregationFunction>
pub fn simple_numerical_aggregation( &self ) -> Option<&SimpleNumericalAggregationFunction>
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) -> Option<&PercentileAggregation>
pub fn percentile_aggregation(&self) -> Option<&PercentileAggregation>
An aggregation based on the percentile of values in a dimension or measure.
source§impl NumericalAggregationFunction
impl NumericalAggregationFunction
sourcepub fn builder() -> NumericalAggregationFunctionBuilder
pub fn builder() -> NumericalAggregationFunctionBuilder
Creates a new builder-style object to manufacture NumericalAggregationFunction
.
Trait Implementations§
source§impl Clone for NumericalAggregationFunction
impl Clone for NumericalAggregationFunction
source§fn clone(&self) -> NumericalAggregationFunction
fn clone(&self) -> NumericalAggregationFunction
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for NumericalAggregationFunction
impl Debug for NumericalAggregationFunction
source§impl PartialEq for NumericalAggregationFunction
impl PartialEq for NumericalAggregationFunction
source§fn eq(&self, other: &NumericalAggregationFunction) -> bool
fn eq(&self, other: &NumericalAggregationFunction) -> bool
self
and other
values to be equal, and is used
by ==
.