pub struct AggregateStatistics {}Expand description
Optimizer that uses available statistics for aggregate functions
Implementations§
Source§impl AggregateStatistics
impl AggregateStatistics
pub fn new() -> AggregateStatistics
Trait Implementations§
Source§impl Debug for AggregateStatistics
impl Debug for AggregateStatistics
Source§impl Default for AggregateStatistics
impl Default for AggregateStatistics
Source§fn default() -> AggregateStatistics
fn default() -> AggregateStatistics
Returns the “default value” for a type. Read more
Source§impl PhysicalOptimizerRule for AggregateStatistics
impl PhysicalOptimizerRule for AggregateStatistics
Source§fn schema_check(&self) -> bool
fn schema_check(&self) -> bool
This rule will change the nullable properties of the schema, disable the schema check.
Source§fn optimize(
&self,
plan: Arc<dyn ExecutionPlan>,
config: &ConfigOptions,
) -> Result<Arc<dyn ExecutionPlan>, DataFusionError>
fn optimize( &self, plan: Arc<dyn ExecutionPlan>, config: &ConfigOptions, ) -> Result<Arc<dyn ExecutionPlan>, DataFusionError>
Rewrite
plan to an optimized formAuto Trait Implementations§
impl Freeze for AggregateStatistics
impl RefUnwindSafe for AggregateStatistics
impl Send for AggregateStatistics
impl Sync for AggregateStatistics
impl Unpin for AggregateStatistics
impl UnwindSafe for AggregateStatistics
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more