pub struct DenseRankFunction;Expand description
DENSE_RANK window function
Returns the rank of the current row within the partition, without gaps. Rows with equal values receive the same rank, and the next rank is incremented by 1 (no gaps).
Example: If two rows tie for rank 1, the next row gets rank 2.
Trait Implementations§
Source§impl Default for DenseRankFunction
impl Default for DenseRankFunction
Source§fn default() -> DenseRankFunction
fn default() -> DenseRankFunction
Returns the “default value” for a type. Read more
Source§impl WindowFunction for DenseRankFunction
impl WindowFunction for DenseRankFunction
Auto Trait Implementations§
impl Freeze for DenseRankFunction
impl RefUnwindSafe for DenseRankFunction
impl Send for DenseRankFunction
impl Sync for DenseRankFunction
impl Unpin for DenseRankFunction
impl UnsafeUnpin for DenseRankFunction
impl UnwindSafe for DenseRankFunction
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
Source§impl<T> CompactArcDrop for T
impl<T> CompactArcDrop for T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more