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

Method get_value

datafusion/common/src/stats.rs:66–71  ·  view source on GitHub ↗

If we have some value (exact or inexact), it returns that value. Otherwise, it returns `None`.

(&self)

Source from the content-addressed store, hash-verified

64 /// If we have some value (exact or inexact), it returns that value.
65 /// Otherwise, it returns `None`.
66 pub fn get_value(&self) -> Option<&T> {
67 match self {
68 Precision::Exact(value) | Precision::Inexact(value) => Some(value),
69 Precision::Absent => None,
70 }
71 }
72
73 /// Transform the value in this [`Precision`] object, if one exists, using
74 /// the given function. Preserves the exactness state.

Callers 15

create_physical_exprFunction · 0.45
project_statisticsMethod · 0.45
try_from_columnMethod · 0.45
compute_propertiesMethod · 0.45
statistics_innerMethod · 0.45
estimate_num_rowsMethod · 0.45
compute_group_ndvMethod · 0.45
rescale_byte_sizeFunction · 0.45
compute_statisticsMethod · 0.45
equi_join_estimateMethod · 0.45

Calls

no outgoing calls