| 1 | //===----------------------------------------------------------------------===// |
|---|---|
| 2 | // DuckDB |
| 3 | // |
| 4 | // duckdb/storage/statistics/segment_statistics.hpp |
| 5 | // |
| 6 | // |
| 7 | //===----------------------------------------------------------------------===// |
| 8 | |
| 9 | #pragma once |
| 10 | |
| 11 | #include "duckdb/common/common.hpp" |
| 12 | #include "duckdb/common/types.hpp" |
| 13 | #include "duckdb/storage/statistics/base_statistics.hpp" |
| 14 | |
| 15 | namespace duckdb { |
| 16 | |
| 17 | class SegmentStatistics { |
| 18 | public: |
| 19 | SegmentStatistics(LogicalType type); |
| 20 | SegmentStatistics(BaseStatistics statistics); |
| 21 | |
| 22 | //! Type-specific statistics of the segment |
| 23 | BaseStatistics statistics; |
| 24 | }; |
| 25 | |
| 26 | } // namespace duckdb |
| 27 |