Re-exports§
pub use analysis::analyze;
pub use analysis::AnalysisContext;
pub use analysis::ExprBoundaries;
pub use equivalence::calculate_union;
pub use equivalence::AcrossPartitions;
pub use equivalence::ConstExpr;
pub use equivalence::EquivalenceProperties;
pub use planner::create_physical_expr;
pub use planner::create_physical_exprs;
pub use schema_rewriter::DefaultPhysicalExprAdapter;
pub use utils::conjunction;
pub use utils::conjunction_opt;
pub use utils::split_conjunction;
Modules§
- aggregate
- analysis
- Interval and selectivity in
AnalysisContext
- async_
scalar_ function - binary_
map - equivalence
- execution_
props - expressions
- Defines physical expressions that can evaluated at runtime during query execution
- intervals
- Interval arithmetic and constraint propagation library
- planner
- schema_
rewriter - Physical expression schema rewriting utilities
- simplifier
- Simplifier for Physical Expressions
- statistics
- Statistics and constraint propagation library
- tree_
node - utils
- window
Structs§
- Groups
Accumulator Adapter - An adapter that implements
GroupsAccumulator
for anyAccumulator
- LexOrdering
- This object represents a lexicographical ordering and contains a vector
of
PhysicalSortExpr
objects. - LexRequirement
- This object represents a lexicographical ordering requirement and contains
a vector of
PhysicalSortRequirement
objects. - Null
State - Track the accumulator null state per row: if any values for that group were null and if any values have been seen at all for that group.
- Physical
Sort Expr - Represents Sort operation for a column in a RecordBatch
- Physical
Sort Requirement - Represents sort requirement associated with a plan
- Scalar
Function Expr - Physical expression of a scalar function
Enums§
- Distribution
- How data is distributed amongst partitions. See
Partitioning
for more details. - Ordering
Requirements - Represents a plan’s input ordering requirements. Vector elements represent alternative ordering requirements in the order of preference. The list of alternatives can be either hard or soft, depending on whether the operator can work without an input ordering.
- Partitioning
- Output partitioning supported by
ExecutionPlan
s.
Traits§
- Physical
Expr PhysicalExpr
s represent expressions such asA + 1
orCAST(c1 AS int)
.
Functions§
- add_
offset_ to_ expr - Adds the
offset
value toColumn
indices insideexpr
. This function is generally used during the update of the right table schema in join operations. - add_
offset_ to_ physical_ sort_ exprs - create_
ordering - Converts logical sort expressions to physical sort expressions.
- create_
physical_ sort_ expr - Create a physical sort expression from a logical expression
- create_
physical_ sort_ exprs - Create vector of physical sort expression from a vector of logical expression
- physical_
exprs_ bag_ equal - Checks whether the given physical expression slices are equal in the sense of bags (multi-sets), disregarding their orderings.
- physical_
exprs_ contains - This function is similar to the
contains
method ofVec
. It finds whetherexpr
is amongphysical_exprs
. - physical_
exprs_ equal - Checks whether the given physical expression slices are equal.
Type Aliases§
- Physical
Expr Ref - Shared
PhysicalExpr
.