pub trait RowBatchBuilder<R>:
Debug
+ Clone
+ 'static {
// Required methods
fn len(&self) -> usize;
fn push(&mut self, row: R);
fn build_columns(&mut self) -> Result<Vec<ArrayRef>>;
// Provided methods
fn is_empty(&self) -> bool { ... }
fn build(&mut self, schema: SchemaRef) -> Result<RecordBatch> { ... }
}
Required Methods§
fn len(&self) -> usize
fn push(&mut self, row: R)
fn build_columns(&mut self) -> Result<Vec<ArrayRef>>
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.