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,
序列化表格| 构造器和说明 |
|---|
InputGateDeploymentDescriptor(IntermediateDataSetID consumedResultId,
ResultPartitionType consumedPartitionType,
int consumedSubpartitionIndex,
ShuffleDescriptor[] inputChannels) |
InputGateDeploymentDescriptor(IntermediateDataSetID consumedResultId,
ResultPartitionType consumedPartitionType,
int consumedSubpartitionIndex,
TaskDeploymentDescriptor.MaybeOffloaded<ShuffleDescriptor[]> serializedInputChannels) |
| 限定符和类型 | 方法和说明 |
|---|---|
ResultPartitionType |
getConsumedPartitionType()
Returns the type of this input channel's consumed result partition.
|
IntermediateDataSetID |
getConsumedResultId() |
int |
getConsumedSubpartitionIndex() |
ShuffleDescriptor[] |
getShuffleDescriptors() |
void |
loadBigData(PermanentBlobService blobService,
org.apache.flink.api.common.JobID jobId) |
String |
toString() |
@VisibleForTesting public InputGateDeploymentDescriptor(IntermediateDataSetID consumedResultId, ResultPartitionType consumedPartitionType, @Nonnegative int consumedSubpartitionIndex, ShuffleDescriptor[] inputChannels) throws IOException
IOExceptionpublic InputGateDeploymentDescriptor(IntermediateDataSetID consumedResultId, ResultPartitionType consumedPartitionType, @Nonnegative int consumedSubpartitionIndex, TaskDeploymentDescriptor.MaybeOffloaded<ShuffleDescriptor[]> serializedInputChannels)
public IntermediateDataSetID getConsumedResultId()
public ResultPartitionType getConsumedPartitionType()
@Nonnegative public int getConsumedSubpartitionIndex()
public void loadBigData(@Nullable PermanentBlobService blobService, org.apache.flink.api.common.JobID jobId) throws IOException, ClassNotFoundException
public ShuffleDescriptor[] getShuffleDescriptors()
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.