Enum parquet2::metadata::ColumnOrder
source · pub enum ColumnOrder {
TypeDefinedOrder(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§
TypeDefinedOrder(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 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 PartialEq for ColumnOrder
impl PartialEq for ColumnOrder
source§fn eq(&self, other: &ColumnOrder) -> bool
fn eq(&self, other: &ColumnOrder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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