Enum parquet::column::page::Page [−][src]
pub enum Page { DataPage { buf: ByteBufferPtr, num_values: u32, encoding: Encoding, def_level_encoding: Encoding, rep_level_encoding: Encoding, statistics: Option<Statistics>, }, DataPageV2 { buf: ByteBufferPtr, num_values: u32, encoding: Encoding, num_nulls: u32, num_rows: u32, def_levels_byte_len: u32, rep_levels_byte_len: u32, is_compressed: bool, statistics: Option<Statistics>, }, DictionaryPage { buf: ByteBufferPtr, num_values: u32, encoding: Encoding, is_sorted: bool, }, }
Expand description
Parquet Page definition.
List of supported pages.
These are 1-to-1 mapped from the equivalent Thrift definitions, except buf
which
used to store uncompressed bytes of the page.
Variants
Show fields
Fields of DataPage
buf: ByteBufferPtr
num_values: u32
encoding: Encoding
def_level_encoding: Encoding
rep_level_encoding: Encoding
statistics: Option<Statistics>
Show fields
Fields of DataPageV2
buf: ByteBufferPtr
num_values: u32
encoding: Encoding
num_nulls: u32
num_rows: u32
def_levels_byte_len: u32
rep_levels_byte_len: u32
is_compressed: bool
statistics: Option<Statistics>
Show fields
Fields of DictionaryPage
Implementations
impl Page
[src]
impl Page
[src]pub fn buffer(&self) -> &ByteBufferPtr
[src]
pub fn buffer(&self) -> &ByteBufferPtr
[src]Returns internal byte buffer reference for this page.
pub fn num_values(&self) -> u32
[src]
pub fn num_values(&self) -> u32
[src]Returns number of values in this page.
pub fn statistics(&self) -> Option<&Statistics>
[src]
pub fn statistics(&self) -> Option<&Statistics>
[src]Returns optional Statistics
.
Auto Trait Implementations
impl RefUnwindSafe for Page
impl Send for Page
impl Sync for Page
impl Unpin for Page
impl UnwindSafe for Page
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,