|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RecordReader
A row-by-row iterator for ORC files.
Method Summary | |
---|---|
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 |
hasNext()
Does the reader have more rows available. |
Object |
next(Object previous)
Read the next row. |
VectorizedRowBatch |
nextBatch(VectorizedRowBatch previousBatch)
Read the next row batch. |
void |
seekToRow(long rowCount)
Seek to a particular row number. |
Method Detail |
---|
boolean hasNext() throws IOException
IOException
Object next(Object previous) throws IOException
previous
- a row object that can be reused by the reader
IOException
VectorizedRowBatch nextBatch(VectorizedRowBatch previousBatch) throws IOException
previousBatch
- a row batch object that can be reused by the reader
IOException
long getRowNumber() throws IOException
IOException
float getProgress() throws IOException
IOException
void close() throws IOException
IOException
void seekToRow(long rowCount) throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |