[−][src]Enum parquet::file::statistics::Statistics
Statistics for a column chunk and data page.
Variants
Boolean(TypedStatistics<BoolType>)
Int32(TypedStatistics<Int32Type>)
Int64(TypedStatistics<Int64Type>)
Int96(TypedStatistics<Int96Type>)
Float(TypedStatistics<FloatType>)
Double(TypedStatistics<DoubleType>)
ByteArray(TypedStatistics<ByteArrayType>)
FixedLenByteArray(TypedStatistics<FixedLenByteArrayType>)
Methods
impl Statistics
[src]
impl Statistics
pub fn boolean(
min: Option<bool>,
max: Option<bool>,
distinct: Option<u64>,
nulls: u64,
is_deprecated: bool
) -> Self
[src]
pub fn boolean(
min: Option<bool>,
max: Option<bool>,
distinct: Option<u64>,
nulls: u64,
is_deprecated: bool
) -> Self
pub fn int32(
min: Option<i32>,
max: Option<i32>,
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
pub fn int64(
min: Option<i64>,
max: Option<i64>,
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
pub fn int96(
min: Option<Int96>,
max: Option<Int96>,
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
pub fn float(
min: Option<f32>,
max: Option<f32>,
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
pub fn double(
min: Option<f64>,
max: Option<f64>,
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
pub fn byte_array(
min: Option<ByteArray>,
max: Option<ByteArray>,
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
pub fn fixed_len_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<ByteArray>,
max: Option<ByteArray>,
distinct: Option<u64>,
nulls: u64,
is_deprecated: bool
) -> Self
pub fn is_min_max_deprecated(&self) -> bool
[src]
pub fn is_min_max_deprecated(&self) -> bool
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]
pub fn distinct_count(&self) -> Option<u64>
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]
pub fn null_count(&self) -> u64
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]
pub fn has_nulls(&self) -> bool
Returns true
if statistics collected any null values, false
otherwise.
pub fn has_min_max_set(&self) -> bool
[src]
pub fn has_min_max_set(&self) -> bool
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]
pub fn min_bytes(&self) -> &[u8]
Returns slice of bytes that represent min value. Panics if min value is not set.
pub fn max_bytes(&self) -> &[u8]
[src]
pub fn max_bytes(&self) -> &[u8]
Returns slice of bytes that represent max value. Panics if max value is not set.
pub fn physical_type(&self) -> Type
[src]
pub fn physical_type(&self) -> Type
Returns physical type associated with statistics.
Trait Implementations
impl PartialEq<Statistics> for Statistics
[src]
impl PartialEq<Statistics> for Statistics
fn eq(&self, other: &Statistics) -> bool
[src]
fn eq(&self, other: &Statistics) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Statistics) -> bool
[src]
fn ne(&self, other: &Statistics) -> bool
This method tests for !=
.
impl Display for Statistics
[src]
impl Display for Statistics
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 Debug for Statistics
[src]
impl Debug for Statistics
Auto Trait Implementations
impl !Send for Statistics
impl !Send for Statistics
impl !Sync for Statistics
impl !Sync for Statistics
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
impl<T> ToString for T where
T: Display + ?Sized,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
try_from
)Performs the conversion.
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
Gets the TypeId
of self
. Read more
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
try_from
)Performs the conversion.
impl<T, U> TryInto for T where
U: TryFrom<T>,
impl<T, U> TryInto for T where
U: TryFrom<T>,
impl<E> SpecializationError for E
[src]
impl<E> SpecializationError for E
fn not_found<S, T>(trait_name: &'static str, method_name: &'static str) -> E where
T: ?Sized,
[src]
fn not_found<S, T>(trait_name: &'static str, method_name: &'static str) -> E where
T: ?Sized,
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Create an error for a missing method specialization. Defaults to panicking with type, trait & method names. S
is the encoder/decoder state type, T
is the type being encoded/decoded, and the arguments are the names of the trait and method that should've been overridden. Read more
impl<T> Erased for T
[src]
impl<T> Erased for T
impl<T> Send for T where
T: ?Sized,
[src]
impl<T> Send for T where
T: ?Sized,
impl<T> Sync for T where
T: ?Sized,
[src]
impl<T> Sync for T where
T: ?Sized,
impl<T> Erased for T
impl<T> Erased for T