public class ParquetColumnarRowSplitReader extends Object implements Closeable
VectorizedColumnBatch from input split.
Note: Reference Flink release 1.11.2
org.apache.flink.formats.parquet.vector.ParquetColumnarRowSplitReader
because it is package scope.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ParquetColumnarRowSplitReader.ColumnBatchGenerator
Interface to gen
VectorizedColumnBatch. |
| Constructor and Description |
|---|
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,
org.apache.parquet.filter2.predicate.FilterPredicate filterPredicate,
org.apache.parquet.filter.UnboundRecordFilter recordFilter) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
org.apache.flink.table.data.RowData |
nextRecord() |
boolean |
reachedEnd()
Method used to check if the end of the input is reached.
|
void |
seekToRow(long rowCount)
Seek to a particular row number.
|
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,
org.apache.parquet.filter2.predicate.FilterPredicate filterPredicate,
org.apache.parquet.filter.UnboundRecordFilter recordFilter)
throws IOException
IOExceptionpublic boolean reachedEnd()
throws IOException
IOException - Thrown, if an I/O error occurred.public org.apache.flink.table.data.RowData nextRecord()
public void seekToRow(long rowCount)
throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2023 The Apache Software Foundation. All rights reserved.