public interface RecordReader extends Closeable
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Release the resources associated with the given reader.
|
float |
getProgress()
Get the progress of the reader through the rows.
|
long |
getRowNumber()
Get the row number of the row that will be returned by the following
call to next().
|
boolean |
nextBatch(VectorizedRowBatch batch)
Read the next row batch.
|
void |
seekToRow(long rowCount)
Seek to a particular row number.
|
boolean nextBatch(VectorizedRowBatch batch) throws IOException
batch - a row batch object to read intoIOExceptionlong getRowNumber()
throws IOException
IOExceptionfloat getProgress()
throws IOException
IOExceptionvoid close()
throws IOException
close in interface AutoCloseableclose in interface CloseableIOExceptionvoid seekToRow(long rowCount)
throws IOException
IOExceptionCopyright © 2013–2021 The Apache Software Foundation. All rights reserved.