Enum parquet::file::statistics::Statistics[][src]

Expand description

Statistics for a column chunk and data page.

Variants

Implementations

impl Statistics[src]

pub fn boolean(
    min: Option<bool>,
    max: Option<bool>,
    distinct: Option<u64>,
    nulls: u64,
    is_deprecated: bool
) -> Self
[src]

pub fn int32(
    min: Option<i32>,
    max: Option<i32>,
    distinct: Option<u64>,
    nulls: u64,
    is_deprecated: bool
) -> Self
[src]

pub fn int64(
    min: Option<i64>,
    max: Option<i64>,
    distinct: Option<u64>,
    nulls: u64,
    is_deprecated: bool
) -> Self
[src]

pub fn int96(
    min: Option<Int96>,
    max: Option<Int96>,
    distinct: Option<u64>,
    nulls: u64,
    is_deprecated: bool
) -> Self
[src]

pub fn float(
    min: Option<f32>,
    max: Option<f32>,
    distinct: Option<u64>,
    nulls: u64,
    is_deprecated: bool
) -> Self
[src]

pub fn double(
    min: Option<f64>,
    max: Option<f64>,
    distinct: Option<u64>,
    nulls: u64,
    is_deprecated: bool
) -> Self
[src]

pub fn byte_array(
    min: Option<ByteArray>,
    max: Option<ByteArray>,
    distinct: Option<u64>,
    nulls: u64,
    is_deprecated: bool
) -> Self
[src]

pub fn fixed_len_byte_array(
    min: Option<FixedLenByteArray>,
    max: Option<FixedLenByteArray>,
    distinct: Option<u64>,
    nulls: u64,
    is_deprecated: bool
) -> Self
[src]

pub fn is_min_max_deprecated(&self) -> bool[src]

Returns true if statistics have old min and max fields set. This means that the column order is likely to be undefined, which, for old files could mean a signed sort order of values.

Refer to ColumnOrder and SortOrder for more information.

pub fn distinct_count(&self) -> Option<u64>[src]

Returns optional value of number of distinct values occurring. When it is None, the value should be ignored.

pub fn null_count(&self) -> u64[src]

Returns number of null values for the column. Note that this includes all nulls when column is part of the complex type.

pub fn has_nulls(&self) -> bool[src]

Returns true if statistics collected any null values, false otherwise.

pub fn has_min_max_set(&self) -> bool[src]

Returns true if min value and max value are set. Normally both min/max values will be set to Some(value) or None.

pub fn min_bytes(&self) -> &[u8][src]

Returns slice of bytes that represent min value. Panics if min value is not set.

pub fn max_bytes(&self) -> &[u8][src]

Returns slice of bytes that represent max value. Panics if max value is not set.

pub fn physical_type(&self) -> Type[src]

Returns physical type associated with statistics.

Trait Implementations

impl Clone for Statistics[src]

fn clone(&self) -> Statistics[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Statistics[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl Display for Statistics[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl PartialEq<Statistics> for Statistics[src]

fn eq(&self, other: &Statistics) -> bool[src]

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Statistics) -> bool[src]

This method tests for !=.

impl StructuralPartialEq for Statistics[src]

Auto Trait Implementations

Blanket Implementations

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

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

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

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

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

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

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

pub fn from(t: T) -> T[src]

Performs the conversion.

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

pub fn into(self) -> U[src]

Performs the conversion.

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

type Owned = T

The resulting type after obtaining ownership.

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

impl<T> ToString for T where
    T: Display + ?Sized
[src]

pub default fn to_string(&self) -> String[src]

Converts the given value to a String. Read more

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.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

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.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V