| 942 | |
| 943 | template <typename DType> |
| 944 | void TypedStatisticsImpl<DType>::UpdateSpaced(const T* values, const uint8_t* valid_bits, |
| 945 | int64_t valid_bits_offset, |
| 946 | int64_t num_spaced_values, |
| 947 | int64_t num_values, int64_t null_count) { |
| 948 | DCHECK_GE(num_values, 0); |
| 949 | DCHECK_GE(null_count, 0); |
| 950 | |
| 951 | IncrementNullCount(null_count); |
| 952 | IncrementNumValues(num_values); |
| 953 | |
| 954 | if (num_values == 0 || comparator_ == nullptr) return; |
| 955 | SetMinMaxPair(comparator_->GetMinMaxSpaced(values, num_spaced_values, valid_bits, |
| 956 | valid_bits_offset)); |
| 957 | } |
| 958 | |
| 959 | template <typename DType> |
| 960 | void TypedStatisticsImpl<DType>::PlainEncode(const T& src, std::string* dst) const { |