Class AbstractColumnReader<VECTOR extends WritableColumnVector>

    • Field Detail

      • dictionary

        protected final org.apache.parquet.column.Dictionary dictionary
        The dictionary, if this column has dictionary encoding.
      • maxDefLevel

        protected final int maxDefLevel
        Maximum definition level for this column.
      • descriptor

        protected final org.apache.parquet.column.ColumnDescriptor descriptor
      • runLenDecoder

        protected org.apache.flink.formats.parquet.vector.reader.RunLengthDecoder runLenDecoder
        Run length decoder for data and dictionary.
    • Constructor Detail

      • AbstractColumnReader

        public AbstractColumnReader​(org.apache.parquet.column.ColumnDescriptor descriptor,
                                    org.apache.parquet.column.page.PageReader pageReader)
                             throws IOException
        Throws:
        IOException
    • Method Detail

      • checkTypeName

        protected void checkTypeName​(org.apache.parquet.schema.PrimitiveType.PrimitiveTypeName expectedName)
      • afterReadPage

        protected void afterReadPage()
        After read a page, we may need some initialization.
      • supportLazyDecode

        protected boolean supportLazyDecode()
        Support lazy dictionary ids decode. See more in ParquetDictionary. If return false, we will decode all the data first.