pub struct WindowSpec<T: ClickTable> { /* private fields */ }Expand description
Window specification builder
Implementations§
Source§impl<T: ClickTable> WindowSpec<T>
impl<T: ClickTable> WindowSpec<T>
pub fn new() -> Self
pub fn partition_by<C: TypedColumn<Table = T>>(self, _col: C) -> Self
pub fn order_by<C: TypedColumn<Table = T>>(self, _col: C, desc: bool) -> Self
pub fn rows_between(self, start: FrameBoundary, end: FrameBoundary) -> Self
pub fn range_between(self, start: FrameBoundary, end: FrameBoundary) -> Self
pub fn to_sql(&self) -> String
Trait Implementations§
Source§impl<T: ClickTable> Default for WindowSpec<T>
impl<T: ClickTable> Default for WindowSpec<T>
Auto Trait Implementations§
impl<T> Freeze for WindowSpec<T>
impl<T> RefUnwindSafe for WindowSpec<T>where
T: RefUnwindSafe,
impl<T> Send for WindowSpec<T>
impl<T> Sync for WindowSpec<T>
impl<T> Unpin for WindowSpec<T>where
T: Unpin,
impl<T> UnwindSafe for WindowSpec<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