Struct parquet2::page::DataPage [−][src]
pub struct DataPage { /* fields omitted */ }
Expand description
A DataPage
is an uncompressed, encoded representation of a Parquet data page. It holds actual data
and thus cloning it is expensive.
Implementations
pub fn new(
header: DataPageHeader,
buffer: Vec<u8>,
dictionary_page: Option<Arc<dyn DictPage>>,
descriptor: ColumnDescriptor
) -> Self
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
Auto Trait Implementations
impl !RefUnwindSafe for DataPage
impl !UnwindSafe for DataPage
Blanket Implementations
Mutably borrows from an owned value. Read more