Class ParquetColumnarRowSplitReader

java.lang.Object
org.apache.flink.formats.parquet.vector.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 Details

    • 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 Details

    • 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
    • close

      public void close() throws IOException
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Throws:
      IOException