public interface SplitReader extends Closeable
Modifier and Type | Method and Description |
---|---|
RowData |
nextRecord(RowData reuse)
Reads the next record from the input.
|
boolean |
reachedEnd()
Method used to check if the end of the input is reached.
|
default void |
seekToRow(long rowCount,
RowData reuse)
Seek to a particular row number.
|
boolean reachedEnd() throws IOException
IOException
- Thrown, if an I/O error occurred.RowData nextRecord(RowData reuse) throws IOException
reuse
- Object that may be reused.IOException
- Thrown, if an I/O error occurred.default void seekToRow(long rowCount, RowData reuse) throws IOException
IOException
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.