Enum parquet::file::statistics::Statistics [−][src]
pub enum Statistics { Boolean(TypedStatistics<BoolType>), Int32(TypedStatistics<Int32Type>), Int64(TypedStatistics<Int64Type>), Int96(TypedStatistics<Int96Type>), Float(TypedStatistics<FloatType>), Double(TypedStatistics<DoubleType>), ByteArray(TypedStatistics<ByteArrayType>), FixedLenByteArray(TypedStatistics<FixedLenByteArrayType>), }
Expand description
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>)
Implementations
impl Statistics
[src]
impl Statistics
[src]pub fn boolean(
min: Option<bool>,
max: Option<bool>,
distinct: Option<u64>,
nulls: u64,
is_deprecated: bool
) -> Self
[src]
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]
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]
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]
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]
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]
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]
min: Option<ByteArray>,
max: Option<ByteArray>,
distinct: Option<u64>,
nulls: u64,
is_deprecated: bool
) -> Self
pub fn fixed_len_byte_array(
min: Option<FixedLenByteArray>,
max: Option<FixedLenByteArray>,
distinct: Option<u64>,
nulls: u64,
is_deprecated: bool
) -> Self
[src]
min: Option<FixedLenByteArray>,
max: Option<FixedLenByteArray>,
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
[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]
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]
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]
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]
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]
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]
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]
pub fn physical_type(&self) -> Type
[src]Returns physical type associated with statistics.
Trait Implementations
impl Clone for Statistics
[src]
impl Clone for Statistics
[src]fn clone(&self) -> 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]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for Statistics
[src]
impl Debug for Statistics
[src]impl Display for Statistics
[src]
impl Display for Statistics
[src]impl PartialEq<Statistics> for Statistics
[src]
impl PartialEq<Statistics> for Statistics
[src]fn eq(&self, other: &Statistics) -> bool
[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]
fn ne(&self, other: &Statistics) -> bool
[src]This method tests for !=
.
impl StructuralPartialEq for Statistics
[src]
Auto Trait Implementations
impl RefUnwindSafe for Statistics
impl Send for Statistics
impl Sync for Statistics
impl Unpin for Statistics
impl UnwindSafe for Statistics
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
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]
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<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,