public class RecordReaderImpl extends org.apache.orc.impl.RecordReaderImpl implements RecordReader
| Modifier | Constructor and Description |
|---|---|
protected |
RecordReaderImpl(ReaderImpl fileReader,
org.apache.orc.Reader.Options options,
org.apache.hadoop.conf.Configuration conf) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
VectorizedRowBatch |
createRowBatch(boolean useDecimal64) |
long |
getRowNumber() |
boolean |
hasNext()
Does the reader have more rows available.
|
Object |
next(Object previous)
Read the next row.
|
boolean |
nextBatch(VectorizedRowBatch theirBatch) |
void |
seekToRow(long row) |
encodeTranslatedSargColumn, evaluatePredicate, evaluatePredicate, getCompressionCodec, getMaxDiskRangeChunkLimit, getProgress, mapSargColumnsToOrcInternalColIdx, mapTranslatedSargColumns, pickRowGroups, readRowIndex, readStripeFooterprotected RecordReaderImpl(ReaderImpl fileReader, org.apache.orc.Reader.Options options, org.apache.hadoop.conf.Configuration conf) throws IOException
IOExceptionpublic VectorizedRowBatch createRowBatch(boolean useDecimal64)
public long getRowNumber()
getRowNumber in interface org.apache.orc.RecordReadergetRowNumber in class org.apache.orc.impl.RecordReaderImplpublic boolean hasNext()
throws IOException
RecordReaderIOExceptionpublic void seekToRow(long row)
throws IOException
seekToRow in interface org.apache.orc.RecordReaderseekToRow in class org.apache.orc.impl.RecordReaderImplIOExceptionpublic Object next(Object previous) throws IOException
RecordReaderprevious - a row object that can be reused by the readerIOExceptionpublic boolean nextBatch(VectorizedRowBatch theirBatch) throws IOException
nextBatch in interface org.apache.orc.RecordReadernextBatch in class org.apache.orc.impl.RecordReaderImplIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface org.apache.orc.RecordReaderclose in class org.apache.orc.impl.RecordReaderImplIOExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.