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

Method is_exact

datafusion/common/src/stats.rs:89–95  ·  view source on GitHub ↗

Returns `Some(true)` if we have an exact value, `Some(false)` if we have an inexact value, and `None` if there is no value.

(&self)

Source from the content-addressed store, hash-verified

87 /// Returns `Some(true)` if we have an exact value, `Some(false)` if we
88 /// have an inexact value, and `None` if there is no value.
89 pub fn is_exact(&self) -> Option<bool> {
90 match self {
91 Precision::Exact(_) => Some(true),
92 Precision::Inexact(_) => Some(false),
93 _ => None,
94 }
95 }
96
97 /// Returns the maximum of two (possibly inexact) values, conservatively
98 /// propagating exactness information. If one of the input values is

Callers 7

compute_statisticsMethod · 0.80
estimate_disjoint_inputsFunction · 0.80
max_distinct_countFunction · 0.80
cast_to_sum_typeMethod · 0.80
with_fetchMethod · 0.80
null_countsMethod · 0.80
row_countsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected