Crate datafusion_physical_expr
source ·Re-exports
pub use aggregate::AggregateExpr;
pub use analysis::analyze;
pub use analysis::AnalysisContext;
pub use analysis::ExprBoundaries;
pub use equivalence::ordering_equivalence_properties_helper;
pub use equivalence::project_equivalence_properties;
pub use equivalence::project_ordering_equivalence_properties;
pub use equivalence::EquivalenceProperties;
pub use equivalence::EquivalentClass;
pub use equivalence::OrderingEquivalenceProperties;
pub use equivalence::OrderingEquivalentClass;
pub use planner::create_physical_expr;
pub use sort_properties::update_ordering;
pub use utils::expr_list_eq_any_order;
pub use utils::expr_list_eq_strict_order;
pub use utils::find_orderings_of_exprs;
pub use utils::normalize_expr_with_equivalence_properties;
pub use utils::normalize_ordering_equivalence_classes;
pub use utils::normalize_out_expr_with_columns_map;
pub use utils::reverse_order_bys;
pub use utils::split_conjunction;
Modules
- Interval and selectivity in
AnalysisContext
- Array expressions
- Crypto expressions
- DateTime expressions
- Encoding expressions
- Defines physical expressions that can evaluated at runtime during query execution
- Declaration of built-in (scalar) functions. This module contains built-in functions’ enumeration and metadata.
- Functionality used both on logical and physical plans
- Interval arithmetic and constraint propagation library
- Math expressions
- Regex expressions
- String expressions
- Struct expressions
- This module provides common traits for visiting or rewriting tree nodes easily.
- UDF support
- Unicode expressions
- Variable provider
Structs
- An adapter that implements
GroupsAccumulator
for anyAccumulator
- Represents Sort operation for a column in a RecordBatch
- Represents sort requirement associated with a plan
- Physical expression of a scalar function
Enums
- Distribution schemes
- Describes how many rows should be emitted during grouping.
- Partitioning schemes supported by operators.
Traits
GroupAccumulator
implements a single aggregate (e.g. AVG) and stores the state for all groups internally.- Expression that can be evaluated against a RecordBatch A Physical expression knows its type, nullability and how to evaluate itself.
Type Aliases
LexOrdering
is a type alias for lexicographical ordering definitionVec<PhysicalSortExpr>
LexOrderingRef
is a type alias for lexicographical ordering reference &[PhysicalSortExpr]
LexOrderingReq
is a type alias for lexicographical ordering requirement definitionVec<PhysicalSortRequirement>
- Shared
PhysicalExpr
.