Struct parquet::file::writer::SerializedPageWriter [−][src]
pub struct SerializedPageWriter<T: Write + Position> { /* fields omitted */ }
Expand description
A serialized implementation for Parquet PageWriter
.
Writes and serializes pages and metadata into output stream.
SerializedPageWriter
should not be used after calling close()
.
Implementations
impl<T: Write + Position> SerializedPageWriter<T>
[src]
impl<T: Write + Position> SerializedPageWriter<T>
[src]Trait Implementations
impl<T: Write + Position> PageWriter for SerializedPageWriter<T>
[src]
impl<T: Write + Position> PageWriter for SerializedPageWriter<T>
[src]fn write_page(&mut self, page: CompressedPage) -> Result<PageWriteSpec>
[src]
fn write_page(&mut self, page: CompressedPage) -> Result<PageWriteSpec>
[src]Writes a page into the output stream/sink.
Returns PageWriteSpec
that contains information about written page metrics,
including number of bytes, size, number of values, offset, etc. Read more
fn write_metadata(&mut self, metadata: &ColumnChunkMetaData) -> Result<()>
[src]
fn write_metadata(&mut self, metadata: &ColumnChunkMetaData) -> Result<()>
[src]Writes column chunk metadata into the output stream/sink. Read more
Auto Trait Implementations
impl<T> RefUnwindSafe for SerializedPageWriter<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for SerializedPageWriter<T> where
T: Send,
T: Send,
impl<T> Sync for SerializedPageWriter<T> where
T: Sync,
T: Sync,
impl<T> Unpin for SerializedPageWriter<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for SerializedPageWriter<T> where
T: UnwindSafe,
T: 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>,