@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 |
getInputOutputVertexNames()
Returns a convenient, human-readable string describing the input and output vertices.
|
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, getContainerConfiguration, getCounters, getDAGAttemptNumber, getDagIdentifier, getDAGName, getExecutionContext, getObjectRegistry, getServiceConsumerMetaData, getServiceProviderMetaData, getTaskAttemptNumber, getTaskIndex, getTaskVertexIndex, getTaskVertexName, getTotalMemoryAvailableToTask, getUniqueIdentifier, getUserPayload, getVertexParallelism, getWorkDirs, notifyProgress, reportFailure, requestInitialMemory, sendEvents
String getSourceVertexName()
String getInputOutputVertexNames()
int getInputIndex()
void inputIsReady()
InputStatisticsReporter getStatisticsReporter()
InputStatisticsReporter
for this Input
that can
be used to report statistics like data sizeInputStatisticsReporter
Copyright © 2024 Apache Software Foundation. All rights reserved.