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

Method DefaultCompressionLevel

cpp/src/arrow/util/compression.cc:134–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132}
133
134Result<int> Codec::DefaultCompressionLevel(Compression::type codec_type) {
135 RETURN_NOT_OK(CheckSupportsCompressionLevel(codec_type));
136 ARROW_ASSIGN_OR_RAISE(auto codec, Codec::Create(codec_type));
137 return codec->default_compression_level();
138}
139
140Result<std::unique_ptr<Codec>> Codec::Create(Compression::type codec_type,
141 const CodecOptions& codec_options) {

Callers

nothing calls this directly

Calls 2

Tested by

no test coverage detected