from Seekable
| 310 | |
| 311 | // from Seekable |
| 312 | Status Seek(int64_t position) override { |
| 313 | if (closed()) return Status::Invalid("Cannot seek in a closed file"); |
| 314 | ARROW_ASSIGN_OR_RAISE( |
| 315 | stream_, factory_(gcs::Generation(metadata_.generation()), gcs::ReadRange(), |
| 316 | gcs::ReadFromOffset(position))); |
| 317 | return Status::OK(); |
| 318 | } |
| 319 | |
| 320 | private: |
| 321 | Status InitializeStream() const { |
nothing calls this directly
no test coverage detected