pub struct RowGroup {
pub columns: Vec<ColumnChunk>,
pub total_byte_size: i64,
pub num_rows: i64,
pub sorting_columns: Option<Vec<SortingColumn>>,
pub file_offset: Option<i64>,
pub total_compressed_size: Option<i64>,
pub ordinal: Option<i16>,
}
Fields§
§columns: Vec<ColumnChunk>
Metadata for each column chunk in this row group. This list must have the same order as the SchemaElement list in FileMetaData.
total_byte_size: i64
Total byte size of all the uncompressed column data in this row group *
num_rows: i64
Number of rows in this row group *
sorting_columns: Option<Vec<SortingColumn>>
If set, specifies a sort ordering of the rows in this RowGroup. The sorting columns can be a subset of all the columns.
file_offset: Option<i64>
Byte offset from beginning of file to first page (data or dictionary) in this row group *
total_compressed_size: Option<i64>
Total byte size of all compressed (and potentially encrypted) column data in this row group *
ordinal: Option<i16>
Row group ordinal in the file *
Implementations§
Trait Implementations§
source§impl Ord for RowGroup
impl Ord for RowGroup
source§impl PartialOrd for RowGroup
impl PartialOrd for RowGroup
source§impl TSerializable for RowGroup
impl TSerializable for RowGroup
source§fn read_from_in_protocol<T: TInputProtocol>(i_prot: &mut T) -> Result<RowGroup>
fn read_from_in_protocol<T: TInputProtocol>(i_prot: &mut T) -> Result<RowGroup>
Reads the struct from the input Thrift protocol
source§fn write_to_out_protocol<T: TOutputProtocol>(
&self,
o_prot: &mut T,
) -> Result<()>
fn write_to_out_protocol<T: TOutputProtocol>( &self, o_prot: &mut T, ) -> Result<()>
Writes the struct to the output Thrift protocol
impl Eq for RowGroup
impl StructuralPartialEq for RowGroup
Auto Trait Implementations§
impl Freeze for RowGroup
impl RefUnwindSafe for RowGroup
impl Send for RowGroup
impl Sync for RowGroup
impl Unpin for RowGroup
impl UnwindSafe for RowGroup
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)