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