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
sourceimpl 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
sourceimpl Clone for ColumnOrder
impl Clone for ColumnOrder
sourcefn clone(&self) -> ColumnOrder
fn clone(&self) -> ColumnOrder
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ColumnOrder
impl Debug for ColumnOrder
sourceimpl PartialEq<ColumnOrder> for ColumnOrder
impl PartialEq<ColumnOrder> for ColumnOrder
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &ColumnOrder) -> bool
fn ne(&self, other: &ColumnOrder) -> bool
This method tests for !=
.
impl Copy for ColumnOrder
impl StructuralPartialEq for ColumnOrder
Auto Trait Implementations
impl RefUnwindSafe for ColumnOrder
impl Send for ColumnOrder
impl Sync for ColumnOrder
impl Unpin for ColumnOrder
impl UnwindSafe for ColumnOrder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more