Struct parquet_format::RowGroup
source · pub struct RowGroup {
pub columns: Vec<ColumnChunk>,
pub total_byte_size: i64,
pub num_rows: i64,
pub sorting_columns: Option<Vec<SortingColumn>>,
}
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.
Implementations§
source§impl RowGroup
impl RowGroup
pub fn new<F4>(
columns: Vec<ColumnChunk>,
total_byte_size: i64,
num_rows: i64,
sorting_columns: F4
) -> RowGroupwhere
F4: Into<Option<Vec<SortingColumn>>>,
pub fn read_from_in_protocol(
i_prot: &mut dyn TInputProtocol
) -> Result<RowGroup>
pub fn write_to_out_protocol(
&self,
o_prot: &mut dyn TOutputProtocol
) -> Result<()>
Trait Implementations§
source§impl Ord for RowGroup
impl Ord for RowGroup
source§impl PartialOrd<RowGroup> for RowGroup
impl PartialOrd<RowGroup> for RowGroup
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more