pub struct AggregationContext<'a> { /* private fields */ }Implementations§
Source§impl<'a> AggregationContext<'a>
impl<'a> AggregationContext<'a>
pub fn agg_state(&self) -> &AggState
Sourcepub fn normalize_values(&mut self)
pub fn normalize_values(&mut self)
Ensure that each group is represented by contiguous values in memory.
Sourcepub fn aggregated_as_list<'b>(&'b mut self) -> Cow<'b, ListChunked>
pub fn aggregated_as_list<'b>(&'b mut self) -> Cow<'b, ListChunked>
Aggregate into ListChunked.
Sourcepub fn aggregated(&mut self) -> Column
pub fn aggregated(&mut self) -> Column
Get the aggregated version of the series.
pub fn get_final_aggregation(self) -> (Column, Cow<'a, GroupPositions>)
pub fn into_static(&self) -> AggregationContext<'static>
Trait Implementations§
Auto Trait Implementations§
impl<'a> !Freeze for AggregationContext<'a>
impl<'a> !RefUnwindSafe for AggregationContext<'a>
impl<'a> Send for AggregationContext<'a>
impl<'a> Sync for AggregationContext<'a>
impl<'a> Unpin for AggregationContext<'a>
impl<'a> !UnwindSafe for AggregationContext<'a>
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
Mutably borrows from an owned value. Read more
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> ⓘ
Converts
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> ⓘ
Converts
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