pub enum AggregateStatePlan {
Generic,
Count,
Sum,
SumReal,
Min,
Max,
BoolAnd,
BoolOr,
Buffered,
BufferedWithNulls,
BufferedArrays,
Statistics,
}Variants§
Generic
Conservative fallback for an aggregate whose state requirements are not known here.
Count
Sum
SumReal
Min
Max
BoolAnd
BoolOr
Buffered
Retains non-NULL inputs: string_agg, the ordered-set aggregates and the JSON object aggregates, whose pairs are never NULL.
BufferedWithNulls
Retains every input including NULL, as array_agg over non-array input, json_agg and jsonb_agg do.
BufferedArrays
array_agg over array input, whose transition rejects NULL, empty and differently shaped arrays.
Statistics
Trait Implementations§
Source§impl Clone for AggregateStatePlan
impl Clone for AggregateStatePlan
impl Copy for AggregateStatePlan
Auto Trait Implementations§
impl Freeze for AggregateStatePlan
impl RefUnwindSafe for AggregateStatePlan
impl Send for AggregateStatePlan
impl Sync for AggregateStatePlan
impl Unpin for AggregateStatePlan
impl UnsafeUnpin for AggregateStatePlan
impl UnwindSafe for AggregateStatePlan
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
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