Struct parquet_format_async_temp::DictionaryPageHeader [−][src]
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
pub fn new<F3>(
num_values: i32,
encoding: Encoding,
is_sorted: F3
) -> DictionaryPageHeader where
F3: Into<Option<bool>>,
pub async fn stream_from_in_protocol(
i_prot: &mut dyn TInputStreamProtocol
) -> Result<DictionaryPageHeader>
pub async fn write_to_out_stream_protocol(
&self,
o_prot: &mut dyn TOutputStreamProtocol
) -> Result<usize>
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for DictionaryPageHeader
impl Send for DictionaryPageHeader
impl Sync for DictionaryPageHeader
impl Unpin for DictionaryPageHeader
impl UnwindSafe for DictionaryPageHeader
Blanket Implementations
Mutably borrows from an owned value. Read more