pub struct NtileState { /* private fields */ }Expand description
State for ntile(N).
The VDBE must step() all rows first, then iterate with value()+inverse(). Distributes rows into N groups. If partition_size % N != 0, the first (partition_size % N) groups get one extra row.
Auto Trait Implementations§
impl Freeze for NtileState
impl RefUnwindSafe for NtileState
impl Send for NtileState
impl Sync for NtileState
impl Unpin for NtileState
impl UnsafeUnpin for NtileState
impl UnwindSafe for NtileState
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