pub struct FileWriter<W: Write> { /* private fields */ }
Expand description
An interface to write a parquet to a Write
Implementations
sourceimpl<W: Write> FileWriter<W>
impl<W: Write> FileWriter<W>
sourcepub fn options(&self) -> &WriteOptions
pub fn options(&self) -> &WriteOptions
The options assigned to the file
sourcepub fn parquet_schema(&self) -> &SchemaDescriptor
pub fn parquet_schema(&self) -> &SchemaDescriptor
The SchemaDescriptor
assigned to this file
sourceimpl<W: Write> FileWriter<W>
impl<W: Write> FileWriter<W>
sourcepub fn try_new(writer: W, schema: Schema, options: WriteOptions) -> Result<Self>
pub fn try_new(writer: W, schema: Schema, options: WriteOptions) -> Result<Self>
sourcepub fn write(
&mut self,
row_group: RowGroupIter<'_, ArrowError>,
num_rows: usize
) -> Result<()>
pub fn write(
&mut self,
row_group: RowGroupIter<'_, ArrowError>,
num_rows: usize
) -> Result<()>
Writes a row group to the file.
Auto Trait Implementations
impl<W> RefUnwindSafe for FileWriter<W> where
W: RefUnwindSafe,
impl<W> Send for FileWriter<W> where
W: Send,
impl<W> Sync for FileWriter<W> where
W: Sync,
impl<W> Unpin for FileWriter<W> where
W: Unpin,
impl<W> UnwindSafe for FileWriter<W> where
W: 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