@InterfaceAudience.Public public interface InputContext extends TaskContext
| Modifier and Type | Method and Description | 
|---|---|
int | 
getInputIndex()
Get the index of the input in the set of all inputs for the task. 
 | 
String | 
getSourceVertexName()
Get the Vertex Name of the Source that generated data for this Input 
 | 
InputStatisticsReporter | 
getStatisticsReporter()
Get an  
InputStatisticsReporter for this Input that can
 be used to report statistics like data size | 
void | 
inputIsReady()
Inform the framework that the specific Input is ready for consumption. 
 | 
fatalError, getApplicationId, getCounters, getDAGAttemptNumber, getDagIdentifier, getDAGName, getExecutionContext, getObjectRegistry, getServiceConsumerMetaData, getServiceProviderMetaData, getTaskAttemptNumber, getTaskIndex, getTaskVertexIndex, getTaskVertexName, getTotalMemoryAvailableToTask, getUniqueIdentifier, getUserPayload, getVertexParallelism, getWorkDirs, notifyProgress, reportFailure, requestInitialMemory, sendEventsString getSourceVertexName()
int getInputIndex()
void inputIsReady()
InputStatisticsReporter getStatisticsReporter()
InputStatisticsReporter for this Input that can
 be used to report statistics like data sizeInputStatisticsReporterCopyright © 2018 Apache Software Foundation. All rights reserved.