public class ResultPartitionDeploymentDescriptor extends Object implements Serializable
ResultPartition
,
Serialized FormConstructor and Description |
---|
ResultPartitionDeploymentDescriptor(IntermediateDataSetID resultId,
IntermediateResultPartitionID partitionId,
ResultPartitionType partitionType,
int numberOfSubpartitions,
int maxParallelism,
boolean lazyScheduling) |
Modifier and Type | Method and Description |
---|---|
static ResultPartitionDeploymentDescriptor |
from(IntermediateResultPartition partition,
int maxParallelism,
boolean lazyScheduling) |
int |
getMaxParallelism() |
int |
getNumberOfSubpartitions() |
IntermediateResultPartitionID |
getPartitionId() |
ResultPartitionType |
getPartitionType() |
IntermediateDataSetID |
getResultId() |
boolean |
sendScheduleOrUpdateConsumersMessage() |
String |
toString() |
public ResultPartitionDeploymentDescriptor(IntermediateDataSetID resultId, IntermediateResultPartitionID partitionId, ResultPartitionType partitionType, int numberOfSubpartitions, int maxParallelism, boolean lazyScheduling)
public IntermediateDataSetID getResultId()
public IntermediateResultPartitionID getPartitionId()
public ResultPartitionType getPartitionType()
public int getNumberOfSubpartitions()
public int getMaxParallelism()
public boolean sendScheduleOrUpdateConsumersMessage()
public static ResultPartitionDeploymentDescriptor from(IntermediateResultPartition partition, int maxParallelism, boolean lazyScheduling)
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.