pub struct StructOfChunks;Expand description
Struct-of-chunks is the default Vortex layout strategy.
This layout first splits data into struct columns, before applying chunking as per the provided batches.
TODO(ngates): add configuration options to this struct to re-chunk the data within each column by size.
Trait Implementations§
Source§impl LayoutStrategy for StructOfChunks
impl LayoutStrategy for StructOfChunks
fn new_writer(&self, dtype: &DType) -> VortexResult<Box<dyn LayoutWriter>>
Auto Trait Implementations§
impl Freeze for StructOfChunks
impl RefUnwindSafe for StructOfChunks
impl Send for StructOfChunks
impl Sync for StructOfChunks
impl Unpin for StructOfChunks
impl UnwindSafe for StructOfChunks
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more