pub struct WindowExpr<T: ClickTable, F> { /* private fields */ }Expand description
Window function expression
Implementations§
Source§impl<T: ClickTable, F> WindowExpr<T, F>
impl<T: ClickTable, F> WindowExpr<T, F>
Source§impl<T: ClickTable, F: WindowFunction> WindowExpr<T, F>
impl<T: ClickTable, F: WindowFunction> WindowExpr<T, F>
pub fn new(window_spec: WindowSpec<T>) -> Self
Source§impl<T: ClickTable, ColType> WindowExpr<T, Lag<ColType>>
LAG/LEAD window expressions with column argument
impl<T: ClickTable, ColType> WindowExpr<T, Lag<ColType>>
LAG/LEAD window expressions with column argument
pub fn with_column<C: TypedColumn<Table = T, Type = ColType>>( _col: C, window_spec: WindowSpec<T>, ) -> Self
pub fn with_column_and_offset<C: TypedColumn<Table = T, Type = ColType>>( _col: C, offset: u64, window_spec: WindowSpec<T>, ) -> Self
Source§impl<T: ClickTable, ColType> WindowExpr<T, Lead<ColType>>
impl<T: ClickTable, ColType> WindowExpr<T, Lead<ColType>>
pub fn with_column<C: TypedColumn<Table = T, Type = ColType>>( _col: C, window_spec: WindowSpec<T>, ) -> Self
pub fn with_column_and_offset<C: TypedColumn<Table = T, Type = ColType>>( _col: C, offset: u64, window_spec: WindowSpec<T>, ) -> Self
Auto Trait Implementations§
impl<T, F> Freeze for WindowExpr<T, F>
impl<T, F> RefUnwindSafe for WindowExpr<T, F>where
T: RefUnwindSafe,
F: RefUnwindSafe,
impl<T, F> Send for WindowExpr<T, F>where
F: Send,
impl<T, F> Sync for WindowExpr<T, F>where
F: Sync,
impl<T, F> Unpin for WindowExpr<T, F>
impl<T, F> UnwindSafe for WindowExpr<T, F>where
T: UnwindSafe,
F: 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