public final class ResultPartitionID extends Object implements Serializable
IntermediateResultPartition
.
In failure cases the IntermediateResultPartitionID
is not enough to uniquely identify
a result partition. It needs to be associated with the producing task as well to ensure correct
tracking of failed/restarted tasks.
Constructor and Description |
---|
ResultPartitionID() |
ResultPartitionID(byte[] bytes) |
ResultPartitionID(IntermediateResultPartitionID partitionId,
ExecutionAttemptID producerId) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
byte[] |
getBytes() |
IntermediateResultPartitionID |
getPartitionId() |
ExecutionAttemptID |
getProducerId() |
int |
hashCode() |
String |
toString() |
@VisibleForTesting public ResultPartitionID()
public ResultPartitionID(IntermediateResultPartitionID partitionId, ExecutionAttemptID producerId)
public ResultPartitionID(byte[] bytes)
public IntermediateResultPartitionID getPartitionId()
public ExecutionAttemptID getProducerId()
public byte[] getBytes()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.