pub enum WindowFunction {
RowNumber,
Rank,
DenseRank,
PercentRank,
CumeDist,
Ntile(TypedExpr),
Aggregate(AggregateExpr),
Value(ValueWindowFunction),
Lag(OffsetWindowFunction),
Lead(OffsetWindowFunction),
}Expand description
Function evaluated by a window operator.
Variants§
RowNumber
Rank
DenseRank
PercentRank
CumeDist
Ntile(TypedExpr)
Aggregate(AggregateExpr)
Value(ValueWindowFunction)
Lag(OffsetWindowFunction)
Value at an offset before the current row in the whole partition.
Lead(OffsetWindowFunction)
Value at an offset after the current row in the whole partition.
Trait Implementations§
Source§impl Clone for WindowFunction
impl Clone for WindowFunction
Source§fn clone(&self) -> WindowFunction
fn clone(&self) -> WindowFunction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for WindowFunction
impl RefUnwindSafe for WindowFunction
impl Send for WindowFunction
impl Sync for WindowFunction
impl Unpin for WindowFunction
impl UnsafeUnpin for WindowFunction
impl UnwindSafe for WindowFunction
Blanket Implementations§
impl<T> Allocation for T
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