pub struct FlatDataWrapper { /* private fields */ }Expand description
Wrapper to treat a flat DataChunk as FactorizedData.
This enables uniform handling of flat and factorized data in operators.
Implementations§
Trait Implementations§
Source§impl FactorizedData for FlatDataWrapper
impl FactorizedData for FlatDataWrapper
Source§fn chunk_state(&self) -> &ChunkState
fn chunk_state(&self) -> &ChunkState
Returns the chunk state (factorization status, cached data).
Source§fn logical_row_count(&self) -> usize
fn logical_row_count(&self) -> usize
Returns the logical row count (considering selection).
Source§fn physical_size(&self) -> usize
fn physical_size(&self) -> usize
Returns the physical size (actual stored values).
Source§fn is_factorized(&self) -> bool
fn is_factorized(&self) -> bool
Returns true if this data is factorized (multi-level).
Source§fn as_factorized(&self) -> Option<&FactorizedChunk>
fn as_factorized(&self) -> Option<&FactorizedChunk>
Returns as FactorizedChunk if factorized, None if flat.
Auto Trait Implementations§
impl Freeze for FlatDataWrapper
impl RefUnwindSafe for FlatDataWrapper
impl Send for FlatDataWrapper
impl Sync for FlatDataWrapper
impl Unpin for FlatDataWrapper
impl UnwindSafe for FlatDataWrapper
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