public class ListColumnReader extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
calculateCollectionOffsets(Field field,
it.unimi.dsi.fastutil.ints.IntList offsets,
it.unimi.dsi.fastutil.booleans.BooleanList collectionIsNull,
int[] definitionLevels,
int[] repetitionLevels)
Each collection (Array or Map) has four variants of presence:
1) Collection is not defined, because one of it's optional parent fields is null
2) Collection is null
3) Collection is defined but empty
4) Collection is defined and not empty.
|
public static void calculateCollectionOffsets(Field field, it.unimi.dsi.fastutil.ints.IntList offsets, it.unimi.dsi.fastutil.booleans.BooleanList collectionIsNull, int[] definitionLevels, int[] repetitionLevels)
Copyright © 2012–2024. All rights reserved.