Struct polars_lazy::frame::OptState  
pub struct OptState {Show 13 fields
    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 comm_subplan_elim: bool,
    pub comm_subexpr_elim: bool,
    pub streaming: bool,
    pub eager: bool,
    pub fast_projection: bool,
    pub row_estimate: bool,
}Expand description
State of the allowed optimizations
Fields§
§projection_pushdown: boolOnly read columns that are used later in the query.
predicate_pushdown: boolApply predicates/filters as early as possible.
cluster_with_columns: boolCluster sequential with_columns calls to independent calls.
type_coercion: boolRun many type coercion optimization rules until fixed point.
simplify_expr: boolRun many expression optimization rules until fixed point.
file_caching: boolCache file reads.
slice_pushdown: boolPushdown slices/limits.
comm_subplan_elim: boolcse only.Run common-subplan-elimination. This elides duplicate plans and caches their outputs.
comm_subexpr_elim: boolcse only.Run common-subexpression-elimination. This elides duplicate expressions and caches their outputs.
streaming: boolRun nodes that are capably of doing so on the streaming engine.
eager: boolRun every node eagerly. This turns off multi-node optimizations.
fast_projection: boolReplace simple projections with a faster inlined projection that skips the expression engine.
row_estimate: boolTry 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
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>
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>
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