[][src]Struct parquet::column::page::CompressedPage

pub struct CompressedPage { /* fields omitted */ }

Helper struct to represent pages with potentially compressed buffer (data page v1) or compressed and concatenated buffer (def levels + rep levels + compressed values for data page v2).

The difference with Page is that Page buffer is always uncompressed.

Methods

impl CompressedPage
[src]

Creates CompressedPage from a page with potentially compressed buffer and uncompressed size.

Returns page type.

Returns underlying page with potentially compressed buffer.

Returns uncompressed size in bytes.

Returns compressed size in bytes.

Note that it is assumed that buffer is compressed, but it may not be. In this case compressed size will be equal to uncompressed size.

Number of values in page.

Returns encoding for values in page.

Returns slice of compressed buffer in the page.

Auto Trait Implementations

impl !Send for CompressedPage

impl !Sync for CompressedPage

Blanket Implementations

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

impl<T> From for T
[src]

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

impl<E> SpecializationError for E
[src]

impl<T> Erased for T
[src]

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

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

impl<T> Erased for T

impl<T, U> TryInto for T where
    U: TryFrom<T>,