Struct datafusion_common::stats::Statistics
source · pub struct Statistics {
pub num_rows: Option<usize>,
pub total_byte_size: Option<usize>,
pub column_statistics: Option<Vec<ColumnStatistics>>,
pub is_exact: bool,
}
Expand description
Statistics for a relation Fields are optional and can be inexact because the sources sometimes provide approximate estimates for performance reasons and the transformations output are not always predictable.
Fields§
§num_rows: Option<usize>
The number of table rows
total_byte_size: Option<usize>
total bytes of the table rows
column_statistics: Option<Vec<ColumnStatistics>>
Statistics on a column level
is_exact: bool
If true, any field that is Some(..)
is the actual value in the data provided by the operator (it is not
an estimate). Any or all other fields might still be None, in which case no information is known.
if false, any field that is Some(..)
may contain an inexact estimate and may not be the actual value.
Trait Implementations§
source§impl Clone for Statistics
impl Clone for Statistics
source§fn clone(&self) -> Statistics
fn clone(&self) -> Statistics
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Statistics
impl Debug for Statistics
source§impl Default for Statistics
impl Default for Statistics
source§fn default() -> Statistics
fn default() -> Statistics
Returns the “default value” for a type. Read more
source§impl Display for Statistics
impl Display for Statistics
source§impl PartialEq<Statistics> for Statistics
impl PartialEq<Statistics> for Statistics
source§fn eq(&self, other: &Statistics) -> bool
fn eq(&self, other: &Statistics) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for Statistics
impl StructuralEq for Statistics
impl StructuralPartialEq for Statistics
Auto Trait Implementations§
impl RefUnwindSafe for Statistics
impl Send for Statistics
impl Sync for Statistics
impl Unpin for Statistics
impl UnwindSafe for Statistics
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.