T - The type of the record that can be read from this record reader.public abstract class AbstractSingleGateRecordReader<T extends IOReadableWritable> extends AbstractRecordReader
| Modifier and Type | Field and Description |
|---|---|
protected InputGate<T> |
inputGate
The input gate associated with the record reader.
|
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractSingleGateRecordReader(AbstractInvokable invokable) |
| Modifier and Type | Method and Description |
|---|---|
int |
getNumberOfInputChannels()
Returns the number of input channels wired to this reader's input gate.
|
void |
publishEvent(AbstractTaskEvent event)
Publishes an event.
|
handleEvent, hasReachedEndOfSuperstep, incrementEndOfSuperstepEventAndCheck, setIterative, startNextSuperstep, subscribeToEvent, unsubscribeFromEventclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisInputClosedprotected final InputGate<T extends IOReadableWritable> inputGate
protected AbstractSingleGateRecordReader(AbstractInvokable invokable)
public int getNumberOfInputChannels()
public void publishEvent(AbstractTaskEvent event) throws IOException, InterruptedException
event - the event to be publishedIOException - thrown if an error occurs while transmitting the eventInterruptedException - thrown if the thread is interrupted while waiting for the event to be publishedCopyright © 2014 The Apache Software Foundation. All rights reserved.