Struct aws_sdk_glue::types::builders::AggregateOperationBuilder
source · #[non_exhaustive]pub struct AggregateOperationBuilder { /* private fields */ }Expand description
A builder for AggregateOperation.
Implementations§
source§impl AggregateOperationBuilder
impl AggregateOperationBuilder
sourcepub fn column(self, input: impl Into<String>) -> Self
pub fn column(self, input: impl Into<String>) -> Self
Appends an item to column.
To override the contents of this collection use set_column.
Specifies the column on the data set on which the aggregation function will be applied.
sourcepub fn set_column(self, input: Option<Vec<String>>) -> Self
pub fn set_column(self, input: Option<Vec<String>>) -> Self
Specifies the column on the data set on which the aggregation function will be applied.
sourcepub fn get_column(&self) -> &Option<Vec<String>>
pub fn get_column(&self) -> &Option<Vec<String>>
Specifies the column on the data set on which the aggregation function will be applied.
sourcepub fn agg_func(self, input: AggFunction) -> Self
pub fn agg_func(self, input: AggFunction) -> Self
Specifies the aggregation function to apply.
Possible aggregation functions include: avg countDistinct, count, first, last, kurtosis, max, min, skewness, stddev_samp, stddev_pop, sum, sumDistinct, var_samp, var_pop
This field is required.sourcepub fn set_agg_func(self, input: Option<AggFunction>) -> Self
pub fn set_agg_func(self, input: Option<AggFunction>) -> Self
Specifies the aggregation function to apply.
Possible aggregation functions include: avg countDistinct, count, first, last, kurtosis, max, min, skewness, stddev_samp, stddev_pop, sum, sumDistinct, var_samp, var_pop
sourcepub fn get_agg_func(&self) -> &Option<AggFunction>
pub fn get_agg_func(&self) -> &Option<AggFunction>
Specifies the aggregation function to apply.
Possible aggregation functions include: avg countDistinct, count, first, last, kurtosis, max, min, skewness, stddev_samp, stddev_pop, sum, sumDistinct, var_samp, var_pop
sourcepub fn build(self) -> Result<AggregateOperation, BuildError>
pub fn build(self) -> Result<AggregateOperation, BuildError>
Consumes the builder and constructs a AggregateOperation.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for AggregateOperationBuilder
impl Clone for AggregateOperationBuilder
source§fn clone(&self) -> AggregateOperationBuilder
fn clone(&self) -> AggregateOperationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AggregateOperationBuilder
impl Debug for AggregateOperationBuilder
source§impl Default for AggregateOperationBuilder
impl Default for AggregateOperationBuilder
source§fn default() -> AggregateOperationBuilder
fn default() -> AggregateOperationBuilder
source§impl PartialEq for AggregateOperationBuilder
impl PartialEq for AggregateOperationBuilder
source§fn eq(&self, other: &AggregateOperationBuilder) -> bool
fn eq(&self, other: &AggregateOperationBuilder) -> bool
self and other values to be equal, and is used
by ==.