Struct parquet_format_safe::RowGroup
source · [−]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
sourceimpl RowGroup
impl RowGroup
pub fn new<F4, F5, F6, F7>(
columns: Vec<ColumnChunk>,
total_byte_size: i64,
num_rows: i64,
sorting_columns: F4,
file_offset: F5,
total_compressed_size: F6,
ordinal: F7
) -> RowGroup where
F4: Into<Option<Vec<SortingColumn>>>,
F5: Into<Option<i64>>,
F6: Into<Option<i64>>,
F7: Into<Option<i16>>,
pub fn read_from_in_protocol<T: TInputProtocol>(
i_prot: &mut T
) -> Result<RowGroup>
pub fn write_to_out_protocol<T: TOutputProtocol>(
&self,
o_prot: &mut T
) -> Result<usize>
Trait Implementations
sourceimpl Ord for RowGroup
impl Ord for RowGroup
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Self where
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Self where
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialOrd<RowGroup> for RowGroup
impl PartialOrd<RowGroup> for RowGroup
sourcefn partial_cmp(&self, other: &RowGroup) -> Option<Ordering>
fn partial_cmp(&self, other: &RowGroup) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn 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
sourceimpl ReadThrift for RowGroup
impl ReadThrift for RowGroup
fn read_from_in_protocol<T: TInputProtocol>(i_prot: &mut T) -> Result<RowGroup>
impl Eq for RowGroup
impl StructuralEq for RowGroup
impl StructuralPartialEq for RowGroup
Auto Trait Implementations
impl RefUnwindSafe for RowGroup
impl Send for RowGroup
impl Sync for RowGroup
impl Unpin for RowGroup
impl UnwindSafe for RowGroup
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more