public class OutputFormatVertex extends AbstractJobVertex
| 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, getInputs, getInputSplitSource, getInvokableClass, getInvokableClassName, getName, getNumberOfInputs, getNumberOfProducedIntermediateDataSets, getParallelism, getProducedDataSets, getSlotSharingGroup, hasNoConnectedInputs, isInputVertex, isOutputVertex, setInputSplitSource, setInvokableClass, setName, setParallelism, setSlotSharingGroup, setStrictlyCoLocatedWith, toString, updateCoLocationGrouppublic 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
AbstractJobVertexinitializeOnMaster in class AbstractJobVertexloader - 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
AbstractJobVertexfinalizeOnMaster in class AbstractJobVertexloader - The class loader for user defined code.Exception - The method may throw exceptions which cause the job to fail immediately.Copyright © 2015 The Apache Software Foundation. All rights reserved.