Struct datafusion::physical_plan::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 physical plan node 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
sourceimpl Clone for Statistics
impl Clone for Statistics
sourcefn clone(&self) -> Statistics
fn clone(&self) -> Statistics
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 Debug for Statistics
impl Debug for Statistics
sourceimpl Default for Statistics
impl Default for Statistics
sourcefn default() -> Statistics
fn default() -> Statistics
Returns the “default value” for a type. Read more
sourceimpl PartialEq<Statistics> for Statistics
impl PartialEq<Statistics> for Statistics
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &Statistics) -> bool
fn ne(&self, other: &Statistics) -> bool
This method tests for !=
.
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
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