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 utils::split_conjunction;
Modules§
- aggregate
- analysis
- Interval and selectivity in
AnalysisContext
- 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
- tree_
node - udf
- utils
- window
Structs§
- Groups
Accumulator Adapter - An adapter that implements
GroupsAccumulator
for anyAccumulator
- LexOrdering
LexOrdering
contains aVec<PhysicalSortExpr>
, which represents a lexicographical ordering.- LexRequirement
LexRequirement
is an struct containing aVec<PhysicalSortRequirement>
, which represents a lexicographical ordering requirement.- 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. - Partitioning
- Output partitioning supported by
ExecutionPlan
s.
Traits§
- Physical
Expr PhysicalExpr
s represent expressions such asA + 1
orCAST(c1 AS int)
.
Functions§
- 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.
- reverse_
order_ bys - Reverses the ORDER BY expression, which is useful during equivalent window expression construction. For instance, ‘ORDER BY a ASC, NULLS LAST’ turns into ‘ORDER BY a DESC, NULLS FIRST’.
Type Aliases§
- Physical
Expr Ref - Shared
PhysicalExpr
.