| 708 | } |
| 709 | |
| 710 | Future<std::shared_ptr<Buffer>> MemoryMappedFile::ReadAsync(const IOContext&, |
| 711 | int64_t position, |
| 712 | int64_t nbytes) { |
| 713 | return Future<std::shared_ptr<Buffer>>::MakeFinished(ReadAt(position, nbytes)); |
| 714 | } |
| 715 | |
| 716 | Status MemoryMappedFile::WillNeed(const std::vector<ReadRange>& ranges) { |
| 717 | using ::arrow::internal::MemoryRegion; |
no outgoing calls