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

A window expr that takes the form of an aggregate function

Implementations

create a new aggregate window function expression

Trait Implementations

Formats the value using the given formatter. Read more

peer based evaluation based on the fact that batch is pre-sorted given the sort columns and then per partition point we’ll evaluate the peer group (e.g. SUM or MAX gives the same results for peers) and concatenate the results.

Return a reference to Any that can be used for downcasting

the field of the final result of this window function.
Human readable name such as "MIN(c2)" or "RANK()". The default implementation returns placeholder text. Read more
expressions that are passed to the WindowAccumulator. Functions which take a single input argument, such as sum, return a single datafusion_expr::expr::Expr, others (e.g. cov) return many. Read more
evaluate the window function values against the batch
expressions that’s from the window function’s partition by clause, empty if absent
expressions that’s from the window function’s order by clause, empty if absent
evaluate the window function arguments against the batch and return array ref, normally the resulting vec is a single element one. Read more
evaluate the partition points given the sort columns; if the sort columns are empty then the result will be a single element vec of the whole column rows. Read more
get partition columns that can be used for partitioning, empty if absent
get sort columns that can be used for peer evaluation, empty if absent

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.