Class InputOutputFormatVertex
java.lang.Object
org.apache.flink.runtime.jobgraph.JobVertex
org.apache.flink.runtime.jobgraph.InputOutputFormatVertex
- All Implemented Interfaces:
Serializable
A task vertex that runs an initialization and a finalization on the master. If necessary, it
tries to deserialize input and output formats, and initialize and finalize them on master.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.flink.runtime.jobgraph.JobVertex
JobVertex.FinalizeOnMasterContext, JobVertex.InitializeOnMasterContext -
Field Summary
Fields inherited from class org.apache.flink.runtime.jobgraph.JobVertex
MAX_PARALLELISM_DEFAULT -
Constructor Summary
ConstructorsConstructorDescriptionInputOutputFormatVertex(String name, JobVertexID id, List<OperatorIDPair> operatorIDPairs) -
Method Summary
Modifier and TypeMethodDescriptionvoidA hook that can be overwritten by sub classes to implement logic that is called by the master after the job completed.getFormatDescription(OperatorID operatorID) voidA hook that can be overwritten by sub classes to implement logic that is called by the master when the job starts.voidsetFormatDescription(OperatorID operatorID, String formatDescription) Methods inherited from class org.apache.flink.runtime.jobgraph.JobVertex
addIntermediateDataSetIdToConsume, addOperatorCoordinator, connectNewDataSetAsInput, connectNewDataSetAsInput, getCoLocationGroup, getConfiguration, getID, getInputs, getInputSplitSource, getIntermediateDataSetIdsToConsume, getInvokableClass, getInvokableClassName, getMaxParallelism, getMinResources, getName, getNumberOfInputs, getNumberOfProducedIntermediateDataSets, getOperatorCoordinators, getOperatorDescription, getOperatorIDs, getOperatorName, getOperatorPrettyName, getOrCreateResultDataSet, getParallelism, getPreferredResources, getProducedDataSets, getResultOptimizerProperties, getSlotSharingGroup, hasNoConnectedInputs, isAnyOutputBlocking, isDynamicParallelism, isInputVertex, isOutputVertex, isParallelismConfigured, isStoppable, isSupportsConcurrentExecutionAttempts, setDynamicParallelism, setInputSplitSource, setInvokableClass, setMaxParallelism, setName, setOperatorDescription, setOperatorName, setOperatorPrettyName, setParallelism, setParallelismConfigured, setResources, setResultOptimizerProperties, setSlotSharingGroup, setStrictlyCoLocatedWith, setSupportsConcurrentExecutionAttempts, toString, updateCoLocationGroup
-
Constructor Details
-
InputOutputFormatVertex
-
InputOutputFormatVertex
-
-
Method Details
-
initializeOnMaster
Description copied from class:JobVertexA hook that can be overwritten by sub classes to implement logic that is called by the master when the job starts.- Overrides:
initializeOnMasterin classJobVertex- Parameters:
context- Provides contextual information for the initialization- Throws:
Exception- The method may throw exceptions which cause the job to fail immediately.
-
finalizeOnMaster
Description copied from class:JobVertexA hook that can be overwritten by sub classes to implement logic that is called by the master after the job completed.- Overrides:
finalizeOnMasterin classJobVertex- Parameters:
context- Provides contextual information for the initialization- Throws:
Exception- The method may throw exceptions which cause the job to fail immediately.
-
getFormatDescription
-
setFormatDescription
-