| 166 | } |
| 167 | |
| 168 | void 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 |