Struct polars_plan::frame::OptState
source · pub struct OptState {
pub projection_pushdown: bool,
pub predicate_pushdown: 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,
}
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.
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§
impl Copy for OptState
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