Struct parquet::format::DictionaryPageHeader
source · pub struct DictionaryPageHeader {
pub num_values: i32,
pub encoding: Encoding,
pub is_sorted: Option<bool>,
}
Expand description
The dictionary page must be placed at the first position of the column chunk if it is partly or completely dictionary encoded. At most one dictionary page can be placed in a column chunk.
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§
Trait Implementations§
source§impl Clone for DictionaryPageHeader
impl Clone for DictionaryPageHeader
source§fn clone(&self) -> DictionaryPageHeader
fn clone(&self) -> DictionaryPageHeader
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DictionaryPageHeader
impl Debug for DictionaryPageHeader
source§impl Hash for DictionaryPageHeader
impl Hash for DictionaryPageHeader
source§impl Ord for DictionaryPageHeader
impl Ord for DictionaryPageHeader
source§fn cmp(&self, other: &DictionaryPageHeader) -> Ordering
fn cmp(&self, other: &DictionaryPageHeader) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for DictionaryPageHeader
impl PartialEq for DictionaryPageHeader
source§impl PartialOrd for DictionaryPageHeader
impl PartialOrd for DictionaryPageHeader
source§impl TSerializable for DictionaryPageHeader
impl TSerializable for DictionaryPageHeader
fn read_from_in_protocol<T: TInputProtocol>( i_prot: &mut T, ) -> Result<DictionaryPageHeader>
fn write_to_out_protocol<T: TOutputProtocol>( &self, o_prot: &mut T, ) -> Result<()>
impl Eq for DictionaryPageHeader
impl StructuralPartialEq for DictionaryPageHeader
Auto Trait Implementations§
impl Freeze for DictionaryPageHeader
impl RefUnwindSafe for DictionaryPageHeader
impl Send for DictionaryPageHeader
impl Sync for DictionaryPageHeader
impl Unpin for DictionaryPageHeader
impl UnwindSafe for DictionaryPageHeader
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)