public class OutputFormatVertex extends JobVertex
Constructor and Description |
---|
OutputFormatVertex(String name)
Creates a new task vertex with the specified name.
|
Modifier and Type | Method and Description |
---|---|
void |
finalizeOnMaster(ClassLoader loader)
A hook that can be overwritten by sub classes to implement logic that is called by the
master after the job completed.
|
String |
getFormatDescription() |
void |
initializeOnMaster(ClassLoader loader)
A hook that can be overwritten by sub classes to implement logic that is called by the
master when the job starts.
|
void |
setFormatDescription(String formatDescription) |
connectDataSetAsInput, connectIdInput, connectNewDataSetAsInput, createAndAddResultDataSet, createAndAddResultDataSet, getCoLocationGroup, getConfiguration, getID, getIdAlternatives, getInputs, getInputSplitSource, getInvokableClass, getInvokableClassName, getMaxParallelism, getMinResources, getName, getNumberOfInputs, getNumberOfProducedIntermediateDataSets, getOperatorDescription, getOperatorIDs, getOperatorName, getOperatorPrettyName, getParallelism, getPreferredResources, getProducedDataSets, getResultOptimizerProperties, getSlotSharingGroup, getUserDefinedOperatorIDs, hasNoConnectedInputs, isInputVertex, isOutputVertex, isStoppable, setInputSplitSource, setInvokableClass, setMaxParallelism, setName, setOperatorDescription, setOperatorName, setOperatorPrettyName, setParallelism, setResources, setResultOptimizerProperties, setSlotSharingGroup, setStrictlyCoLocatedWith, toString, updateCoLocationGroup
public OutputFormatVertex(String name)
name
- The name of the task vertex.public void setFormatDescription(String formatDescription)
public String getFormatDescription()
public void initializeOnMaster(ClassLoader loader) throws Exception
JobVertex
initializeOnMaster
in class JobVertex
loader
- The class loader for user defined code.Exception
- The method may throw exceptions which cause the job to fail immediately.public void finalizeOnMaster(ClassLoader loader) throws Exception
JobVertex
finalizeOnMaster
in class JobVertex
loader
- The class loader for user defined code.Exception
- The method may throw exceptions which cause the job to fail immediately.Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.