| 910 | |
| 911 | template <typename DType> |
| 912 | void TypedStatisticsImpl<DType>::UpdateSpaced(const T* values, const uint8_t* valid_bits, |
| 913 | int64_t valid_bits_offset, |
| 914 | int64_t num_spaced_values, |
| 915 | int64_t num_values, int64_t null_count) { |
| 916 | DCHECK_GE(num_values, 0); |
| 917 | DCHECK_GE(null_count, 0); |
| 918 | |
| 919 | IncrementNullCount(null_count); |
| 920 | IncrementNumValues(num_values); |
| 921 | |
| 922 | if (num_values == 0 || comparator_ == nullptr) return; |
| 923 | SetMinMaxPair(comparator_->GetMinMaxSpaced(values, num_spaced_values, valid_bits, |
| 924 | valid_bits_offset)); |
| 925 | } |
| 926 | |
| 927 | template <typename DType> |
| 928 | void TypedStatisticsImpl<DType>::PlainEncode(const T& src, std::string* dst) const { |