Trait iceberg::writer::file_writer::FileWriter
source · pub trait FileWriter<O = Vec<DataFileBuilder>>: Send + CurrentFileStatus + 'static {
// Required methods
fn write(
&mut self,
batch: &RecordBatch,
) -> impl Future<Output = Result<()>> + Send;
fn close(self) -> impl Future<Output = Result<O>> + Send;
}
Expand description
File writer focus on writing record batch to different physical file format.(Such as parquet. orc)
Required Methods§
Object Safety§
This trait is not object safe.