Enum parquet::basic::ColumnOrder [−][src]
pub enum ColumnOrder { TYPE_DEFINED_ORDER(SortOrder), UNDEFINED, }
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.
Methods
impl ColumnOrder
[src]
impl ColumnOrder
pub fn get_sort_order(
logical_type: LogicalType,
physical_type: Type
) -> SortOrder
[src]
pub fn get_sort_order(
logical_type: LogicalType,
physical_type: Type
) -> SortOrder
Returns sort order for a physical/logical type.
pub fn sort_order(&self) -> SortOrder
[src]
pub fn sort_order(&self) -> SortOrder
Returns sort order associated with this column order.
Trait Implementations
impl Debug for ColumnOrder
[src]
impl Debug for ColumnOrder
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for ColumnOrder
[src]
impl Clone for ColumnOrder
fn clone(&self) -> ColumnOrder
[src]
fn clone(&self) -> ColumnOrder
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Copy for ColumnOrder
[src]
impl Copy for ColumnOrder
impl PartialEq for ColumnOrder
[src]
impl PartialEq for ColumnOrder
fn eq(&self, other: &ColumnOrder) -> bool
[src]
fn eq(&self, other: &ColumnOrder) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ColumnOrder) -> bool
[src]
fn ne(&self, other: &ColumnOrder) -> bool
This method tests for !=
.
impl Display for ColumnOrder
[src]
impl Display for ColumnOrder
Auto Trait Implementations
impl Send for ColumnOrder
impl Send for ColumnOrder
impl Sync for ColumnOrder
impl Sync for ColumnOrder