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

Method MaxRleBufferSize

cpp/src/parquet/encoder.cc:1709–1712  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1707 void PutImpl(const SequenceType& src, int num_values);
1708
1709 int64_t MaxRleBufferSize() const noexcept {
1710 return RlePreserveBufferSize(static_cast<int64_t>(buffered_append_values_.size()),
1711 kBitWidth);
1712 }
1713
1714 constexpr static int32_t kBitWidth = 1;
1715 /// 4 bytes in little-endian, which indicates the length.

Callers

nothing calls this directly

Calls 2

RlePreserveBufferSizeFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected