pub struct RowGroupEntry {
pub statistics: Option<ColumnStatistics>,
pub positions: Vec<u64>,
}Expand description
A single row group entry in a row index
According to ORC spec, each entry contains:
- Statistics for the row group (min/max/null count)
- Stream positions for seeking to the row group (for future use)
Fields§
§statistics: Option<ColumnStatistics>Statistics for this row group
positions: Vec<u64>Stream positions for seeking
According to ORC spec, positions encode differently for:
- Uncompressed: [RLE_run_byte_offset, num_values_to_consume]
- Compressed: [compression_chunk_start, decompressed_bytes, num_values]
For columns with multiple streams, positions are concatenated: [PRESENT_positions…, DATA_positions…, LENGTH_positions…]
Note: Dictionary positions are NOT included (dictionary must be fully read)
Implementations§
Source§impl RowGroupEntry
impl RowGroupEntry
Trait Implementations§
Source§impl Clone for RowGroupEntry
impl Clone for RowGroupEntry
Source§fn clone(&self) -> RowGroupEntry
fn clone(&self) -> RowGroupEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RowGroupEntry
impl RefUnwindSafe for RowGroupEntry
impl Send for RowGroupEntry
impl Sync for RowGroupEntry
impl Unpin for RowGroupEntry
impl UnwindSafe for RowGroupEntry
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