Struct parquet::file::statistics::TypedStatistics [−][src]
pub struct TypedStatistics<T: DataType> { /* fields omitted */ }
Expand description
Typed implementation for Statistics
.
Implementations
impl<T: DataType> TypedStatistics<T>
[src]
impl<T: DataType> TypedStatistics<T>
[src]pub fn new(
min: Option<T::T>,
max: Option<T::T>,
distinct_count: Option<u64>,
null_count: u64,
is_min_max_deprecated: bool
) -> Self
[src]
pub fn new(
min: Option<T::T>,
max: Option<T::T>,
distinct_count: Option<u64>,
null_count: u64,
is_min_max_deprecated: bool
) -> Self
[src]Creates new typed statistics.
pub fn min(&self) -> &T::T
[src]
pub fn min(&self) -> &T::T
[src]Returns min value of the statistics.
Panics if min value is not set, e.g. all values are null
.
Use has_min_max_set
method to check that.
pub fn max(&self) -> &T::T
[src]
pub fn max(&self) -> &T::T
[src]Returns max value of the statistics.
Panics if max value is not set, e.g. all values are null
.
Use has_min_max_set
method to check that.
Trait Implementations
impl<T: Clone + DataType> Clone for TypedStatistics<T> where
T::T: Clone,
T::T: Clone,
[src]
impl<T: Clone + DataType> Clone for TypedStatistics<T> where
T::T: Clone,
T::T: Clone,
[src]fn clone(&self) -> TypedStatistics<T>
[src]
fn clone(&self) -> TypedStatistics<T>
[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<T: DataType> Debug for TypedStatistics<T>
[src]
impl<T: DataType> Debug for TypedStatistics<T>
[src]impl<T: DataType> Display for TypedStatistics<T>
[src]
impl<T: DataType> Display for TypedStatistics<T>
[src]impl<T: DataType> PartialEq<TypedStatistics<T>> for TypedStatistics<T>
[src]
impl<T: DataType> PartialEq<TypedStatistics<T>> for TypedStatistics<T>
[src]Auto Trait Implementations
impl<T> RefUnwindSafe for TypedStatistics<T> where
<T as DataType>::T: RefUnwindSafe,
<T as DataType>::T: RefUnwindSafe,
impl<T> Send for TypedStatistics<T> where
<T as DataType>::T: Send,
<T as DataType>::T: Send,
impl<T> Sync for TypedStatistics<T> where
<T as DataType>::T: Sync,
<T as DataType>::T: Sync,
impl<T> Unpin for TypedStatistics<T> where
<T as DataType>::T: Unpin,
<T as DataType>::T: Unpin,
impl<T> UnwindSafe for TypedStatistics<T> where
<T as DataType>::T: UnwindSafe,
<T as DataType>::T: UnwindSafe,
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>,