public interface InputSplitAssigner<T>
extends java.io.Serializable
InputSplit
s among the instances on which a
data source exists.Modifier and Type | Method and Description |
---|---|
InputSplit<T> |
getNextInputSplit(java.lang.String host,
int taskId)
Returns the next input split that shall be consumed.
|
InputSplit<T> getNextInputSplit(java.lang.String host, int taskId)
host
- The host address of split requesting task.taskId
- The id of the split requesting task.null
if no more splits remain.