Struct datafusion_physical_expr::analysis::ExprBoundaries
source · pub struct ExprBoundaries {
pub column: Column,
pub interval: Interval,
pub distinct_count: Option<usize>,
}
Expand description
Represents the boundaries of the resulting value from a physical expression, if it were to be an expression, if it were to be evaluated.
Fields§
§column: Column
§interval: Interval
Minimum and maximum values this expression can have.
distinct_count: Option<usize>
Maximum number of distinct values this expression can produce, if known.
Implementations§
source§impl ExprBoundaries
impl ExprBoundaries
sourcepub fn from_column(stats: &ColumnStatistics, col: String, index: usize) -> Self
pub fn from_column(stats: &ColumnStatistics, col: String, index: usize) -> Self
Create a new ExprBoundaries
object from column level statistics.
Trait Implementations§
source§impl Clone for ExprBoundaries
impl Clone for ExprBoundaries
source§fn clone(&self) -> ExprBoundaries
fn clone(&self) -> ExprBoundaries
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 ExprBoundaries
impl Debug for ExprBoundaries
source§impl PartialEq<ExprBoundaries> for ExprBoundaries
impl PartialEq<ExprBoundaries> for ExprBoundaries
source§fn eq(&self, other: &ExprBoundaries) -> bool
fn eq(&self, other: &ExprBoundaries) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ExprBoundaries
Auto Trait Implementations§
impl RefUnwindSafe for ExprBoundaries
impl Send for ExprBoundaries
impl Sync for ExprBoundaries
impl Unpin for ExprBoundaries
impl UnwindSafe for ExprBoundaries
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