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

nth_value expression

Implementations§

Create a new FIRST_VALUE window aggregate function

Create a new LAST_VALUE window aggregate function

Create a new NTH_VALUE window aggregate function

Get nth_value kind

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
Construct Reverse Expression that produces the same result on a reversed window. For example lead(10) –> lag(10)
Evaluate window function arguments against the batch and return an array ref. Typically, the resulting vector is a single element vector.
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.