pub struct Statistics {
pub max: Option<Vec<u8>>,
pub min: Option<Vec<u8>>,
pub null_count: Option<i64>,
pub distinct_count: Option<i64>,
pub max_value: Option<Vec<u8>>,
pub min_value: Option<Vec<u8>>,
pub is_max_value_exact: Option<bool>,
pub is_min_value_exact: Option<bool>,
}format module is no longer maintained, and will be removed in 59.0.0Expand description
Statistics per row group and per page All fields are optional.
Fieldsยง
ยงmax: Option<Vec<u8>>format module is no longer maintained, and will be removed in 59.0.0DEPRECATED: min and max value of the column. Use min_value and max_value.
Values are encoded using PLAIN encoding, except that variable-length byte arrays do not include a length prefix.
These fields encode min and max values determined by signed comparison only. New files should use the correct order for a columnโs logical type and store the values in the min_value and max_value fields.
To support older readers, these may be set when the column order is signed.
min: Option<Vec<u8>>format module is no longer maintained, and will be removed in 59.0.0null_count: Option<i64>format module is no longer maintained, and will be removed in 59.0.0Count of null values in the column.
Writers SHOULD always write this field even if it is zero (i.e. no null value) or the column is not nullable. Readers MUST distinguish between null_count not being present and null_count == 0. If null_count is not present, readers MUST NOT assume null_count == 0.
distinct_count: Option<i64>format module is no longer maintained, and will be removed in 59.0.0count of distinct values occurring
max_value: Option<Vec<u8>>format module is no longer maintained, and will be removed in 59.0.0Lower and upper bound values for the column, determined by its ColumnOrder.
These may be the actual minimum and maximum values found on a page or column chunk, but can also be (more compact) values that do not exist on a page or column chunk. For example, instead of storing โBlart Versenwald IIIโ, a writer may set min_value=โBโ, max_value=โCโ. Such more compact values must still be valid values within the columnโs logical type.
Values are encoded using PLAIN encoding, except that variable-length byte arrays do not include a length prefix.
min_value: Option<Vec<u8>>format module is no longer maintained, and will be removed in 59.0.0is_max_value_exact: Option<bool>format module is no longer maintained, and will be removed in 59.0.0If true, max_value is the actual maximum value for a column
is_min_value_exact: Option<bool>format module is no longer maintained, and will be removed in 59.0.0If true, min_value is the actual minimum value for a column
Implementationsยง
Sourceยงimpl Statistics
impl Statistics
pub fn new<F1, F2, F3, F4, F5, F6, F7, F8>( max: F1, min: F2, null_count: F3, distinct_count: F4, max_value: F5, min_value: F6, is_max_value_exact: F7, is_min_value_exact: F8, ) -> Statistics
format module is no longer maintained, and will be removed in 59.0.0Trait Implementationsยง
Sourceยงimpl Clone for Statistics
impl Clone for Statistics
Sourceยงfn clone(&self) -> Statistics
fn clone(&self) -> Statistics
1.0.0 ยท Sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more