| 限定符和类型 | 方法和说明 |
|---|---|
ResultPartitionType |
InputGateDeploymentDescriptor.getConsumedPartitionType()
Returns the type of this input channel's consumed result partition.
|
ResultPartitionType |
ResultPartitionDeploymentDescriptor.getPartitionType() |
| 构造器和说明 |
|---|
InputGateDeploymentDescriptor(IntermediateDataSetID consumedResultId,
ResultPartitionType consumedPartitionType,
int consumedSubpartitionIndex,
ShuffleDescriptor[] inputChannels) |
InputGateDeploymentDescriptor(IntermediateDataSetID consumedResultId,
ResultPartitionType consumedPartitionType,
SubpartitionIndexRange consumedSubpartitionIndexRange,
TaskDeploymentDescriptor.MaybeOffloaded<ShuffleDescriptor[]> serializedInputChannels) |
| 限定符和类型 | 方法和说明 |
|---|---|
ResultPartitionType |
IntermediateResultPartition.getResultType() |
ResultPartitionType |
IntermediateResult.getResultType() |
| 构造器和说明 |
|---|
IntermediateResult(IntermediateDataSet intermediateDataSet,
ExecutionJobVertex producer,
int numParallelProducers,
ResultPartitionType resultType) |
| 限定符和类型 | 字段和说明 |
|---|---|
protected ResultPartitionType |
ResultPartition.partitionType
Type of this partition.
|
| 限定符和类型 | 方法和说明 |
|---|---|
ResultPartitionType |
ResultPartition.getPartitionType()
Returns the type of this result partition.
|
static ResultPartitionType |
ResultPartitionType.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ResultPartitionType[] |
ResultPartitionType.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
ResultPartition |
ResultPartitionFactory.create(String taskNameWithSubtaskAndId,
int partitionIndex,
ResultPartitionID id,
ResultPartitionType type,
int numberOfSubpartitions,
int maxParallelism,
org.apache.flink.util.function.SupplierWithException<BufferPool,IOException> bufferPoolFactory) |
| 构造器和说明 |
|---|
BoundedBlockingResultPartition(String owningTaskName,
int partitionIndex,
ResultPartitionID partitionId,
ResultPartitionType partitionType,
ResultSubpartition[] subpartitions,
int numTargetKeyGroups,
ResultPartitionManager partitionManager,
BufferCompressor bufferCompressor,
org.apache.flink.util.function.SupplierWithException<BufferPool,IOException> bufferPoolFactory) |
BufferWritingResultPartition(String owningTaskName,
int partitionIndex,
ResultPartitionID partitionId,
ResultPartitionType partitionType,
ResultSubpartition[] subpartitions,
int numTargetKeyGroups,
ResultPartitionManager partitionManager,
BufferCompressor bufferCompressor,
org.apache.flink.util.function.SupplierWithException<BufferPool,IOException> bufferPoolFactory) |
PipelinedResultPartition(String owningTaskName,
int partitionIndex,
ResultPartitionID partitionId,
ResultPartitionType partitionType,
ResultSubpartition[] subpartitions,
int numTargetKeyGroups,
ResultPartitionManager partitionManager,
BufferCompressor bufferCompressor,
org.apache.flink.util.function.SupplierWithException<BufferPool,IOException> bufferPoolFactory) |
ResultPartition(String owningTaskName,
int partitionIndex,
ResultPartitionID partitionId,
ResultPartitionType partitionType,
int numSubpartitions,
int numTargetKeyGroups,
ResultPartitionManager partitionManager,
BufferCompressor bufferCompressor,
org.apache.flink.util.function.SupplierWithException<BufferPool,IOException> bufferPoolFactory) |
SortMergeResultPartition(String owningTaskName,
int partitionIndex,
ResultPartitionID partitionId,
ResultPartitionType partitionType,
int numSubpartitions,
int numTargetKeyGroups,
BatchShuffleReadBufferPool readBufferPool,
Executor readIOExecutor,
ResultPartitionManager partitionManager,
String resultFileBasePath,
BufferCompressor bufferCompressor,
org.apache.flink.util.function.SupplierWithException<BufferPool,IOException> bufferPoolFactory) |
| 限定符和类型 | 方法和说明 |
|---|---|
ResultPartitionType |
SingleInputGate.getConsumedPartitionType()
Returns the type of this input channel's consumed result partition.
|
| 构造器和说明 |
|---|
SingleInputGate(String owningTaskName,
int gateIndex,
IntermediateDataSetID consumedResultId,
ResultPartitionType consumedPartitionType,
SubpartitionIndexRange subpartitionIndexRange,
int numberOfInputChannels,
PartitionProducerStateProvider partitionProducerStateProvider,
org.apache.flink.util.function.SupplierWithException<BufferPool,IOException> bufferPoolFactory,
BufferDecompressor bufferDecompressor,
org.apache.flink.core.memory.MemorySegmentProvider memorySegmentProvider,
int segmentSize,
ThroughputCalculator throughputCalculator,
BufferDebloater bufferDebloater) |
| 限定符和类型 | 方法和说明 |
|---|---|
ResultPartitionType |
IntermediateDataSet.getResultType() |
| 限定符和类型 | 方法和说明 |
|---|---|
JobEdge |
JobVertex.connectNewDataSetAsInput(JobVertex input,
DistributionPattern distPattern,
ResultPartitionType partitionType) |
IntermediateDataSet |
JobVertex.createAndAddResultDataSet(IntermediateDataSetID id,
ResultPartitionType partitionType) |
| 构造器和说明 |
|---|
IntermediateDataSet(IntermediateDataSetID id,
ResultPartitionType resultType,
JobVertex producer) |
| 限定符和类型 | 方法和说明 |
|---|---|
ResultPartitionType |
DefaultLogicalResult.getResultType() |
| 限定符和类型 | 方法和说明 |
|---|---|
ResultPartitionType |
PartitionDescriptor.getPartitionType() |
| 限定符和类型 | 方法和说明 |
|---|---|
Map<IntermediateDataSetID,ResultPartitionType> |
TaskInputsOutputsDescriptor.getPartitionTypes() |
| 限定符和类型 | 方法和说明 |
|---|---|
static org.apache.commons.lang3.tuple.Pair<Integer,Integer> |
NettyShuffleUtils.getMinMaxNetworkBuffersPerResultPartition(int configuredNetworkBuffersPerChannel,
int numFloatingBuffersPerGate,
int sortShuffleMinParallelism,
int sortShuffleMinBuffers,
int numSubpartitions,
ResultPartitionType type)
Calculates and returns local network buffer pool size used by the result partition.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static int |
NettyShuffleUtils.computeNetworkBuffersForAnnouncing(int numBuffersPerChannel,
int numFloatingBuffersPerGate,
int sortShuffleMinParallelism,
int sortShuffleMinBuffers,
int numTotalInputChannels,
int numTotalInputGates,
Map<IntermediateDataSetID,Integer> subpartitionNums,
Map<IntermediateDataSetID,ResultPartitionType> partitionTypes) |
static TaskInputsOutputsDescriptor |
TaskInputsOutputsDescriptor.from(Map<IntermediateDataSetID,Integer> inputChannelNums,
Map<IntermediateDataSetID,Integer> subpartitionNums,
Map<IntermediateDataSetID,ResultPartitionType> partitionTypes) |
| 构造器和说明 |
|---|
PartitionDescriptor(IntermediateDataSetID resultId,
int totalNumberOfPartitions,
IntermediateResultPartitionID partitionId,
ResultPartitionType partitionType,
int numberOfSubpartitions,
int connectionIndex) |
| 限定符和类型 | 方法和说明 |
|---|---|
ResultPartitionType |
Result.getResultType() |
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.