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

Method Update

cpp/src/parquet/statistics.cc:765–777  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

763 int64_t null_count) override;
764
765 void Update(const ::arrow::Array& values, bool update_counts) override {
766 if (update_counts) {
767 IncrementNullCount(values.null_count());
768 IncrementNumValues(values.length() - values.null_count());
769 }
770
771 if (values.null_count() == values.length()) {
772 return;
773 }
774
775 if (comparator_ == nullptr) return;
776 SetMinMaxPair(comparator_->GetMinMax(values));
777 }
778
779 const T& min() const override { return min_; }
780

Callers

nothing calls this directly

Calls 3

null_countMethod · 0.45
lengthMethod · 0.45
GetMinMaxMethod · 0.45

Tested by

no test coverage detected