pub enum SelectAggregator {
Avg,
Count,
Sum,
Max,
Min,
}Expand description
Representation of an aggregator function
Variants§
Avg
Returns the average value of all non-null values. The result of avg is a floating point value, except all input values are null, than the result will also be null.
Count
Returns the count of the number of times that the column is not null.
Sum
Returns the summary off all non-null values in the group. If there are only null values in the group, this function will return null.
Max
Returns the maximum value of all values in the group. If there are only null values in the group, this function will return null.
Min
Returns the minimum value of all values in the group. If there are only null values in the group, this function will return null.
Trait Implementations§
Source§impl Clone for SelectAggregator
impl Clone for SelectAggregator
Source§fn clone(&self) -> SelectAggregator
fn clone(&self) -> SelectAggregator
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SelectAggregator
impl Debug for SelectAggregator
impl Copy for SelectAggregator
Auto Trait Implementations§
impl Freeze for SelectAggregator
impl RefUnwindSafe for SelectAggregator
impl Send for SelectAggregator
impl Sync for SelectAggregator
impl Unpin for SelectAggregator
impl UnwindSafe for SelectAggregator
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