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

Trait Implementations

Formats the value using the given formatter. Read more

Return a reference to Any that can be used for downcasting

Human readable name such as "MIN(c2)" or "RANK()". The default implementation returns placeholder text. Read more

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. Read more

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

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.