pub struct WindowPreGroupedState {
pub partition_map: FxHashMap<SmallVec<[Value; 4]>, Vec<usize>>,
pub partition_column: String,
}Expand description
Pre-grouped state for window function PARTITION BY optimization When rows are fetched grouped by an indexed partition column, we can skip hash-based grouping
Fields§
§partition_map: FxHashMap<SmallVec<[Value; 4]>, Vec<usize>>Pre-built partition map: partition key -> row indices
partition_column: StringThe column name (lowercase) that the partition map was built from
Trait Implementations§
Source§impl Clone for WindowPreGroupedState
impl Clone for WindowPreGroupedState
Source§fn clone(&self) -> WindowPreGroupedState
fn clone(&self) -> WindowPreGroupedState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for WindowPreGroupedState
impl RefUnwindSafe for WindowPreGroupedState
impl Send for WindowPreGroupedState
impl Sync for WindowPreGroupedState
impl Unpin for WindowPreGroupedState
impl UnsafeUnpin for WindowPreGroupedState
impl UnwindSafe for WindowPreGroupedState
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