Class StructColumnReader

java.lang.Object
io.trino.parquet.reader.StructColumnReader

public final class StructColumnReader extends Object
  • Method Details

    • calculateStructOffsets

      public static StructColumnReader.RowBlockPositions calculateStructOffsets(Field field, int[] fieldDefinitionLevels, int[] fieldRepetitionLevels)
      Each struct has three variants of presence: 1) Struct is not defined, because one of it's optional parent fields is null 2) Struct is null 3) Struct is defined and not empty.