pub struct BatchedWriter<W: Write> { /* private fields */ }Available on crate features
ipc_streaming or ipc 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 write_encoded(
&mut self,
dictionaries: &[EncodedData],
message: &EncodedData,
) -> PolarsResult<()>
pub fn write_encoded( &mut self, dictionaries: &[EncodedData], message: &EncodedData, ) -> PolarsResult<()>
pub fn write_encoded_dictionaries( &mut self, encoded_dictionaries: &[EncodedData], ) -> PolarsResult<()>
pub fn set_custom_metadata(&mut self, custom_metadata: Vec<(String, String)>)
Auto Trait Implementations§
impl<W> !RefUnwindSafe for BatchedWriter<W>
impl<W> !UnwindSafe for BatchedWriter<W>
impl<W> Freeze for BatchedWriter<W>where
FileWriter<W>: Freeze,
impl<W> Send for BatchedWriter<W>where
FileWriter<W>: Send,
impl<W> Sync for BatchedWriter<W>where
FileWriter<W>: Sync,
impl<W> Unpin for BatchedWriter<W>where
FileWriter<W>: Unpin,
impl<W> UnsafeUnpin for BatchedWriter<W>where
FileWriter<W>: UnsafeUnpin,
Blanket Implementations§
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more