| 3038 | bool IoRecordedRandomAccessFile::closed() const { return closed_; } |
| 3039 | |
| 3040 | Status IoRecordedRandomAccessFile::Seek(int64_t position) { |
| 3041 | position_ = position; |
| 3042 | return Status::OK(); |
| 3043 | } |
| 3044 | |
| 3045 | Result<int64_t> IoRecordedRandomAccessFile::Read(int64_t nbytes, void* out) { |
| 3046 | ARROW_ASSIGN_OR_RAISE(int64_t bytes_read, ReadAt(position_, nbytes, out)); |