pub struct WindowAggState {
    pub window_frame_range: Range<usize>,
    pub last_calculated_index: usize,
    pub offset_pruned_rows: usize,
    pub window_function_state: WindowFunctionState,
    pub out_col: ArrayRef,
    pub n_row_result_missing: usize,
    pub is_end: bool,
}

Fields§

§window_frame_range: Range<usize>

The range that we calculate the window function

§last_calculated_index: usize

The index of the last row that its result is calculated inside the partition record batch buffer.

§offset_pruned_rows: usize

The offset of the deleted row number

§window_function_state: WindowFunctionState

State of the window function, required to calculate its result

§out_col: ArrayRef

Stores the results calculated by window frame

§n_row_result_missing: usize

Keeps track of how many rows should be generated to be in sync with input record_batch.

§is_end: bool

flag indicating whether we have received all data for this partition

Implementations§

Trait Implementations§

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.