pub struct AggregateWindow<T: ClickTable> { /* private fields */ }Expand description
Aggregate window functions (SUM, AVG, etc. with OVER clause)
Implementations§
Source§impl<T: ClickTable> AggregateWindow<T>
impl<T: ClickTable> AggregateWindow<T>
pub fn sum<C: TypedColumn<Table = T>>(_col: C) -> Self
pub fn avg<C: TypedColumn<Table = T>>(_col: C) -> Self
pub fn count<C: TypedColumn<Table = T>>(_col: C) -> Self
pub fn min<C: TypedColumn<Table = T>>(_col: C) -> Self
pub fn max<C: TypedColumn<Table = T>>(_col: C) -> Self
pub fn over(self, window_spec: WindowSpec<T>) -> String
Auto Trait Implementations§
impl<T> Freeze for AggregateWindow<T>
impl<T> RefUnwindSafe for AggregateWindow<T>where
T: RefUnwindSafe,
impl<T> Send for AggregateWindow<T>
impl<T> Sync for AggregateWindow<T>
impl<T> Unpin for AggregateWindow<T>where
T: Unpin,
impl<T> UnwindSafe for AggregateWindow<T>where
T: UnwindSafe,
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