MCPcopy Create free account
hub / github.com/apache/datafusion / lt_eq

Method lt_eq

datafusion/expr-common/src/interval_arithmetic.rs:544–546  ·  view source on GitHub ↗

Decide if this interval is certainly less than or equal to, possibly less than or equal to, or can't be less than or equal to `other` by returning `[true, true]`, `[false, true]` or `[false, false]` respectively. NOTE: This function only works with intervals of the same data type. Attempting to compare intervals of different data types will lead to an error.

(&self, other: T)

Source from the content-addressed store, hash-verified

542 /// Attempting to compare intervals of different data types will lead
543 /// to an error.
544 pub fn lt_eq<T: Borrow<Self>>(&self, other: T) -> Result<Self> {
545 other.borrow().gt_eq(self)
546 }
547
548 /// Decide if this interval is certainly equal to, possibly equal to, or
549 /// can't be equal to `other` by returning `[true, true]`, `[false, true]`

Callers 1

apply_operatorFunction · 0.45

Calls 1

gt_eqMethod · 0.45

Tested by

no test coverage detected