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

Method MaximumCompressionLevel

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

Source from the content-addressed store, hash-verified

120}
121
122Result<int> Codec::MaximumCompressionLevel(Compression::type codec_type) {
123 RETURN_NOT_OK(CheckSupportsCompressionLevel(codec_type));
124 ARROW_ASSIGN_OR_RAISE(auto codec, Codec::Create(codec_type));
125 return codec->maximum_compression_level();
126}
127
128Result<int> Codec::MinimumCompressionLevel(Compression::type codec_type) {
129 RETURN_NOT_OK(CheckSupportsCompressionLevel(codec_type));

Callers

nothing calls this directly

Calls 2

Tested by

no test coverage detected