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 ==.impl StructuralPartialEq for AggregateOperation
Auto Trait Implementations§
impl Freeze for AggregateOperation
impl RefUnwindSafe for AggregateOperation
impl Send for AggregateOperation
impl Sync for AggregateOperation
impl Unpin for AggregateOperation
impl UnwindSafe for AggregateOperation
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> 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