public class InputOutputFormatVertex extends JobVertex
JobVertex.FinalizeOnMasterContext, JobVertex.InitializeOnMasterContextMAX_PARALLELISM_DEFAULT| 构造器和说明 |
|---|
InputOutputFormatVertex(String name) |
InputOutputFormatVertex(String name,
JobVertexID id,
List<OperatorIDPair> operatorIDPairs) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
finalizeOnMaster(JobVertex.FinalizeOnMasterContext context)
A hook that can be overwritten by sub classes to implement logic that is called by the master
after the job completed.
|
String |
getFormatDescription(OperatorID operatorID) |
void |
initializeOnMaster(JobVertex.InitializeOnMasterContext context)
A hook that can be overwritten by sub classes to implement logic that is called by the master
when the job starts.
|
void |
setFormatDescription(OperatorID operatorID,
String formatDescription) |
addIntermediateDataSetIdToConsume, addOperatorCoordinator, connectNewDataSetAsInput, 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, isInputVertex, isOutputVertex, isParallelismConfigured, isStoppable, isSupportsConcurrentExecutionAttempts, setInputSplitSource, setInvokableClass, setMaxParallelism, setName, setOperatorDescription, setOperatorName, setOperatorPrettyName, setParallelism, setParallelismConfigured, setResources, setResultOptimizerProperties, setSlotSharingGroup, setStrictlyCoLocatedWith, setSupportsConcurrentExecutionAttempts, toString, updateCoLocationGrouppublic InputOutputFormatVertex(String name)
public InputOutputFormatVertex(String name, JobVertexID id, List<OperatorIDPair> operatorIDPairs)
public void initializeOnMaster(JobVertex.InitializeOnMasterContext context) throws Exception
JobVertexinitializeOnMaster 在类中 JobVertexcontext - Provides contextual information for the initializationException - The method may throw exceptions which cause the job to fail immediately.public void finalizeOnMaster(JobVertex.FinalizeOnMasterContext context) throws Exception
JobVertexfinalizeOnMaster 在类中 JobVertexcontext - Provides contextual information for the initializationException - The method may throw exceptions which cause the job to fail immediately.public String getFormatDescription(OperatorID operatorID)
public void setFormatDescription(OperatorID operatorID, String formatDescription)
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.