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

Method Update

cpp/src/parquet/statistics.cc:733–745  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

731 int64_t null_count) override;
732
733 void Update(const ::arrow::Array& values, bool update_counts) override {
734 if (update_counts) {
735 IncrementNullCount(values.null_count());
736 IncrementNumValues(values.length() - values.null_count());
737 }
738
739 if (values.null_count() == values.length()) {
740 return;
741 }
742
743 if (comparator_ == nullptr) return;
744 SetMinMaxPair(comparator_->GetMinMax(values));
745 }
746
747 const T& min() const override { return min_; }
748

Callers

nothing calls this directly

Calls 3

null_countMethod · 0.45
lengthMethod · 0.45
GetMinMaxMethod · 0.45

Tested by

no test coverage detected