Interface InputSplitProvider
-
- All Known Implementing Classes:
RpcInputSplitProvider
@Public public interface InputSplitProviderAn input split provider can be successively queried to provide a series ofInputSplitobjects a task is supposed to consume in the course of its execution.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.apache.flink.core.io.InputSplitgetNextInputSplit(ClassLoader userCodeClassLoader)Requests the next input split to be consumed by the calling task.
-
-
-
Method Detail
-
getNextInputSplit
org.apache.flink.core.io.InputSplit getNextInputSplit(ClassLoader userCodeClassLoader) throws InputSplitProviderException
Requests the next input split to be consumed by the calling task.- Parameters:
userCodeClassLoader- used to deserialize input splits- Returns:
- the next input split to be consumed by the calling task or
nullif the task shall not consume any further input splits. - Throws:
InputSplitProviderException- if fetching the next input split fails
-
-