public class JobEdge extends Object
| Constructor and Description |
|---|
JobEdge(AbstractJobVertex connectedVertex,
ChannelType channelType,
int indexOfInputGate,
DistributionPattern distributionPattern)
Constructs a new job edge.
|
| Modifier and Type | Method and Description |
|---|---|
ChannelType |
getChannelType()
Returns the channel type assigned to this edge.
|
AbstractJobVertex |
getConnectedVertex()
Returns the vertex this edge is connected to.
|
DistributionPattern |
getDistributionPattern()
Returns the distribution pattern used for this edge.
|
int |
getIndexOfInputGate()
Returns the index of the consuming task's input gate that this edge connects to.
|
public JobEdge(AbstractJobVertex connectedVertex, ChannelType channelType, int indexOfInputGate, DistributionPattern distributionPattern)
connectedVertex - the vertex this edge should connect tochannelType - the channel type this edge should be translated to at runtimecompressionLevel - the compression level the corresponding channel should have at runtimeindexOfInputGate - index of the consuming task's input gate that this edge connects topublic ChannelType getChannelType()
public AbstractJobVertex getConnectedVertex()
public int getIndexOfInputGate()
public DistributionPattern getDistributionPattern()
Copyright © 2014 The Apache Software Foundation. All rights reserved.