Class ParquetColumnarRowSplitReader

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public class ParquetColumnarRowSplitReader
    extends Object
    implements Closeable
    This reader is used to read a VectorizedColumnBatch from input split.
    • Constructor Detail

      • ParquetColumnarRowSplitReader

        public ParquetColumnarRowSplitReader​(boolean utcTimestamp,
                                             boolean caseSensitive,
                                             org.apache.hadoop.conf.Configuration conf,
                                             org.apache.flink.table.types.logical.LogicalType[] selectedTypes,
                                             String[] selectedFieldNames,
                                             ParquetColumnarRowSplitReader.ColumnBatchGenerator generator,
                                             int batchSize,
                                             org.apache.hadoop.fs.Path path,
                                             long splitStart,
                                             long splitLength)
                                      throws IOException
        Throws:
        IOException
    • Method Detail

      • reachedEnd

        public boolean reachedEnd()
                           throws IOException
        Method used to check if the end of the input is reached.
        Returns:
        True if the end is reached, otherwise false.
        Throws:
        IOException - Thrown, if an I/O error occurred.
      • nextRecord

        public org.apache.flink.table.data.columnar.ColumnarRowData nextRecord()
      • seekToRow

        public void seekToRow​(long rowCount)
                       throws IOException
        Seek to a particular row number.
        Throws:
        IOException