#[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 get_simple_numerical_aggregation(
&self,
) -> &Option<SimpleNumericalAggregationFunction>
pub fn get_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, 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 get_percentile_aggregation(&self) -> &Option<PercentileAggregation>
pub fn get_percentile_aggregation(&self) -> &Option<PercentileAggregation>
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 for NumericalAggregationFunctionBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for NumericalAggregationFunctionBuilder
Auto Trait Implementations§
impl Freeze for NumericalAggregationFunctionBuilder
impl RefUnwindSafe for NumericalAggregationFunctionBuilder
impl Send for NumericalAggregationFunctionBuilder
impl Sync for NumericalAggregationFunctionBuilder
impl Unpin for NumericalAggregationFunctionBuilder
impl UnwindSafe for NumericalAggregationFunctionBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more