[][src]Struct parquet_format::RowGroup

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

impl RowGroup[src]

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>>, 
[src]

pub fn read_from_in_protocol(
    i_prot: &mut dyn TInputProtocol
) -> Result<RowGroup>
[src]

pub fn write_to_out_protocol(
    &self,
    o_prot: &mut dyn TOutputProtocol
) -> Result<()>
[src]

Trait Implementations

impl Clone for RowGroup[src]

impl Debug for RowGroup[src]

impl Eq for RowGroup[src]

impl Hash for RowGroup[src]

impl Ord for RowGroup[src]

impl PartialEq<RowGroup> for RowGroup[src]

impl PartialOrd<RowGroup> for RowGroup[src]

impl StructuralEq for RowGroup[src]

impl StructuralPartialEq for RowGroup[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.