Struct parquet2::page::CompressedDataPage
source · [−]pub struct CompressedDataPage { /* private fields */ }
Expand description
A CompressedDataPage
is compressed, 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>,
compression: Compression,
uncompressed_page_size: usize,
dictionary_page: Option<Arc<dyn DictPage>>,
descriptor: ColumnDescriptor
) -> Self
Decodes the raw statistics into a statistics