Enum parquet::basic::ColumnOrder
source · pub enum ColumnOrder {
TYPE_DEFINED_ORDER(SortOrder),
UNDEFINED,
}
Expand description
Column order that specifies what method was used to aggregate min/max values for statistics.
If column order is undefined, then it is the legacy behaviour and all values should be compared as signed values/bytes.
Variants§
TYPE_DEFINED_ORDER(SortOrder)
Column uses the order defined by its logical or physical type (if there is no logical type), parquet-format 2.4.0+.
UNDEFINED
Undefined column order, means legacy behaviour before parquet-format 2.4.0. Sort order is always SIGNED.
Implementations§
source§impl ColumnOrder
impl ColumnOrder
sourcepub fn get_sort_order(
logical_type: Option<LogicalType>,
converted_type: ConvertedType,
physical_type: Type,
) -> SortOrder
pub fn get_sort_order( logical_type: Option<LogicalType>, converted_type: ConvertedType, physical_type: Type, ) -> SortOrder
Returns sort order for a physical/logical type.
sourcepub fn sort_order(&self) -> SortOrder
pub fn sort_order(&self) -> SortOrder
Returns sort order associated with this column order.
Trait Implementations§
source§impl Clone for ColumnOrder
impl Clone for ColumnOrder
source§fn clone(&self) -> ColumnOrder
fn clone(&self) -> ColumnOrder
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 ColumnOrder
impl Debug for ColumnOrder
source§impl Display for ColumnOrder
impl Display for ColumnOrder
source§impl PartialEq for ColumnOrder
impl PartialEq for ColumnOrder
impl Copy for ColumnOrder
impl Eq for ColumnOrder
impl StructuralPartialEq for ColumnOrder
Auto Trait Implementations§
impl Freeze for ColumnOrder
impl RefUnwindSafe for ColumnOrder
impl Send for ColumnOrder
impl Sync for ColumnOrder
impl Unpin for ColumnOrder
impl UnwindSafe for ColumnOrder
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
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)