pub struct NtileFunction { /* private fields */ }Expand description
NTILE window function
Divides the partition into n roughly equal groups and returns the group number (1 to n) that each row belongs to.
If the partition doesn’t divide evenly, the first groups get one extra row.
Implementations§
Trait Implementations§
Source§impl Default for NtileFunction
impl Default for NtileFunction
Source§fn default() -> NtileFunction
fn default() -> NtileFunction
Returns the “default value” for a type. Read more
Source§impl WindowFunction for NtileFunction
impl WindowFunction for NtileFunction
Auto Trait Implementations§
impl Freeze for NtileFunction
impl RefUnwindSafe for NtileFunction
impl Send for NtileFunction
impl Sync for NtileFunction
impl Unpin for NtileFunction
impl UnsafeUnpin for NtileFunction
impl UnwindSafe for NtileFunction
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