| 1 | #include "duckdb/storage/statistics/segment_statistics.hpp" |
|---|---|
| 2 | |
| 3 | #include "duckdb/common/exception.hpp" |
| 4 | |
| 5 | namespace duckdb { |
| 6 | |
| 7 | SegmentStatistics::SegmentStatistics(LogicalType type) : statistics(BaseStatistics::CreateEmpty(type: std::move(type))) { |
| 8 | } |
| 9 | |
| 10 | SegmentStatistics::SegmentStatistics(BaseStatistics stats) : statistics(std::move(stats)) { |
| 11 | } |
| 12 | |
| 13 | } // namespace duckdb |
| 14 |