Skip to main content

WindowExecutorExt

Trait WindowExecutorExt 

Source
pub trait WindowExecutorExt: WindowHost {
    // Provided methods
    fn execute_select_with_window_functions(
        &self,
        stmt: &SelectStatement,
        ctx: &ExecutionContext,
        base_rows: &[(i64, Row)],
        base_columns: &[String],
    ) -> Result<Box<dyn QueryResult>> { ... }
    fn execute_select_with_window_functions_presorted(
        &self,
        stmt: &SelectStatement,
        ctx: &ExecutionContext,
        base_rows: &[(i64, Row)],
        base_columns: &[String],
        pre_sorted: Option<WindowPreSortedState>,
    ) -> Result<Box<dyn QueryResult>> { ... }
    fn execute_select_with_window_functions_pregrouped(
        &self,
        stmt: &SelectStatement,
        ctx: &ExecutionContext,
        base_rows: &[(i64, Row)],
        base_columns: &[String],
        pre_grouped: WindowPreGroupedState,
    ) -> Result<Box<dyn QueryResult>> { ... }
    fn execute_select_with_window_functions_lazy_partition(
        &self,
        stmt: &SelectStatement,
        ctx: &ExecutionContext,
        table: &dyn Table,
        base_columns: &[String],
        partition_col: &str,
        limit: usize,
    ) -> Result<Box<dyn QueryResult>> { ... }
}
Expand description

Compatibility surface used by the composition root while the surrounding SELECT orchestration is migrated.

Provided Methods§

Source

fn execute_select_with_window_functions( &self, stmt: &SelectStatement, ctx: &ExecutionContext, base_rows: &[(i64, Row)], base_columns: &[String], ) -> Result<Box<dyn QueryResult>>

Source

fn execute_select_with_window_functions_presorted( &self, stmt: &SelectStatement, ctx: &ExecutionContext, base_rows: &[(i64, Row)], base_columns: &[String], pre_sorted: Option<WindowPreSortedState>, ) -> Result<Box<dyn QueryResult>>

Source

fn execute_select_with_window_functions_pregrouped( &self, stmt: &SelectStatement, ctx: &ExecutionContext, base_rows: &[(i64, Row)], base_columns: &[String], pre_grouped: WindowPreGroupedState, ) -> Result<Box<dyn QueryResult>>

Source

fn execute_select_with_window_functions_lazy_partition( &self, stmt: &SelectStatement, ctx: &ExecutionContext, table: &dyn Table, base_columns: &[String], partition_col: &str, limit: usize, ) -> Result<Box<dyn QueryResult>>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§