[][src]Struct parquet_format::SortingColumn

pub struct SortingColumn {
    pub column_idx: i32,
    pub descending: bool,
    pub nulls_first: bool,
}

Wrapper struct to specify sort order

Fields

column_idx: i32

The column index (in this row group) *

descending: bool

If true, indicates this column is sorted in descending order. *

nulls_first: bool

If true, nulls will come before non-null values, otherwise, nulls go at the end.

Implementations

impl SortingColumn[src]

pub fn new(
    column_idx: i32,
    descending: bool,
    nulls_first: bool
) -> SortingColumn
[src]

pub fn read_from_in_protocol(
    i_prot: &mut dyn TInputProtocol
) -> Result<SortingColumn>
[src]

pub fn write_to_out_protocol(
    &self,
    o_prot: &mut dyn TOutputProtocol
) -> Result<()>
[src]

Trait Implementations

impl Clone for SortingColumn[src]

impl Debug for SortingColumn[src]

impl Eq for SortingColumn[src]

impl Hash for SortingColumn[src]

impl Ord for SortingColumn[src]

impl PartialEq<SortingColumn> for SortingColumn[src]

impl PartialOrd<SortingColumn> for SortingColumn[src]

impl StructuralEq for SortingColumn[src]

impl StructuralPartialEq for SortingColumn[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.