public interface InputSplitProviderProtocol extends VersionedProtocol
| Modifier and Type | Method and Description |
|---|---|
InputSplitWrapper |
requestNextInputSplit(JobID jobID,
ExecutionVertexID vertexID,
IntegerRecord sequenceNumber)
Requests the next split to be consumed by the task with the given execution vertex ID.
|
InputSplitWrapper requestNextInputSplit(JobID jobID, ExecutionVertexID vertexID, IntegerRecord sequenceNumber) throws IOException
jobID - the ID of the job the task to retrieve the next input split for belongs tovertexID - the ID of the task to retrieve the next input split forsequenceNumber - a sequence number, starting at 0 and increased by the task on each requestnull in case
no more input splits shall be consumed by the task with the given execution vertex IDIOException - thrown if an I/O error occurs while retrieving the new input splitCopyright © 2014 The Apache Software Foundation. All rights reserved.