public class TaskDeploymentDescriptorFactory extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
TaskDeploymentDescriptorFactory.PartitionLocationConstraint
Defines whether the partition's location must be known at deployment time or can be unknown
and, therefore, updated later.
|
static class |
TaskDeploymentDescriptorFactory.ShuffleDescriptorAndIndex
This class represents the shuffle descriptor with it index in
ConsumedPartitionGroup. |
| 限定符和类型 | 方法和说明 |
|---|---|
TaskDeploymentDescriptor |
createDeploymentDescriptor(AllocationID allocationID,
JobManagerTaskRestore taskRestore,
Collection<ResultPartitionDeploymentDescriptor> producedPartitions) |
static TaskDeploymentDescriptorFactory |
fromExecution(Execution execution) |
static ShuffleDescriptor |
getConsumedPartitionShuffleDescriptor(IntermediateResultPartition consumedPartition,
TaskDeploymentDescriptorFactory.PartitionLocationConstraint partitionDeploymentConstraint,
boolean nonFinishedHybridPartitionShouldBeUnknown) |
public TaskDeploymentDescriptor createDeploymentDescriptor(AllocationID allocationID, @Nullable JobManagerTaskRestore taskRestore, Collection<ResultPartitionDeploymentDescriptor> producedPartitions) throws IOException
IOExceptionpublic static TaskDeploymentDescriptorFactory fromExecution(Execution execution) throws IOException, ClusterDatasetCorruptedException
public static ShuffleDescriptor getConsumedPartitionShuffleDescriptor(IntermediateResultPartition consumedPartition, TaskDeploymentDescriptorFactory.PartitionLocationConstraint partitionDeploymentConstraint, boolean nonFinishedHybridPartitionShouldBeUnknown)
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.