pub struct OptimizerConfig<'a> {
pub coerced_conditionals: bool,
pub enable_filter_pushdown: bool,
pub enable_boolean_simplify: bool,
pub enable_vector_threshold_merge: bool,
pub enable_join_reordering: bool,
pub constant_evaluator: ConstantEvaluator,
pub builtin_permissions: Option<Arc<dyn BuiltinRoutineExecution>>,
pub routine_inlining: Option<RoutineInliningContext<'a>>,
/* private fields */
}Fields§
§coerced_conditionals: boolCASE/COALESCE result types and arm coercions have already been retained by the caller. Unreachable arms can be discarded without changing subsequent type inference.
enable_filter_pushdown: bool§enable_boolean_simplify: bool§enable_vector_threshold_merge: bool§enable_join_reordering: bool§constant_evaluator: ConstantEvaluatorShared scalar execution supplied by the engine composition boundary.
builtin_permissions: Option<Arc<dyn BuiltinRoutineExecution>>Retained selected-call authority for immutable evaluation. An absent catalog has no mutable routine ACLs.
routine_inlining: Option<RoutineInliningContext<'a>>Selected SQL functions expanded in the caller’s plan, never in stored syntax.
Implementations§
Source§impl OptimizerConfig<'_>
impl OptimizerConfig<'_>
pub const fn new(constant_evaluator: ConstantEvaluator) -> Self
Trait Implementations§
Source§impl<'a> Clone for OptimizerConfig<'a>
impl<'a> Clone for OptimizerConfig<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for OptimizerConfig<'a>
impl<'a> !Send for OptimizerConfig<'a>
impl<'a> !Sync for OptimizerConfig<'a>
impl<'a> !UnwindSafe for OptimizerConfig<'a>
impl<'a> Freeze for OptimizerConfig<'a>
impl<'a> Unpin for OptimizerConfig<'a>
impl<'a> UnsafeUnpin for OptimizerConfig<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
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