public abstract class AbstractJobInputVertex extends AbstractJobVertex
invokableClass| Modifier | Constructor and Description |
|---|---|
protected |
AbstractJobInputVertex(String name,
JobGraph jobGraph)
Constructs a new job input vertex with the given name.
|
protected |
AbstractJobInputVertex(String name,
JobVertexID id,
JobGraph jobGraph)
Constructs a new job input vertex with the given name.
|
| Modifier and Type | Method and Description |
|---|---|
abstract InputSplit[] |
getInputSplits(int minNumSplits)
Computes the input splits created by this input vertex
|
abstract Class<? extends InputSplit> |
getInputSplitType()
Returns the input split type of the input splits created by this input vertex
|
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, writeprotected AbstractJobInputVertex(String name, JobGraph jobGraph)
name - the name of the new job input vertexjobGraph - the job graph this vertex belongs toprotected AbstractJobInputVertex(String name, JobVertexID id, JobGraph jobGraph)
name - the name of the new job input vertexid - the ID of this vertexjobGraph - the job graph this vertex belongs topublic abstract Class<? extends InputSplit> getInputSplitType()
public abstract InputSplit[] getInputSplits(int minNumSplits) throws Exception
minNumSplits - Number of minimal input splitsExceptionCopyright © 2014 The Apache Software Foundation. All rights reserved.