[][src]Struct parquet_format::DictionaryPageHeader

pub struct DictionaryPageHeader {
    pub num_values: i32,
    pub encoding: Encoding,
    pub is_sorted: Option<bool>,
}

Fields

num_values: i32

Number of values in the dictionary *

encoding: Encoding

Encoding using this dictionary page *

is_sorted: Option<bool>

If true, the entries in the dictionary are sorted in ascending order *

Implementations

impl DictionaryPageHeader[src]

pub fn new<F3>(
    num_values: i32,
    encoding: Encoding,
    is_sorted: F3
) -> DictionaryPageHeader where
    F3: Into<Option<bool>>, 
[src]

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

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

Trait Implementations

impl Clone for DictionaryPageHeader[src]

impl Debug for DictionaryPageHeader[src]

impl Eq for DictionaryPageHeader[src]

impl Hash for DictionaryPageHeader[src]

impl Ord for DictionaryPageHeader[src]

impl PartialEq<DictionaryPageHeader> for DictionaryPageHeader[src]

impl PartialOrd<DictionaryPageHeader> for DictionaryPageHeader[src]

impl StructuralEq for DictionaryPageHeader[src]

impl StructuralPartialEq for DictionaryPageHeader[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.