public class OrcRowSplitReader extends OrcSplitReader<Row>
OrcSplitReader
to read ORC files into Row
.OrcSplitReader.Between, OrcSplitReader.Equals, OrcSplitReader.In, OrcSplitReader.IsNull, OrcSplitReader.LessThan, OrcSplitReader.LessThanEquals, OrcSplitReader.Not, OrcSplitReader.NullSafeEquals, OrcSplitReader.Or, OrcSplitReader.Predicate
nextRow, rowBatch
Constructor and Description |
---|
OrcRowSplitReader(Configuration conf,
org.apache.orc.TypeDescription schema,
int[] selectedFields,
List<OrcSplitReader.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.
|
Row |
nextRecord(Row reuse)
Reads the next record from the input.
|
close, getRecordReader, reachedEnd
public OrcRowSplitReader(Configuration conf, org.apache.orc.TypeDescription schema, int[] selectedFields, List<OrcSplitReader.Predicate> conjunctPredicates, int batchSize, Path path, long splitStart, long splitLength) throws IOException
IOException
protected int fillRows()
OrcSplitReader
fillRows
in class OrcSplitReader<Row>
public Row nextRecord(Row reuse)
OrcSplitReader
nextRecord
in class OrcSplitReader<Row>
reuse
- Object that may be reused.Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.