Class ParquetColumnarRowSplitReader
java.lang.Object
org.apache.flink.formats.parquet.vector.ParquetColumnarRowSplitReader
- All Implemented Interfaces:
Closeable,AutoCloseable
This reader is used to read a
VectorizedColumnBatch from input split.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceInterface to genVectorizedColumnBatch. -
Constructor Summary
ConstructorsConstructorDescriptionParquetColumnarRowSplitReader(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) -
Method Summary
-
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
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
Seek to a particular row number.- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-