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
impl StructuralPartialEq for AggregateOperationBuilder
Auto Trait Implementations§
impl Freeze for AggregateOperationBuilder
impl RefUnwindSafe for AggregateOperationBuilder
impl Send for AggregateOperationBuilder
impl Sync for AggregateOperationBuilder
impl Unpin for AggregateOperationBuilder
impl UnwindSafe for AggregateOperationBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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