[][src]Struct parquet_format::PageEncodingStats

pub struct PageEncodingStats {
    pub page_type: PageType,
    pub encoding: Encoding,
    pub count: i32,
}

statistics of a given page type and encoding

Fields

page_type: PageType

the page type (data/dic/...) *

encoding: Encoding

encoding of the page *

count: i32

number of pages of this type with this encoding *

Implementations

impl PageEncodingStats[src]

pub fn new(
    page_type: PageType,
    encoding: Encoding,
    count: i32
) -> PageEncodingStats
[src]

pub fn read_from_in_protocol(
    i_prot: &mut dyn TInputProtocol
) -> Result<PageEncodingStats>
[src]

pub fn write_to_out_protocol(
    &self,
    o_prot: &mut dyn TOutputProtocol
) -> Result<()>
[src]

Trait Implementations

impl Clone for PageEncodingStats[src]

impl Debug for PageEncodingStats[src]

impl Eq for PageEncodingStats[src]

impl Hash for PageEncodingStats[src]

impl Ord for PageEncodingStats[src]

impl PartialEq<PageEncodingStats> for PageEncodingStats[src]

impl PartialOrd<PageEncodingStats> for PageEncodingStats[src]

impl StructuralEq for PageEncodingStats[src]

impl StructuralPartialEq for PageEncodingStats[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.