Class RpcInputSplitProvider
java.lang.Object
org.apache.flink.runtime.taskexecutor.rpc.RpcInputSplitProvider
- All Implemented Interfaces:
InputSplitProvider
-
Constructor Summary
ConstructorsConstructorDescriptionRpcInputSplitProvider(JobMasterGateway jobMasterGateway, JobVertexID jobVertexID, ExecutionAttemptID executionAttemptID, Duration timeout) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.flink.core.io.InputSplitgetNextInputSplit(ClassLoader userCodeClassLoader) Requests the next input split to be consumed by the calling task.
-
Constructor Details
-
RpcInputSplitProvider
public RpcInputSplitProvider(JobMasterGateway jobMasterGateway, JobVertexID jobVertexID, ExecutionAttemptID executionAttemptID, Duration timeout)
-
-
Method Details
-
getNextInputSplit
public org.apache.flink.core.io.InputSplit getNextInputSplit(ClassLoader userCodeClassLoader) throws InputSplitProviderException Description copied from interface:InputSplitProviderRequests the next input split to be consumed by the calling task.- Specified by:
getNextInputSplitin interfaceInputSplitProvider- 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
-