| 3019 | bool IoRecordedRandomAccessFile::closed() const { return closed_; } |
| 3020 | |
| 3021 | Status IoRecordedRandomAccessFile::Seek(int64_t position) { |
| 3022 | position_ = position; |
| 3023 | return Status::OK(); |
| 3024 | } |
| 3025 | |
| 3026 | Result<int64_t> IoRecordedRandomAccessFile::Read(int64_t nbytes, void* out) { |
| 3027 | ARROW_ASSIGN_OR_RAISE(int64_t bytes_read, ReadAt(position_, nbytes, out)); |