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

Method Update

cpp/src/parquet/statistics.cc:820–832  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

818 int64_t null_count) override;
819
820 void Update(const ::arrow::Array& values, bool update_counts) override {
821 if (update_counts) {
822 IncrementNullCount(values.null_count());
823 IncrementNumValues(values.length() - values.null_count());
824 }
825
826 if (values.null_count() == values.length()) {
827 return;
828 }
829
830 if (comparator_ == nullptr) return;
831 SetMinMaxPair(comparator_->GetMinMax(values));
832 }
833
834 const T& min() const override { return min_; }
835

Callers

nothing calls this directly

Calls 3

null_countMethod · 0.45
lengthMethod · 0.45
GetMinMaxMethod · 0.45

Tested by

no test coverage detected