MCPcopy Create free account
hub / github.com/apache/arrow / ResetHasFlags

Method ResetHasFlags

cpp/src/parquet/statistics.cc:919–928  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

917 }
918
919 void ResetHasFlags() {
920 // has_min_max_ will only be set when it meets any valid value.
921 this->has_min_max_ = false;
922 // has_distinct_count_ will only be set once SetDistinctCount()
923 // is called because distinct count calculation is not cheap and
924 // disabled by default.
925 this->has_distinct_count_ = false;
926 // Null count calculation is cheap and enabled by default.
927 this->has_null_count_ = true;
928 }
929
930 void SetMinMaxPair(std::pair<T, T> min_max) {
931 if (comparator_ == nullptr) return;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected