Struct aws_sdk_glue::types::AggregateOperation
source · #[non_exhaustive]pub struct AggregateOperation {
pub column: Vec<String>,
pub agg_func: AggFunction,
}Expand description
Specifies the set of parameters needed to perform aggregation in the aggregate transform.
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.column: Vec<String>Specifies the column on the data set on which the aggregation function will be applied.
agg_func: AggFunctionSpecifies 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
Implementations§
source§impl AggregateOperation
impl AggregateOperation
sourcepub fn column(&self) -> &[String]
pub fn column(&self) -> &[String]
Specifies the column on the data set on which the aggregation function will be applied.
sourcepub fn agg_func(&self) -> &AggFunction
pub fn agg_func(&self) -> &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
source§impl AggregateOperation
impl AggregateOperation
sourcepub fn builder() -> AggregateOperationBuilder
pub fn builder() -> AggregateOperationBuilder
Creates a new builder-style object to manufacture AggregateOperation.
Trait Implementations§
source§impl Clone for AggregateOperation
impl Clone for AggregateOperation
source§fn clone(&self) -> AggregateOperation
fn clone(&self) -> AggregateOperation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AggregateOperation
impl Debug for AggregateOperation
source§impl PartialEq for AggregateOperation
impl PartialEq for AggregateOperation
source§fn eq(&self, other: &AggregateOperation) -> bool
fn eq(&self, other: &AggregateOperation) -> bool
self and other values to be equal, and is used
by ==.