#[non_exhaustive]pub struct AggregationFunctionBuilder { /* private fields */ }
Expand description
A builder for AggregationFunction
.
Implementations§
source§impl AggregationFunctionBuilder
impl AggregationFunctionBuilder
sourcepub fn numerical_aggregation_function(
self,
input: NumericalAggregationFunction
) -> Self
pub fn numerical_aggregation_function( self, input: NumericalAggregationFunction ) -> Self
Aggregation for numerical values.
sourcepub fn set_numerical_aggregation_function(
self,
input: Option<NumericalAggregationFunction>
) -> Self
pub fn set_numerical_aggregation_function( self, input: Option<NumericalAggregationFunction> ) -> Self
Aggregation for numerical values.
sourcepub fn get_numerical_aggregation_function(
&self
) -> &Option<NumericalAggregationFunction>
pub fn get_numerical_aggregation_function( &self ) -> &Option<NumericalAggregationFunction>
Aggregation for numerical values.
sourcepub fn categorical_aggregation_function(
self,
input: CategoricalAggregationFunction
) -> Self
pub fn categorical_aggregation_function( self, input: CategoricalAggregationFunction ) -> Self
Aggregation for categorical values.
-
COUNT
: Aggregate by the total number of values, including duplicates. -
DISTINCT_COUNT
: Aggregate by the total number of distinct values.
sourcepub fn set_categorical_aggregation_function(
self,
input: Option<CategoricalAggregationFunction>
) -> Self
pub fn set_categorical_aggregation_function( self, input: Option<CategoricalAggregationFunction> ) -> Self
Aggregation for categorical values.
-
COUNT
: Aggregate by the total number of values, including duplicates. -
DISTINCT_COUNT
: Aggregate by the total number of distinct values.
sourcepub fn get_categorical_aggregation_function(
&self
) -> &Option<CategoricalAggregationFunction>
pub fn get_categorical_aggregation_function( &self ) -> &Option<CategoricalAggregationFunction>
Aggregation for categorical values.
-
COUNT
: Aggregate by the total number of values, including duplicates. -
DISTINCT_COUNT
: Aggregate by the total number of distinct values.
sourcepub fn date_aggregation_function(self, input: DateAggregationFunction) -> Self
pub fn date_aggregation_function(self, input: DateAggregationFunction) -> Self
Aggregation for date values.
-
COUNT
: Aggregate by the total number of values, including duplicates. -
DISTINCT_COUNT
: Aggregate by the total number of distinct values. -
MIN
: Select the smallest date value. -
MAX
: Select the largest date value.
sourcepub fn set_date_aggregation_function(
self,
input: Option<DateAggregationFunction>
) -> Self
pub fn set_date_aggregation_function( self, input: Option<DateAggregationFunction> ) -> Self
Aggregation for date values.
-
COUNT
: Aggregate by the total number of values, including duplicates. -
DISTINCT_COUNT
: Aggregate by the total number of distinct values. -
MIN
: Select the smallest date value. -
MAX
: Select the largest date value.
sourcepub fn get_date_aggregation_function(&self) -> &Option<DateAggregationFunction>
pub fn get_date_aggregation_function(&self) -> &Option<DateAggregationFunction>
Aggregation for date values.
-
COUNT
: Aggregate by the total number of values, including duplicates. -
DISTINCT_COUNT
: Aggregate by the total number of distinct values. -
MIN
: Select the smallest date value. -
MAX
: Select the largest date value.
sourcepub fn attribute_aggregation_function(
self,
input: AttributeAggregationFunction
) -> Self
pub fn attribute_aggregation_function( self, input: AttributeAggregationFunction ) -> Self
Aggregation for attributes.
sourcepub fn set_attribute_aggregation_function(
self,
input: Option<AttributeAggregationFunction>
) -> Self
pub fn set_attribute_aggregation_function( self, input: Option<AttributeAggregationFunction> ) -> Self
Aggregation for attributes.
sourcepub fn get_attribute_aggregation_function(
&self
) -> &Option<AttributeAggregationFunction>
pub fn get_attribute_aggregation_function( &self ) -> &Option<AttributeAggregationFunction>
Aggregation for attributes.
sourcepub fn build(self) -> AggregationFunction
pub fn build(self) -> AggregationFunction
Consumes the builder and constructs a AggregationFunction
.
Trait Implementations§
source§impl Clone for AggregationFunctionBuilder
impl Clone for AggregationFunctionBuilder
source§fn clone(&self) -> AggregationFunctionBuilder
fn clone(&self) -> AggregationFunctionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AggregationFunctionBuilder
impl Debug for AggregationFunctionBuilder
source§impl Default for AggregationFunctionBuilder
impl Default for AggregationFunctionBuilder
source§fn default() -> AggregationFunctionBuilder
fn default() -> AggregationFunctionBuilder
source§impl PartialEq for AggregationFunctionBuilder
impl PartialEq for AggregationFunctionBuilder
source§fn eq(&self, other: &AggregationFunctionBuilder) -> bool
fn eq(&self, other: &AggregationFunctionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.