public class TaskInputSplitProvider extends Object implements InputSplitProvider
InputSplitProvider
interface. It is called by a task in order to acquire a new input split to consume. The task input split provider in
return will call the global input split provider to retrieve a new input split.
This class is thread-safe.
| Modifier and Type | Method and Description |
|---|---|
InputSplit |
getNextInputSplit()
Requests the next input split to be consumed by the calling
AbstractInputTask. |
public InputSplit getNextInputSplit()
InputSplitProviderAbstractInputTask.getNextInputSplit in interface InputSplitProviderAbstractInputTask or null if the
AbstractInputTask shall not consume any further input splits.Copyright © 2014 The Apache Software Foundation. All rights reserved.