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

Function DefRepLevelsToBitmap

cpp/src/parquet/level_conversion.cc:168–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166}
167
168void DefRepLevelsToBitmap(const int16_t* def_levels, const int16_t* rep_levels,
169 int64_t num_def_levels, LevelInfo level_info,
170 ValidityBitmapInputOutput* output) {
171 // DefRepLevelsToListInfo assumes it for the actual list method and this
172 // method is for parent structs, so we need to bump def and ref level.
173 level_info.rep_level += 1;
174 level_info.def_level += 1;
175 DefRepLevelsToListInfo<int32_t>(def_levels, rep_levels, num_def_levels, level_info,
176 output, /*offsets=*/nullptr);
177}
178
179} // namespace parquet::internal

Callers 1

BuildArrayMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected