Struct polars_io::partition::PartitionedWriter
source · [−]pub struct PartitionedWriter<F> { /* private fields */ }
Expand description
Write a DataFrame with disk partitioning
Example
use polars_core::prelude::*;
use polars_io::ipc::IpcWriterOption;
use polars_io::partition::PartitionedWriter;
fn example(df: &mut DataFrame) -> Result<()> {
let option = IpcWriterOption::default();
PartitionedWriter::new(option, "./rootdir", ["a", "b"])
.finish(df)
}
Implementations
sourceimpl<F> PartitionedWriter<F> where
F: WriterFactory + Send + Sync,
impl<F> PartitionedWriter<F> where
F: WriterFactory + Send + Sync,
Auto Trait Implementations
impl<F> RefUnwindSafe for PartitionedWriter<F> where
F: RefUnwindSafe,
impl<F> Send for PartitionedWriter<F> where
F: Send,
impl<F> Sync for PartitionedWriter<F> where
F: Sync,
impl<F> Unpin for PartitionedWriter<F> where
F: Unpin,
impl<F> UnwindSafe for PartitionedWriter<F> where
F: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more