MCPcopy Create free account
hub / github.com/apache/impala / CodecInfo

Class CodecInfo

be/src/util/codec.h:63–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61 static const CodecMap CODEC_MAP;
62
63 struct CodecInfo {
64 public:
65 CodecInfo(THdfsCompression::type format,
66 std::optional<int> compression_level = std::nullopt)
67 : format_(format), compression_level_(compression_level) {}
68
69 THdfsCompression::type format_;
70
71 // Currently GZIP, ZSTD and BZIP2 use compression levels.
72 std::optional<int> compression_level_;
73 };
74
75 /// Create a decompressor.
76 /// Input:

Callers 2

TryCompressMethod · 0.85
RunTestMethod · 0.85

Calls

no outgoing calls

Tested by 1

RunTestMethod · 0.68