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

Method Open

cpp/src/arrow/io/file.cc:304–309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

302ReadableFile::~ReadableFile() { internal::CloseFromDestructor(this); }
303
304Result<std::shared_ptr<ReadableFile>> ReadableFile::Open(const std::string& path,
305 MemoryPool* pool) {
306 auto file = std::shared_ptr<ReadableFile>(new ReadableFile(pool));
307 RETURN_NOT_OK(file->impl_->Open(path));
308 return file;
309}
310
311Result<std::shared_ptr<ReadableFile>> ReadableFile::Open(int fd, MemoryPool* pool) {
312 auto file = std::shared_ptr<ReadableFile>(new ReadableFile(pool));

Callers 2

ParquetReadFunction · 0.45

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected