pub struct Rank { /* private fields */ }
Expand description

Rank calculates the rank in the window function with order by

Implementations§

Get rank_type of the rank in window function with order by

Trait Implementations§

Return a reference to Any that can be used for downcasting

the field of the final result of this aggregation.
expressions that are passed to the Accumulator. Single-column aggregations such as sum return a single value, others (e.g. cov) return many.
Human readable name such as "MIN(c2)" or "RANK()". The default implementation returns placeholder text.
Create built-in window evaluator with a batch
Evaluate window function arguments against the batch and return an array ref. Typically, the resulting vector is a single element vector.
Construct Reverse Expression that produces the same result on a reversed window. For example lead(10) –> lag(10)
Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.