Interface Reader<T extends org.apache.flink.core.io.IOReadableWritable>
-
- All Superinterfaces:
ReaderBase
- All Known Implementing Classes:
RecordReader
public interface Reader<T extends org.apache.flink.core.io.IOReadableWritable> extends ReaderBase
A record-oriented reader for immutable record types.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclearBuffers()booleanhasNext()Tnext()-
Methods inherited from interface org.apache.flink.runtime.io.network.api.reader.ReaderBase
hasReachedEndOfSuperstep, isFinished, registerTaskEventListener, sendTaskEvent, setIterativeReader, startNextSuperstep
-
-
-
-
Method Detail
-
hasNext
boolean hasNext() throws IOException, InterruptedException- Throws:
IOExceptionInterruptedException
-
next
T next() throws IOException, InterruptedException
- Throws:
IOExceptionInterruptedException
-
clearBuffers
void clearBuffers()
-
-