pub struct DenseRankFunc;Trait Implementations§
Source§impl WindowFunction for DenseRankFunc
impl WindowFunction for DenseRankFunc
Source§type State = DenseRankState
type State = DenseRankState
The per-partition accumulator type.
Source§fn initial_state(&self) -> Self::State
fn initial_state(&self) -> Self::State
Create a fresh accumulator.
Source§fn step(&self, state: &mut Self::State, args: &[SqliteValue]) -> Result<()>
fn step(&self, state: &mut Self::State, args: &[SqliteValue]) -> Result<()>
Add a row to the window frame.
Source§fn inverse(&self, _state: &mut Self::State, _args: &[SqliteValue]) -> Result<()>
fn inverse(&self, _state: &mut Self::State, _args: &[SqliteValue]) -> Result<()>
Remove a row from the window frame (sliding window support). Read more
Source§fn value(&self, state: &Self::State) -> Result<SqliteValue>
fn value(&self, state: &Self::State) -> Result<SqliteValue>
Return the current result without consuming state. Read more
Auto Trait Implementations§
impl Freeze for DenseRankFunc
impl RefUnwindSafe for DenseRankFunc
impl Send for DenseRankFunc
impl Sync for DenseRankFunc
impl Unpin for DenseRankFunc
impl UnsafeUnpin for DenseRankFunc
impl UnwindSafe for DenseRankFunc
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