public class InputGateDeploymentDescriptor extends Object implements Serializable
Each input gate consumes partitions of a single intermediate result. The consumed subpartition index range is the same for each consumed partition.
SingleInputGate,
序列化表格| 构造器和说明 |
|---|
InputGateDeploymentDescriptor(IntermediateDataSetID consumedResultId,
ResultPartitionType consumedPartitionType,
IndexRange consumedSubpartitionIndexRange,
int numberOfInputChannels,
List<TaskDeploymentDescriptor.MaybeOffloaded<TaskDeploymentDescriptorFactory.ShuffleDescriptorAndIndex[]>> serializedInputChannels) |
InputGateDeploymentDescriptor(IntermediateDataSetID consumedResultId,
ResultPartitionType consumedPartitionType,
int consumedSubpartitionIndex,
TaskDeploymentDescriptorFactory.ShuffleDescriptorAndIndex[] inputChannels) |
| 限定符和类型 | 方法和说明 |
|---|---|
ResultPartitionType |
getConsumedPartitionType()
Returns the type of this input channel's consumed result partition.
|
IntermediateDataSetID |
getConsumedResultId() |
int |
getConsumedSubpartitionIndex() |
IndexRange |
getConsumedSubpartitionIndexRange()
Return the index range of the the consumed subpartitions.
|
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, TaskDeploymentDescriptorFactory.ShuffleDescriptorAndIndex[] inputChannels) throws IOException
IOExceptionpublic InputGateDeploymentDescriptor(IntermediateDataSetID consumedResultId, ResultPartitionType consumedPartitionType, IndexRange consumedSubpartitionIndexRange, int numberOfInputChannels, List<TaskDeploymentDescriptor.MaybeOffloaded<TaskDeploymentDescriptorFactory.ShuffleDescriptorAndIndex[]>> serializedInputChannels)
public IntermediateDataSetID getConsumedResultId()
public ResultPartitionType getConsumedPartitionType()
@Nonnegative public int getConsumedSubpartitionIndex()
public IndexRange getConsumedSubpartitionIndexRange()
public void loadBigData(@Nullable PermanentBlobService blobService, org.apache.flink.api.common.JobID jobId) throws IOException
IOExceptionpublic ShuffleDescriptor[] getShuffleDescriptors()
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.