Trait parquet2::statistics::Statistics

source ·
pub trait Statistics: Send + Sync + Debug {
    // Required methods
    fn as_any(&self) -> &dyn Any;
    fn physical_type(&self) -> &PhysicalType;
    fn null_count(&self) -> Option<i64>;
}
Expand description

A trait used to describe specific statistics. Each physical type has its own struct. Match the Statistics::physical_type to each type and downcast accordingly.

Required Methods§

source

fn as_any(&self) -> &dyn Any

source

fn physical_type(&self) -> &PhysicalType

source

fn null_count(&self) -> Option<i64>

Trait Implementations§

source§

impl PartialEq for &dyn Statistics

source§

fn eq(&self, other: &Self) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

Implementors§