Struct polars::export::arrow::io::parquet::read::statistics::PrimitiveStatistics
source · [−]pub struct PrimitiveStatistics<T> where
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>,
}
This is supported on crate feature
io_parquet
only.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 for PrimitiveStatistics<T> where
T: Clone + NativeType,
impl<T> Clone for PrimitiveStatistics<T> where
T: Clone + NativeType,
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 for PrimitiveStatistics<T> where
T: Debug + NativeType,
impl<T> Debug for PrimitiveStatistics<T> where
T: Debug + NativeType,
sourceimpl<'_, T, R> From<(&'_ PrimitiveStatistics<R>, DataType)> for PrimitiveStatistics<T> where
T: NativeType,
R: NativeType + AsPrimitive<T>,
impl<'_, T, R> From<(&'_ PrimitiveStatistics<R>, DataType)> for PrimitiveStatistics<T> where
T: NativeType,
R: NativeType + AsPrimitive<T>,
sourcefn from((&PrimitiveStatistics<R>, DataType)) -> PrimitiveStatistics<T>
fn from((&PrimitiveStatistics<R>, DataType)) -> PrimitiveStatistics<T>
Performs the conversion.
sourceimpl<T> PartialEq<PrimitiveStatistics<T>> for PrimitiveStatistics<T> where
T: PartialEq<T> + NativeType,
impl<T> PartialEq<PrimitiveStatistics<T>> for PrimitiveStatistics<T> where
T: PartialEq<T> + NativeType,
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> Statistics for PrimitiveStatistics<T> where
T: NativeType,
impl<T> Statistics for PrimitiveStatistics<T> where
T: NativeType,
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.
sourcefn try_from(
(&FixedLenStatistics, DataType)
) -> Result<PrimitiveStatistics<i128>, ArrowError>
fn try_from(
(&FixedLenStatistics, DataType)
) -> Result<PrimitiveStatistics<i128>, ArrowError>
Performs the conversion.
impl<T> StructuralPartialEq for PrimitiveStatistics<T> where
T: NativeType,
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> Pointable for T
impl<T> Pointable for T
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