public class InputChannelDeploymentDescriptor extends Object implements Serializable
Each input channel consumes a single subpartition. The index of the subpartition to consume
is part of the InputGateDeploymentDescriptor as it is the same for each input channel of
the respective input gate.
InputChannel,
SingleInputGate,
Serialized Form| Constructor and Description |
|---|
InputChannelDeploymentDescriptor(ResultPartitionID consumedPartitionId,
ResultPartitionLocation consumedPartitionLocation) |
| Modifier and Type | Method and Description |
|---|---|
static InputChannelDeploymentDescriptor[] |
fromEdges(ExecutionEdge[] edges,
ResourceID consumerResourceId,
boolean allowLazyDeployment)
Creates an input channel deployment descriptor for each partition.
|
ResultPartitionID |
getConsumedPartitionId() |
ResultPartitionLocation |
getConsumedPartitionLocation() |
String |
toString() |
public InputChannelDeploymentDescriptor(ResultPartitionID consumedPartitionId, ResultPartitionLocation consumedPartitionLocation)
public ResultPartitionID getConsumedPartitionId()
public ResultPartitionLocation getConsumedPartitionLocation()
public static InputChannelDeploymentDescriptor[] fromEdges(ExecutionEdge[] edges, ResourceID consumerResourceId, boolean allowLazyDeployment) throws ExecutionGraphException
ExecutionGraphExceptionCopyright © 2014–2019 The Apache Software Foundation. All rights reserved.