public class OrderedInputSplitAssigner<T> extends java.lang.Object implements InputSplitAssigner<T>
| Constructor and Description |
|---|
OrderedInputSplitAssigner(InputSplit<T>[] partitions,
int nTasks) |
| Modifier and Type | Method and Description |
|---|---|
InputSplit<T> |
getNextInputSplit(java.lang.String host,
int taskId)
Returns the next input split that shall be consumed.
|
public OrderedInputSplitAssigner(InputSplit<T>[] partitions, int nTasks)
public InputSplit<T> getNextInputSplit(java.lang.String host, int taskId)
InputSplitAssignergetNextInputSplit in interface InputSplitAssigner<T>host - The host address of split requesting task.taskId - The id of the split requesting task.null if no more splits remain.