| 997 | |
| 998 | template <typename DType> |
| 999 | void TypedStatisticsImpl<DType>::UpdateSpaced(const T* values, const uint8_t* valid_bits, |
| 1000 | int64_t valid_bits_offset, |
| 1001 | int64_t num_spaced_values, |
| 1002 | int64_t num_values, int64_t null_count) { |
| 1003 | DCHECK_GE(num_values, 0); |
| 1004 | DCHECK_GE(null_count, 0); |
| 1005 | |
| 1006 | IncrementNullCount(null_count); |
| 1007 | IncrementNumValues(num_values); |
| 1008 | |
| 1009 | if (num_values == 0 || comparator_ == nullptr) return; |
| 1010 | SetMinMaxPair(comparator_->GetMinMaxSpaced(values, num_spaced_values, valid_bits, |
| 1011 | valid_bits_offset)); |
| 1012 | } |
| 1013 | |
| 1014 | template <typename DType> |
| 1015 | void TypedStatisticsImpl<DType>::PlainEncode(const T& src, std::string* dst) const { |