pub struct ArrowBulkIngestBuilder<'e, R: EvaluationContext> { /* private fields */ }Expand description
Bulk Arrow ingest builder for Phase A base values.
Implementations§
Source§impl<'e, R: EvaluationContext> ArrowBulkIngestBuilder<'e, R>
impl<'e, R: EvaluationContext> ArrowBulkIngestBuilder<'e, R>
pub fn new(engine: &'e mut Engine<R>) -> Self
Sourcepub fn add_sheet(&mut self, name: &str, ncols: usize, chunk_rows: usize)
pub fn add_sheet(&mut self, name: &str, ncols: usize, chunk_rows: usize)
Add a sheet ingest target. Creates or replaces any existing Arrow sheet on finish.
Sourcepub fn append_row(
&mut self,
name: &str,
row: &[LiteralValue],
) -> Result<(), ExcelError>
pub fn append_row( &mut self, name: &str, row: &[LiteralValue], ) -> Result<(), ExcelError>
Append a single row of values for the given sheet (0-based col order, length == ncols).
Sourcepub fn finish(self) -> Result<ArrowBulkIngestSummary, ExcelError>
pub fn finish(self) -> Result<ArrowBulkIngestSummary, ExcelError>
Finish all sheet builders, installing ArrowSheets into the engine store.
Auto Trait Implementations§
impl<'e, R> Freeze for ArrowBulkIngestBuilder<'e, R>
impl<'e, R> !RefUnwindSafe for ArrowBulkIngestBuilder<'e, R>
impl<'e, R> Send for ArrowBulkIngestBuilder<'e, R>
impl<'e, R> Sync for ArrowBulkIngestBuilder<'e, R>
impl<'e, R> Unpin for ArrowBulkIngestBuilder<'e, R>
impl<'e, R> !UnwindSafe for ArrowBulkIngestBuilder<'e, R>
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