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

Method MakeDecompressor

cpp/src/arrow/util/compression_lz4.cc:312–316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

310 }
311
312 Result<std::shared_ptr<Decompressor>> MakeDecompressor() override {
313 auto ptr = std::make_shared<LZ4Decompressor>();
314 RETURN_NOT_OK(ptr->Init());
315 return ptr;
316 }
317
318 Compression::type compression_type() const override { return Compression::LZ4_FRAME; }
319 int minimum_compression_level() const override { return kLz4MinCompressionLevel; }

Callers

nothing calls this directly

Calls 1

InitMethod · 0.45

Tested by

no test coverage detected