pub struct ParallelChunkSource { /* private fields */ }Expand description
Parallel source for pre-built chunks.
Wraps a collection of DataChunks in a parallel source.
Implementations§
Trait Implementations§
Source§impl ParallelSource for ParallelChunkSource
impl ParallelSource for ParallelChunkSource
Source§fn total_rows(&self) -> Option<usize>
fn total_rows(&self) -> Option<usize>
Returns the total number of rows in this source, if known. Read more
Source§fn create_partition(&self, morsel: &Morsel) -> Box<dyn Source>
fn create_partition(&self, morsel: &Morsel) -> Box<dyn Source>
Creates a partition source for the given morsel. Read more
Source§fn num_columns(&self) -> usize
fn num_columns(&self) -> usize
Returns the number of columns in this source.
Source§fn is_partitionable(&self) -> bool
fn is_partitionable(&self) -> bool
Returns whether this source can be partitioned. Read more
Source§impl Source for ParallelChunkSource
impl Source for ParallelChunkSource
Auto Trait Implementations§
impl Freeze for ParallelChunkSource
impl RefUnwindSafe for ParallelChunkSource
impl Send for ParallelChunkSource
impl Sync for ParallelChunkSource
impl Unpin for ParallelChunkSource
impl UnwindSafe for ParallelChunkSource
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