Struct polars_io::parquet::BatchedWriter
source · pub struct BatchedWriter<W: Write> { /* private fields */ }
Available on crate feature
parquet
only.Implementations§
source§impl<W: Write> BatchedWriter<W>
impl<W: Write> BatchedWriter<W>
sourcepub fn write_batch(&mut self, df: &DataFrame) -> PolarsResult<()>
pub fn write_batch(&mut self, df: &DataFrame) -> PolarsResult<()>
sourcepub fn finish(&mut self) -> PolarsResult<u64>
pub fn finish(&mut self) -> PolarsResult<u64>
Writes the footer of the parquet file. Returns the total size of the file.