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::EquivalenceProperties;
pub use planner::create_physical_expr;
pub use planner::create_physical_exprs;
pub use utils::reverse_order_bys;
pub use utils::split_conjunction;
Modules§
- Interval and selectivity in
AnalysisContext
ArrowBytesMap
andArrowBytesSet
for storing maps/sets of values from StringArray / LargeStringArray / BinaryArray / LargeBinaryArray.- 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.
- Interval arithmetic and constraint propagation library
- Math expressions
- String expressions
- This module provides common traits for visiting or rewriting tree nodes easily.
- UDF support
- Unicode expressions
Structs§
- An adapter that implements
GroupsAccumulator
for anyAccumulator
- 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.
- Represents Sort operation for a column in a RecordBatch
- Represents sort requirement associated with a plan
- Physical expression of a scalar function
Enums§
- How data is distributed amongst partitions. See
Partitioning
for more details. - Output partitioning supported by
ExecutionPlan
s.
Traits§
PhysicalExpr
evaluate DataFusion expressions such asA + 1
, orCAST(c1 AS int)
.
Functions§
- Checks whether the given physical expression slices are equal in the sense of bags (multi-sets), disregarding their orderings.
- This function is similar to the
contains
method ofVec
. It finds whetherexpr
is amongphysical_exprs
. - Checks whether the given physical expression slices are equal.
Type Aliases§
LexOrdering
is an alias for the typeVec<PhysicalSortExpr>
, which represents a lexicographical ordering.LexOrderingRef
is an alias for the type &[PhysicalSortExpr]
, which represents a reference to a lexicographical ordering.LexRequirement
is an alias for the typeVec<PhysicalSortRequirement>
, which represents a lexicographical ordering requirement.LexRequirementRef
is an alias for the type &[PhysicalSortRequirement]
, which represents a reference to a lexicographical ordering requirement.- Shared
PhysicalExpr
.