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

Function DefRepLevelsToBitmap

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

Source from the content-addressed store, hash-verified

157}
158
159void DefRepLevelsToBitmap(const int16_t* def_levels, const int16_t* rep_levels,
160 int64_t num_def_levels, LevelInfo level_info,
161 ValidityBitmapInputOutput* output) {
162 // DefRepLevelsToListInfo assumes it for the actual list method and this
163 // method is for parent structs, so we need to bump def and ref level.
164 level_info.rep_level += 1;
165 level_info.def_level += 1;
166 DefRepLevelsToListInfo<int32_t>(def_levels, rep_levels, num_def_levels, level_info,
167 output, /*offsets=*/nullptr);
168}
169
170} // namespace parquet::internal

Callers 1

BuildArrayMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected