public interface RecordReader
| 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 |
hasNext()
Does the reader have more rows available.
|
java.lang.Object |
next(java.lang.Object previous)
Read the next row.
|
void |
seekToRow(long rowCount)
Seek to a particular row number.
|
boolean hasNext()
throws java.io.IOException
java.io.IOExceptionjava.lang.Object next(java.lang.Object previous)
throws java.io.IOException
previous - a row object that can be reused by the readerjava.io.IOExceptionlong getRowNumber()
throws java.io.IOException
java.io.IOExceptionfloat getProgress()
throws java.io.IOException
java.io.IOExceptionvoid close()
throws java.io.IOException
java.io.IOExceptionvoid seekToRow(long rowCount)
throws java.io.IOException
java.io.IOExceptionCopyright © 2012 The Apache Software Foundation