Struct arrow2::io::parquet::read::statistics::PrimitiveStatistics
source · [−]pub struct PrimitiveStatistics<T: NativeType> {
pub data_type: DataType,
pub null_count: Option<i64>,
pub distinct_count: Option<i64>,
pub min_value: Option<T>,
pub max_value: Option<T>,
}
Expand description
Arrow-deserialized parquet Statistics of a primitive type
Fields
data_type: DataType
the data type
null_count: Option<i64>
number of nulls
distinct_count: Option<i64>
number of dictinct values
min_value: Option<T>
Minimum
max_value: Option<T>
Maximum
Trait Implementations
sourceimpl<T: Clone + NativeType> Clone for PrimitiveStatistics<T>
impl<T: Clone + NativeType> Clone for PrimitiveStatistics<T>
sourcefn clone(&self) -> PrimitiveStatistics<T>
fn clone(&self) -> PrimitiveStatistics<T>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<T: Debug + NativeType> Debug for PrimitiveStatistics<T>
impl<T: Debug + NativeType> Debug for PrimitiveStatistics<T>
sourceimpl<T, R> From<(&'_ PrimitiveStatistics<R>, DataType)> for PrimitiveStatistics<T> where
T: NativeType,
R: ParquetNativeType,
R: AsPrimitive<T>,
impl<T, R> From<(&'_ PrimitiveStatistics<R>, DataType)> for PrimitiveStatistics<T> where
T: NativeType,
R: ParquetNativeType,
R: AsPrimitive<T>,
sourceimpl<T: PartialEq + NativeType> PartialEq<PrimitiveStatistics<T>> for PrimitiveStatistics<T>
impl<T: PartialEq + NativeType> PartialEq<PrimitiveStatistics<T>> for PrimitiveStatistics<T>
sourcefn eq(&self, other: &PrimitiveStatistics<T>) -> bool
fn eq(&self, other: &PrimitiveStatistics<T>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PrimitiveStatistics<T>) -> bool
fn ne(&self, other: &PrimitiveStatistics<T>) -> bool
This method tests for !=
.
sourceimpl<T: NativeType> Statistics for PrimitiveStatistics<T>
impl<T: NativeType> Statistics for PrimitiveStatistics<T>
sourceimpl TryFrom<(&'_ FixedLenStatistics, DataType)> for PrimitiveStatistics<i128>
impl TryFrom<(&'_ FixedLenStatistics, DataType)> for PrimitiveStatistics<i128>
type Error = ArrowError
type Error = ArrowError
The type returned in the event of a conversion error.
impl<T: NativeType> StructuralPartialEq for PrimitiveStatistics<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for PrimitiveStatistics<T> where
T: RefUnwindSafe,
impl<T> Send for PrimitiveStatistics<T>
impl<T> Sync for PrimitiveStatistics<T>
impl<T> Unpin for PrimitiveStatistics<T> where
T: Unpin,
impl<T> UnwindSafe for PrimitiveStatistics<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more