public class InputGateDeploymentDescriptor extends Object implements Serializable
Each input gate consumes partitions of a single intermediate result. The consumed subpartition index is the same for each consumed partition.
SingleInputGate
,
Serialized FormConstructor and Description |
---|
InputGateDeploymentDescriptor(IntermediateDataSetID consumedResultId,
ResultPartitionType consumedPartitionType,
int consumedSubpartitionIndex,
ShuffleDescriptor[] inputChannels) |
Modifier and Type | Method and Description |
---|---|
ResultPartitionType |
getConsumedPartitionType()
Returns the type of this input channel's consumed result partition.
|
IntermediateDataSetID |
getConsumedResultId() |
int |
getConsumedSubpartitionIndex() |
ShuffleDescriptor[] |
getShuffleDescriptors() |
String |
toString() |
public InputGateDeploymentDescriptor(IntermediateDataSetID consumedResultId, ResultPartitionType consumedPartitionType, @Nonnegative int consumedSubpartitionIndex, ShuffleDescriptor[] inputChannels)
public IntermediateDataSetID getConsumedResultId()
public ResultPartitionType getConsumedPartitionType()
@Nonnegative public int getConsumedSubpartitionIndex()
public ShuffleDescriptor[] getShuffleDescriptors()
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.