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<ColumnOrder> for ColumnOrder
impl PartialEq<ColumnOrder> 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 ==
.