public class IntermediateResult extends Object
Constructor and Description |
---|
IntermediateResult(IntermediateDataSet intermediateDataSet,
ExecutionJobVertex producer,
int numParallelProducers,
ResultPartitionType resultType) |
public IntermediateResult(IntermediateDataSet intermediateDataSet, ExecutionJobVertex producer, int numParallelProducers, ResultPartitionType resultType)
public void setPartition(int partitionNumber, IntermediateResultPartition partition)
public IntermediateDataSetID getId()
public ExecutionJobVertex getProducer()
public IntermediateResultPartition[] getPartitions()
public List<JobVertexID> getConsumerVertices()
public IntermediateResultPartition getPartitionById(IntermediateResultPartitionID resultPartitionId)
resultPartitionId
- ID of the partition to look upNullPointerException
- If partition ID null
IllegalArgumentException
- Thrown if unknown partition IDpublic int getNumberOfAssignedPartitions()
public ResultPartitionType getResultType()
public DistributionPattern getConsumingDistributionPattern()
public boolean isBroadcast()
public int getConnectionIndex()
public CachedShuffleDescriptors getCachedShuffleDescriptors(ConsumedPartitionGroup consumedPartitionGroup)
public CachedShuffleDescriptors cacheShuffleDescriptors(ConsumedPartitionGroup consumedPartitionGroup, TaskDeploymentDescriptorFactory.ShuffleDescriptorAndIndex[] shuffleDescriptors)
public void markPartitionFinished(ConsumedPartitionGroup consumedPartitionGroup, IntermediateResultPartition resultPartition)
public void clearCachedInformationForPartitionGroup(ConsumedPartitionGroup consumedPartitionGroup)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.