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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)