| 2939 | bool IoRecordedRandomAccessFile::closed() const { return closed_; } |
| 2940 | |
| 2941 | Status IoRecordedRandomAccessFile::Seek(int64_t position) { |
| 2942 | position_ = position; |
| 2943 | return Status::OK(); |
| 2944 | } |
| 2945 | |
| 2946 | Result<int64_t> IoRecordedRandomAccessFile::Read(int64_t nbytes, void* out) { |
| 2947 | ARROW_ASSIGN_OR_RAISE(int64_t bytes_read, ReadAt(position_, nbytes, out)); |