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

A window expr that takes the form of a built in window function

Implementations§

create a new built-in window function expression

Get BuiltInWindowFunction expr of BuiltInWindowExpr

Trait Implementations§

Formats the value using the given formatter. Read more

Return a reference to Any that can be used for downcasting

Evaluate the window function against the batch. This function facilitates stateful, bounded-memory implementations.

Human readable name such as "MIN(c2)" or "RANK()". The default implementation returns placeholder text.
the field of the final result of this window function.
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.
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 values against the batch
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 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.