| 910 | } |
| 911 | |
| 912 | Result<std::vector<::arrow::io::ReadRange>> ParquetFileReader::GetReadRanges( |
| 913 | const std::vector<int>& row_groups, const std::vector<int>& column_indices, |
| 914 | int64_t hole_size_limit, int64_t range_size_limit) { |
| 915 | // Access private methods here |
| 916 | SerializedFile* file = |
| 917 | ::arrow::internal::checked_cast<SerializedFile*>(contents_.get()); |
| 918 | return file->GetReadRanges(row_groups, column_indices, hole_size_limit, |
| 919 | range_size_limit); |
| 920 | } |
| 921 | |
| 922 | Future<> ParquetFileReader::WhenBuffered(const std::vector<int>& row_groups, |
| 923 | const std::vector<int>& column_indices) const { |