Create an empty stats.
| 661 | |
| 662 | // Create an empty stats. |
| 663 | TypedStatisticsImpl(const ColumnDescriptor* descr, MemoryPool* pool) |
| 664 | : descr_(descr), |
| 665 | pool_(pool), |
| 666 | min_buffer_(AllocateBuffer(pool_, 0)), |
| 667 | max_buffer_(AllocateBuffer(pool_, 0)), |
| 668 | logical_type_(LogicalTypeId(descr_)) { |
| 669 | if (descr->sort_order() != SortOrder::UNKNOWN) { |
| 670 | comparator_ = MakeComparator<DType>(descr); |
| 671 | } |
| 672 | TypedStatisticsImpl::Reset(); |
| 673 | } |
| 674 | |
| 675 | // Create stats from provided values. |
| 676 | TypedStatisticsImpl(const T& min, const T& max, int64_t num_values, int64_t null_count, |
nothing calls this directly
no test coverage detected