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

Method Make

cpp/src/arrow/io/compressed.cc:200–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

198};
199
200Result<std::shared_ptr<CompressedOutputStream>> CompressedOutputStream::Make(
201 util::Codec* codec, const std::shared_ptr<OutputStream>& raw, MemoryPool* pool) {
202 // CAUTION: codec is not owned
203 std::shared_ptr<CompressedOutputStream> res(new CompressedOutputStream);
204 res->impl_.reset(new Impl(pool, raw));
205 RETURN_NOT_OK(res->impl_->Init(codec));
206 return res;
207}
208
209CompressedOutputStream::~CompressedOutputStream() { internal::CloseFromDestructor(this); }
210

Callers

nothing calls this directly

Calls 2

resetMethod · 0.45
InitMethod · 0.45

Tested by

no test coverage detected