pub struct ParallelVectorSource { /* private fields */ }Expand description
Parallel source wrapper for vector data.
Wraps columnar data in a parallel source that can be partitioned.
Implementations§
Trait Implementations§
Source§impl ParallelSource for ParallelVectorSource
impl ParallelSource for ParallelVectorSource
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 ParallelVectorSource
impl Source for ParallelVectorSource
Auto Trait Implementations§
impl Freeze for ParallelVectorSource
impl RefUnwindSafe for ParallelVectorSource
impl Send for ParallelVectorSource
impl Sync for ParallelVectorSource
impl Unpin for ParallelVectorSource
impl UnwindSafe for ParallelVectorSource
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