public class JobInputVertex extends AbstractJobInputVertex
invokableClass| Constructor and Description |
|---|
JobInputVertex(JobGraph jobGraph)
Creates a new job file input vertex.
|
JobInputVertex(String name,
JobGraph jobGraph)
Creates a new job file input vertex with the specified name.
|
JobInputVertex(String name,
JobVertexID id,
JobGraph jobGraph) |
| Modifier and Type | Method and Description |
|---|---|
InputSplit[] |
getInputSplits(int minNumSplits)
Gets the input splits from the input format.
|
Class<? extends InputSplit> |
getInputSplitType()
Gets the input split type class
|
void |
initializeInputFormatFromTaskConfig(ClassLoader cl) |
void |
setInputFormat(InputFormat<?,?> format) |
connectTo, connectTo, connectTo, connectTo, connectTo, getBackwardConnection, getConfiguration, getFirstFreeInputGateIndex, getFirstFreeOutputGateIndex, getForwardConnection, getID, getInvokableClass, getJobGraph, getName, getNumberOfBackwardConnections, getNumberOfExecutionRetries, getNumberOfForwardConnections, getNumberOfSubtasks, getVertexToShareInstancesWith, read, setInvokableClass, setName, setNumberOfExecutionRetries, setNumberOfSubtasks, setVertexToShareInstancesWith, toString, writepublic JobInputVertex(String name, JobVertexID id, JobGraph jobGraph)
public JobInputVertex(String name, JobGraph jobGraph)
name - The name of the new job file input vertex.jobGraph - The job graph this vertex belongs to.public JobInputVertex(JobGraph jobGraph)
jobGraph - The job graph this vertex belongs to.public void setInputFormat(InputFormat<?,?> format)
public void initializeInputFormatFromTaskConfig(ClassLoader cl)
public Class<? extends InputSplit> getInputSplitType()
getInputSplitType in class AbstractJobInputVertexpublic InputSplit[] getInputSplits(int minNumSplits) throws IOException
getInputSplits in class AbstractJobInputVertexminNumSplits - Number of minimal input splitsIOExceptionCopyright © 2014 The Apache Software Foundation. All rights reserved.