| 1478 | class ObjectInputFile final : public io::RandomAccessFile { |
| 1479 | public: |
| 1480 | ObjectInputFile(std::shared_ptr<S3ClientHolder> holder, const io::IOContext& io_context, |
| 1481 | const S3Path& path, int64_t size = kNoSize, |
| 1482 | const std::string& sse_customer_key = "") |
| 1483 | : holder_(std::move(holder)), |
| 1484 | io_context_(io_context), |
| 1485 | path_(path), |
| 1486 | content_length_(size), |
| 1487 | sse_customer_key_(sse_customer_key) {} |
| 1488 | |
| 1489 | Status Init() { |
| 1490 | // Issue a HEAD Object to get the content-length and ensure any |
nothing calls this directly
no outgoing calls
no test coverage detected