MCPcopy Create free account
hub / github.com/apache/arrow / ObjectInputFile

Method ObjectInputFile

cpp/src/arrow/filesystem/s3fs.cc:1480–1487  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1478class 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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected