pub struct OptState {
pub projection_pushdown: bool,
pub predicate_pushdown: bool,
pub cluster_with_columns: bool,
pub type_coercion: bool,
pub simplify_expr: bool,
pub file_caching: bool,
pub slice_pushdown: bool,
pub streaming: bool,
pub eager: bool,
pub fast_projection: bool,
pub row_estimate: bool,
}
Available on crate feature
lazy
only.Expand description
State of the allowed optimizations
Fields§
§projection_pushdown: bool
Only read columns that are used later in the query.
predicate_pushdown: bool
Apply predicates/filters as early as possible.
cluster_with_columns: bool
Cluster sequential with_columns
calls to independent calls.
type_coercion: bool
Run many type coercion optimization rules until fixed point.
simplify_expr: bool
Run many expression optimization rules until fixed point.
file_caching: bool
Cache file reads.
slice_pushdown: bool
Pushdown slices/limits.
streaming: bool
Run nodes that are capably of doing so on the streaming engine.
eager: bool
Run every node eagerly. This turns off multi-node optimizations.
fast_projection: bool
Replace simple projections with a faster inlined projection that skips the expression engine.
row_estimate: bool
Try to estimate the number of rows so that joins can determine which side to keep in memory.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OptState
impl RefUnwindSafe for OptState
impl Send for OptState
impl Sync for OptState
impl Unpin for OptState
impl UnwindSafe for OptState
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> 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