public class RpcInputSplitProvider extends Object implements InputSplitProvider
Constructor and Description |
---|
RpcInputSplitProvider(JobMasterGateway jobMasterGateway,
JobVertexID jobVertexID,
ExecutionAttemptID executionAttemptID,
Duration timeout) |
Modifier and Type | Method and Description |
---|---|
InputSplit |
getNextInputSplit(ClassLoader userCodeClassLoader)
Requests the next input split to be consumed by the calling task.
|
public RpcInputSplitProvider(JobMasterGateway jobMasterGateway, JobVertexID jobVertexID, ExecutionAttemptID executionAttemptID, Duration timeout)
public InputSplit getNextInputSplit(ClassLoader userCodeClassLoader) throws InputSplitProviderException
InputSplitProvider
getNextInputSplit
in interface InputSplitProvider
userCodeClassLoader
- used to deserialize input splitsnull
if the
task shall not consume any further input splits.InputSplitProviderException
- if fetching the next input split failsCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.