pub struct PreprocessStream {
pub num_chunks: u64,
pub col_graph: ColGraph,
pub cols: Vec<usize>,
pub preprocess_map: HashMap<usize, ColumnPreprocess>,
/* private fields */
}Fields§
§num_chunks: u64§col_graph: ColGraph§cols: Vec<usize>§preprocess_map: HashMap<usize, ColumnPreprocess>Implementations§
Source§impl PreprocessStream
impl PreprocessStream
pub fn new(col_graph: ColGraph) -> Self
pub fn preprocess(&mut self, chunk: &ChunkTable) -> Result<(), String>
pub fn preprocess_batch(&mut self, chunk: &BatchChunk) -> Result<(), String>
pub fn finish_map(&mut self, depth: &BinDepth) -> Result<(), String>
pub fn use_map( &self, chunk: &ChunkTable, ) -> Result<HashMap<String, ColumnVec>, String>
pub fn use_map_batch( &self, chunk: &BatchChunk, ) -> Result<HashMap<String, ColumnVec>, String>
Trait Implementations§
Source§impl Clone for PreprocessStream
impl Clone for PreprocessStream
Source§fn clone(&self) -> PreprocessStream
fn clone(&self) -> PreprocessStream
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PreprocessStream
impl RefUnwindSafe for PreprocessStream
impl Send for PreprocessStream
impl Sync for PreprocessStream
impl Unpin for PreprocessStream
impl UnsafeUnpin for PreprocessStream
impl UnwindSafe for PreprocessStream
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