Re-exports§
pub use crate::frame::AllowedOptimizations;
pub use crate::frame::OptFlags;
Modules§
Structs§
- AExpr
Iter - AlpIter
- Anonymous
Scan Args - Anonymous
Scan Options - Cached
Schema - Drop
Function - DslBuilder
- Escape
Label - Utility structure to write to a
fmt::Formatter
whilst escaping the output as a label name - ExprIR
Display - Expr
Iter - Expr
Mapper - File
Info - IRBuilder
- IRDisplay
- IRDot
Display - IRPlan
- IRPlan
Ref - Null
- The literal Null
- Opaque
Python Udf python
- Paths
Display - Predicate
Push Down - Projection
Push Down - Scan
Source Iter - An iterator for
ScanSources
- Scan
Sources Display - Simplify
Boolean Rule - Simplify
Expr Rule - Stack
Optimizer - Optimizer that uses a stack and memory arenas in favor of recursion
- Type
Coercion Rule
Enums§
- AExpr
- IR expression node that is allocated in an
Arena
. - Context
- DslFunction
- DslPlan
- File
Scan - FunctionIR
- IR
IR
is a representation ofDslPlan
withNode
s which are allocated in anArena
In this IR the logical plan has access to the full dataset.- IRAgg
Expr - Literal
Value - Node
Inputs - Scan
Source Ref - A reference to a single item in
ScanSources
- Scan
Sources - Set of sources to scan from
- Stats
Function
Constants§
Traits§
- Anonymous
Scan - Arena
Expr Iter - Arena
LpIter - Data
Frame Udf - Data
Frame UdfMut - Literal
- Optimization
Rule - Optimize
- Typed
Literal - UdfSchema
Functions§
- all_
elementwise - can_
pre_ agg - Checks whether an expression can be pre-aggregated in a group-by. Note that this also must be implemented physically, so this isn’t a complete list.
- can_
pre_ agg_ exprs - is_
elementwise - Checks if the top-level expression node is elementwise. If this is the case, then
stack
will be extended further with any nested expression nodes. - is_
elementwise_ rec - Recursive variant of
is_elementwise
- is_
elementwise_ rec_ no_ cat_ cast - Recursive variant of
is_elementwise
that also forbids casting to categoricals. This function is used to determine if an expression evaluation can be vertically parallelized. - is_
scalar_ ae - lit
- Create a Literal Expression from
L
. A literal expression behaves like a column that contains a single distinct value. - node_
to_ expr - converts a node from the AExpr arena to Expr
- node_
to_ lp - converts a node from the IR arena to a LogicalPlan
- node_
to_ lp_ cloned - optimize
- permits_
filter_ pushdown_ rec - set_
estimated_ row_ counts streaming
- to_
aexpr - converts expression to AExpr and adds it to the arena, which uses an arena (Vec) for allocation
- to_alp
- to_
alp_ impl - converts LogicalPlan to IR it adds expressions & lps to the respective arenas as it traverses the plan finally it returns the top node of the logical plan
- to_
expr_ ir - to_
expr_ ir_ ignore_ alias - typed_
lit