pub struct ArrowColumnChunk {
data: ArrowColumnChunkData,
close: ColumnCloseResult,
}Expand description
The data for a single column chunk, see ArrowColumnWriter
Fields§
§data: ArrowColumnChunkData§close: ColumnCloseResultImplementations§
Source§impl ArrowColumnChunk
impl ArrowColumnChunk
Sourcepub fn close(&self) -> &ColumnCloseResult
pub fn close(&self) -> &ColumnCloseResult
Returns the ColumnCloseResult produced when the chunk was closed.
Exposes encoding information, collected statistics, and the optional
ColumnIndexMetaData
/ OffsetIndexMetaData
gathered for the column chunk.
Sourcepub fn close_mut(&mut self) -> &mut ColumnCloseResult
pub fn close_mut(&mut self) -> &mut ColumnCloseResult
Returns a mutable reference to the ColumnCloseResult.
This allows callers to mutate the close result before the chunk is
appended to a row group — for example, clearing column_index or
bloom_filter based on a dynamic rule that inspects the encodings and
collected page statistics.
Sourcepub fn append_to_row_group<W: Write + Send>(
self,
writer: &mut SerializedRowGroupWriter<'_, W>,
) -> Result<()>
pub fn append_to_row_group<W: Write + Send>( self, writer: &mut SerializedRowGroupWriter<'_, W>, ) -> Result<()>
Calls SerializedRowGroupWriter::append_column with this column’s data
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for ArrowColumnChunk
impl RefUnwindSafe for ArrowColumnChunk
impl Send for ArrowColumnChunk
impl Sync for ArrowColumnChunk
impl Unpin for ArrowColumnChunk
impl UnsafeUnpin for ArrowColumnChunk
impl UnwindSafe for ArrowColumnChunk
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