public class PartitionDescriptor extends Object implements Serializable
ShuffleMaster to obtain ShuffleDescriptor.| 构造器和说明 |
|---|
PartitionDescriptor(IntermediateDataSetID resultId,
int totalNumberOfPartitions,
IntermediateResultPartitionID partitionId,
ResultPartitionType partitionType,
int numberOfSubpartitions,
int connectionIndex) |
| 限定符和类型 | 方法和说明 |
|---|---|
static PartitionDescriptor |
from(IntermediateResultPartition partition) |
int |
getNumberOfSubpartitions() |
IntermediateResultPartitionID |
getPartitionId() |
ResultPartitionType |
getPartitionType() |
IntermediateDataSetID |
getResultId() |
int |
getTotalNumberOfPartitions() |
String |
toString() |
@VisibleForTesting public PartitionDescriptor(IntermediateDataSetID resultId, int totalNumberOfPartitions, IntermediateResultPartitionID partitionId, ResultPartitionType partitionType, int numberOfSubpartitions, int connectionIndex)
public IntermediateDataSetID getResultId()
public int getTotalNumberOfPartitions()
public IntermediateResultPartitionID getPartitionId()
public ResultPartitionType getPartitionType()
public int getNumberOfSubpartitions()
public static PartitionDescriptor from(IntermediateResultPartition partition)
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.