| 1509 | } |
| 1510 | |
| 1511 | Future<> OpenAsync(const std::shared_ptr<io::RandomAccessFile>& file, |
| 1512 | int64_t footer_offset, const IpcReadOptions& options) { |
| 1513 | owned_file_ = file; |
| 1514 | metadata_cache_ = std::make_shared<io::internal::ReadRangeCache>( |
| 1515 | file, file->io_context(), options.pre_buffer_cache_options); |
| 1516 | return OpenAsync(file.get(), footer_offset, options); |
| 1517 | } |
| 1518 | |
| 1519 | Future<> OpenAsync(io::RandomAccessFile* file, int64_t footer_offset, |
| 1520 | const IpcReadOptions& options) { |
nothing calls this directly
no test coverage detected