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

Method AppendDefLevels

cpp/src/parquet/test_util.h:254–261  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

252 have_values_(false) {}
253
254 void AppendDefLevels(const std::vector<int16_t>& levels, int16_t max_level,
255 Encoding::type encoding = Encoding::RLE) {
256 AppendLevels(levels, max_level, encoding);
257
258 num_values_ = std::max(static_cast<int32_t>(levels.size()), num_values_);
259 definition_level_encoding_ = encoding;
260 have_def_levels_ = true;
261 }
262
263 void AppendRepLevels(const std::vector<int16_t>& levels, int16_t max_level,
264 Encoding::type encoding = Encoding::RLE) {

Callers 1

MakeDataPageFunction · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected