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>
pub fn encode_and_compress<'a>( &'a self, df: &'a DataFrame, ) -> impl Iterator<Item = PolarsResult<RowGroupIterColumns<'static, PolarsError>>> + 'a
Sourcepub fn write_batch(&mut self, df: &DataFrame) -> PolarsResult<()>
pub fn write_batch(&mut self, df: &DataFrame) -> PolarsResult<()>
pub fn get_writer(&self) -> &Mutex<FileWriter<W>>
pub fn write_row_groups( &self, rgs: Vec<RowGroupIterColumns<'static, PolarsError>>, ) -> PolarsResult<()>
Auto Trait Implementations§
impl<W> !Freeze for BatchedWriter<W>
impl<W> RefUnwindSafe for BatchedWriter<W>
impl<W> Send for BatchedWriter<W>where
W: Send,
impl<W> Sync for BatchedWriter<W>where
W: Send,
impl<W> Unpin for BatchedWriter<W>where
W: Unpin,
impl<W> UnwindSafe for BatchedWriter<W>
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> 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