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

Method MinimumCompressionLevel

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

Source from the content-addressed store, hash-verified

126}
127
128Result<int> Codec::MinimumCompressionLevel(Compression::type codec_type) {
129 RETURN_NOT_OK(CheckSupportsCompressionLevel(codec_type));
130 ARROW_ASSIGN_OR_RAISE(auto codec, Codec::Create(codec_type));
131 return codec->minimum_compression_level();
132}
133
134Result<int> Codec::DefaultCompressionLevel(Compression::type codec_type) {
135 RETURN_NOT_OK(CheckSupportsCompressionLevel(codec_type));

Callers

nothing calls this directly

Calls 2

Tested by

no test coverage detected