Struct parquet::file::writer::SerializedRowGroupWriter [−][src]
pub struct SerializedRowGroupWriter<W: ParquetWriter> { /* fields omitted */ }
Expand description
A serialized implementation for Parquet RowGroupWriter
.
Coordinates writing of a row group with column writers.
See documentation on row group writer for more information.
Implementations
impl<W: 'static + ParquetWriter> SerializedRowGroupWriter<W>
[src]
impl<W: 'static + ParquetWriter> SerializedRowGroupWriter<W>
[src]pub fn new(
schema_descr: SchemaDescPtr,
properties: WriterPropertiesPtr,
buf: &W
) -> Self
[src]
schema_descr: SchemaDescPtr,
properties: WriterPropertiesPtr,
buf: &W
) -> Self
Trait Implementations
impl<W: 'static + ParquetWriter> RowGroupWriter for SerializedRowGroupWriter<W>
[src]
impl<W: 'static + ParquetWriter> RowGroupWriter for SerializedRowGroupWriter<W>
[src]fn next_column(&mut self) -> Result<Option<ColumnWriter>>
[src]
fn next_column(&mut self) -> Result<Option<ColumnWriter>>
[src]Returns the next column writer, if available; otherwise returns None
.
In case of any IO error or Thrift error, or if row group writer has already been
closed returns Err
. Read more
fn close_column(&mut self, column_writer: ColumnWriter) -> Result<()>
[src]
fn close_column(&mut self, column_writer: ColumnWriter) -> Result<()>
[src]Closes column writer that was created using next_column
method.
This should be called before requesting the next column writer. Read more
fn close(&mut self) -> Result<RowGroupMetaDataPtr>
[src]
fn close(&mut self) -> Result<RowGroupMetaDataPtr>
[src]Closes this row group writer and returns row group metadata. After calling this method row group writer must not be used. Read more
Auto Trait Implementations
impl<W> RefUnwindSafe for SerializedRowGroupWriter<W> where
W: RefUnwindSafe,
W: RefUnwindSafe,
impl<W> Send for SerializedRowGroupWriter<W> where
W: Send,
W: Send,
impl<W> Sync for SerializedRowGroupWriter<W> where
W: Sync,
W: Sync,
impl<W> Unpin for SerializedRowGroupWriter<W> where
W: Unpin,
W: Unpin,
impl<W> UnwindSafe for SerializedRowGroupWriter<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>,