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

Method Init

cpp/src/arrow/util/compression_brotli.cc:229–235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

227 }
228
229 Status Init() override {
230 if (window_bits_ < BROTLI_MIN_WINDOW_BITS || window_bits_ > BROTLI_MAX_WINDOW_BITS) {
231 return Status::Invalid("Brotli window_bits should be between ",
232 BROTLI_MIN_WINDOW_BITS, " and ", BROTLI_MAX_WINDOW_BITS);
233 }
234 return Status::OK();
235 }
236
237 Compression::type compression_type() const override { return Compression::BROTLI; }
238

Callers 2

MakeCompressorMethod · 0.45
MakeDecompressorMethod · 0.45

Calls 2

InvalidFunction · 0.50
OKFunction · 0.50

Tested by

no test coverage detected