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

Method SetDistinctCount

cpp/src/parquet/statistics.cc:907–911  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

905 void Copy(const T& src, T* dst, ResizableBuffer*) { *dst = src; }
906
907 void SetDistinctCount(int64_t n) {
908 // distinct count can only be "set", and cannot be incremented.
909 statistics_.distinct_count = n;
910 has_distinct_count_ = true;
911 }
912
913 void ResetCounts() {
914 this->statistics_.null_count = 0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected