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

Get aggregate expr of AggregateWindowExpr

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.
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.
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
Get the window frame of this WindowExpr.
Get the reverse expression of this WindowExpr.
Return a flag indicating whether this WindowExpr can run with bounded memory.
evaluate the window function arguments against the batch and return array ref, normally the resulting vec is a single element one.
evaluate the window function values against the batch
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.
get order by columns, empty if absent
get sort columns that can be used for peer evaluation, empty if absent
Get values columns(argument of Window Function) and order by columns (columns of the ORDER BY expression)used in evaluators

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.