Struct parquet2::page::DataPage

source ·
pub struct DataPage {
    pub descriptor: Descriptor,
    pub selected_rows: Option<Vec<Interval>>,
    /* private fields */
}
Expand description

A DataPage is an uncompressed, encoded representation of a Parquet data page. It holds actual data and thus cloning it is expensive.

Fields§

§descriptor: Descriptor§selected_rows: Option<Vec<Interval>>

Implementations§

the rows to be selected by this page. When None, all rows are to be considered.

Returns a mutable reference to the internal buffer. Useful to recover the buffer after the page has been decoded.

Decodes the raw statistics into a statistics

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.