public class OrcColumnarRowSplitReader<BATCH> extends OrcSplitReader<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,
Path path,
long splitStart,
long splitLength) |
Modifier and Type | Method and Description |
---|---|
protected int |
fillRows()
Fills an ORC batch into an array of Row.
|
RowData |
nextRecord(RowData reuse)
Reads the next record from the input.
|
close, getRecordReader, reachedEnd, seekToRow
public 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, Path path, long splitStart, long splitLength) throws IOException
IOException
protected int fillRows()
OrcSplitReader
fillRows
in class OrcSplitReader<RowData,BATCH>
public RowData nextRecord(RowData reuse)
OrcSplitReader
nextRecord
in class OrcSplitReader<RowData,BATCH>
reuse
- Object that may be reused.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.