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 FormConstructor and Description |
---|
InputChannelDeploymentDescriptor(ResultPartitionID consumedPartitionId,
ResultPartitionLocation consumedPartitionLocation) |
Modifier and Type | Method and Description |
---|---|
static InputChannelDeploymentDescriptor[] |
fromEdges(ExecutionEdge[] edges,
SimpleSlot consumerSlot)
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, SimpleSlot consumerSlot)
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.