| 625 | } // namespace |
| 626 | |
| 627 | std::unique_ptr<PageReader> PageReader::Open( |
| 628 | std::shared_ptr<ArrowInputStream> stream, int64_t total_num_values, |
| 629 | Compression::type codec, const ReaderProperties& properties, |
| 630 | const ColumnDescriptor& descr, bool always_compressed, const CryptoContext* ctx) { |
| 631 | const auto stats_min_max_field = GetStatisticsMinMaxField(descr); |
| 632 | return std::unique_ptr<PageReader>( |
| 633 | new SerializedPageReader(std::move(stream), total_num_values, codec, properties, |
| 634 | ctx, always_compressed, stats_min_max_field)); |
| 635 | } |
| 636 | |
| 637 | std::unique_ptr<PageReader> PageReader::Open(std::shared_ptr<ArrowInputStream> stream, |
| 638 | int64_t total_num_values, |
nothing calls this directly
no test coverage detected