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 UnsafeUnpin 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
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