public class OrcColumnarRowSplitReader<BATCH> extends OrcSplitReader<org.apache.flink.table.data.RowData,BATCH>
OrcSplitReader to read ORC files into RowData.| Modifier and Type | Class and Description |
|---|---|
static interface |
OrcColumnarRowSplitReader.ColumnBatchGenerator<BATCH>
Interface to gen
VectorizedColumnBatch. |
nextRow, rowBatchWrapper| Constructor and Description |
|---|
OrcColumnarRowSplitReader(OrcShim<BATCH> shim,
org.apache.hadoop.conf.Configuration conf,
org.apache.orc.TypeDescription schema,
int[] selectedFields,
OrcColumnarRowSplitReader.ColumnBatchGenerator<BATCH> batchGenerator,
List<OrcFilters.Predicate> conjunctPredicates,
int batchSize,
org.apache.flink.core.fs.Path path,
long splitStart,
long splitLength) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
fillRows()
Fills an ORC batch into an array of Row.
|
org.apache.flink.table.data.RowData |
nextRecord(org.apache.flink.table.data.RowData reuse)
Reads the next record from the input.
|
close, getRecordReader, reachedEnd, seekToRowpublic OrcColumnarRowSplitReader(OrcShim<BATCH> shim, org.apache.hadoop.conf.Configuration conf, org.apache.orc.TypeDescription schema, int[] selectedFields, OrcColumnarRowSplitReader.ColumnBatchGenerator<BATCH> batchGenerator, List<OrcFilters.Predicate> conjunctPredicates, int batchSize, org.apache.flink.core.fs.Path path, long splitStart, long splitLength) throws IOException
IOExceptionprotected int fillRows()
OrcSplitReaderfillRows in class OrcSplitReader<org.apache.flink.table.data.RowData,BATCH>public org.apache.flink.table.data.RowData nextRecord(org.apache.flink.table.data.RowData reuse)
OrcSplitReadernextRecord in class OrcSplitReader<org.apache.flink.table.data.RowData,BATCH>reuse - Object that may be reused.Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.