Module datafusion_expr::interval_arithmetic
source · Expand description
Interval arithmetic library
Structs
- The
Intervaltype represents a closed interval used for computing reliable bounds for mathematical expressions.
Enums
- An Interval that also tracks null status using a boolean interval.
Functions
- Applies the given binary operator the
lhsandrhsarguments. - This function computes the selectivity of an operation by computing the cardinality ratio of the given input/output intervals. If this can not be calculated for some reason, it returns
1.0meaning fully selective (no filtering). - This function updates the given intervals by enforcing (i.e. propagating) the inequality
left > right(or theleft >= rightinequality, ifstrictistrue).