pub struct MultiFormatWriter;Expand description
Multi-format stream writer (Parquet, JSONL, CSV, filesystem Iceberg layout).
Implementations§
Source§impl MultiFormatWriter
impl MultiFormatWriter
Sourcepub fn write_batches(
batches: &[RecordBatch],
format: &OutputFormat,
destination_path: &Path,
) -> Result<usize>
pub fn write_batches( batches: &[RecordBatch], format: &OutputFormat, destination_path: &Path, ) -> Result<usize>
Writes RecordBatch array to target output format.
- Parquet / Jsonl / Csv — single file at
destination_path - Iceberg — table directory at
destination_pathwithdata/+metadata/ - ParquetAndIceberg — flat
.parquetsibling plus{stem}.iceberg/table dir - ZeroCopyClone — currently materializes Parquet (clone semantics later)
Auto Trait Implementations§
impl Freeze for MultiFormatWriter
impl RefUnwindSafe for MultiFormatWriter
impl Send for MultiFormatWriter
impl Sync for MultiFormatWriter
impl Unpin for MultiFormatWriter
impl UnsafeUnpin for MultiFormatWriter
impl UnwindSafe for MultiFormatWriter
Blanket Implementations§
impl<T> Allocation for T
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