T - The type of the record that can be read with this record reader.public abstract class StreamingAbstractRecordReader<T extends org.apache.flink.core.io.IOReadableWritable> extends org.apache.flink.runtime.io.network.api.reader.AbstractReader implements org.apache.flink.runtime.io.network.api.reader.ReaderBase, StreamingReader
This abstract base class is used by both the mutable and immutable record readers.
| Modifier | Constructor and Description |
|---|---|
protected |
StreamingAbstractRecordReader(org.apache.flink.runtime.io.network.partition.consumer.InputGate inputGate) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup() |
void |
clearBuffers() |
protected boolean |
getNextRecord(T target) |
handleEvent, hasReachedEndOfSuperstep, isFinished, publish, registerTaskEventListener, sendTaskEvent, setIterativeReader, startNextSuperstepprotected StreamingAbstractRecordReader(org.apache.flink.runtime.io.network.partition.consumer.InputGate inputGate)
protected boolean getNextRecord(T target) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void clearBuffers()
public void cleanup()
throws IOException
cleanup in interface StreamingReaderIOExceptionCopyright © 2014–2015 The Apache Software Foundation. All rights reserved.