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

Method lt

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

Decide if this interval is certainly less than, possibly less than, or can't be less than `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

531 /// Attempting to compare intervals of different data types will lead
532 /// to an error.
533 pub fn lt<T: Borrow<Self>>(&self, other: T) -> Result<Self> {
534 other.borrow().gt(self)
535 }
536
537 /// Decide if this interval is certainly less than or equal to, possibly
538 /// less than or equal to, or can't be less than or equal to `other` by

Callers 4

apply_operatorFunction · 0.45
handle_overflowFunction · 0.45
medianMethod · 0.45
try_newMethod · 0.45

Calls 1

gtMethod · 0.45

Tested by

no test coverage detected