pub struct WindowExecutor<'a, H: WindowHost + ?Sized> { /* private fields */ }Expand description
Single owner for window planning, partition state, execution and result finalization. The host supplies only the immutable function registry.
Implementations§
Source§impl<'host, H: WindowHost + ?Sized> WindowExecutor<'host, H>
impl<'host, H: WindowHost + ?Sized> WindowExecutor<'host, H>
Sourcepub 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>>
pub 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>>
Lazy partition fetching for window functions with LIMIT pushdown Fetches partitions one at a time from the index and stops when LIMIT is reached This is the key optimization for PARTITION BY + LIMIT queries
Auto Trait Implementations§
impl<'a, H> Freeze for WindowExecutor<'a, H>
impl<'a, H> RefUnwindSafe for WindowExecutor<'a, H>
impl<'a, H> Send for WindowExecutor<'a, H>
impl<'a, H> Sync for WindowExecutor<'a, H>
impl<'a, H> Unpin for WindowExecutor<'a, H>
impl<'a, H> UnsafeUnpin for WindowExecutor<'a, H>
impl<'a, H> UnwindSafe for WindowExecutor<'a, H>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more