| 897 | } |
| 898 | |
| 899 | void ParquetFileReader::PreBuffer(const std::vector<int>& row_groups, |
| 900 | const std::vector<int>& column_indices, |
| 901 | const ::arrow::io::IOContext& ctx, |
| 902 | const ::arrow::io::CacheOptions& options) { |
| 903 | // Access private methods here |
| 904 | SerializedFile* file = |
| 905 | ::arrow::internal::checked_cast<SerializedFile*>(contents_.get()); |
| 906 | file->PreBuffer(row_groups, column_indices, ctx, options); |
| 907 | } |
| 908 | |
| 909 | Result<std::vector<::arrow::io::ReadRange>> ParquetFileReader::GetReadRanges( |
| 910 | const std::vector<int>& row_groups, const std::vector<int>& column_indices, |