Struct parquet::file::writer::SerializedFileWriter [−][src]
pub struct SerializedFileWriter<W: ParquetWriter> { /* fields omitted */ }
Expand description
A serialized implementation for Parquet FileWriter
.
See documentation on file writer for more information.
Implementations
impl<W: ParquetWriter> SerializedFileWriter<W>
[src]
impl<W: ParquetWriter> SerializedFileWriter<W>
[src]pub fn new(
buf: W,
schema: TypePtr,
properties: WriterPropertiesPtr
) -> Result<Self>
[src]
pub fn new(
buf: W,
schema: TypePtr,
properties: WriterPropertiesPtr
) -> Result<Self>
[src]Creates new file writer.
Trait Implementations
impl<W: 'static + ParquetWriter> FileWriter for SerializedFileWriter<W>
[src]
impl<W: 'static + ParquetWriter> FileWriter for SerializedFileWriter<W>
[src]fn next_row_group(&mut self) -> Result<Box<dyn RowGroupWriter>>
[src]
fn next_row_group(&mut self) -> Result<Box<dyn RowGroupWriter>>
[src]Creates new row group from this file writer.
In case of IO error or Thrift error, returns Err
. Read more
fn close_row_group(
&mut self,
row_group_writer: Box<dyn RowGroupWriter>
) -> Result<()>
[src]
fn close_row_group(
&mut self,
row_group_writer: Box<dyn RowGroupWriter>
) -> Result<()>
[src]Finalises and closes row group that was created using next_row_group
method.
After calling this method, the next row group is available for writes. Read more
fn close(&mut self) -> Result<FileMetaData>
[src]
fn close(&mut self) -> Result<FileMetaData>
[src]Closes and finalises file writer, returning the file metadata. Read more
Auto Trait Implementations
impl<W> RefUnwindSafe for SerializedFileWriter<W> where
W: RefUnwindSafe,
W: RefUnwindSafe,
impl<W> Send for SerializedFileWriter<W> where
W: Send,
W: Send,
impl<W> Sync for SerializedFileWriter<W> where
W: Sync,
W: Sync,
impl<W> Unpin for SerializedFileWriter<W> where
W: Unpin,
W: Unpin,
impl<W> UnwindSafe for SerializedFileWriter<W> where
W: UnwindSafe,
W: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,