Struct datafusion_optimizer::optimizer::OptimizerConfig
source · pub struct OptimizerConfig { /* private fields */ }Expand description
Options to control the DataFusion Optimizer.
Implementations
sourceimpl OptimizerConfig
impl OptimizerConfig
sourcepub fn filter_null_keys(self, filter_null_keys: bool) -> Self
pub fn filter_null_keys(self, filter_null_keys: bool) -> Self
Specify whether to enable the filter_null_keys rule
sourcepub fn with_query_execution_start_time(
self,
query_execution_tart_time: DateTime<Utc>
) -> Self
pub fn with_query_execution_start_time(
self,
query_execution_tart_time: DateTime<Utc>
) -> Self
Specify whether the optimizer should skip rules that produce errors, or fail the query
sourcepub fn with_skip_failing_rules(self, b: bool) -> Self
pub fn with_skip_failing_rules(self, b: bool) -> Self
Specify whether the optimizer should skip rules that produce errors, or fail the query
sourcepub fn with_max_passes(self, v: u8) -> Self
pub fn with_max_passes(self, v: u8) -> Self
Specify how many times to attempt to optimize the plan
sourcepub fn query_execution_start_time(&self) -> DateTime<Utc>
pub fn query_execution_start_time(&self) -> DateTime<Utc>
Return the time at which the query execution started. This time is used as the value for now()
Trait Implementations
sourceimpl Debug for OptimizerConfig
impl Debug for OptimizerConfig
sourceimpl Default for OptimizerConfig
impl Default for OptimizerConfig
Auto Trait Implementations
impl RefUnwindSafe for OptimizerConfig
impl Send for OptimizerConfig
impl Sync for OptimizerConfig
impl Unpin for OptimizerConfig
impl UnwindSafe for OptimizerConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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