Class IntermediateResultPartitionID
- java.lang.Object
-
- org.apache.flink.runtime.jobgraph.IntermediateResultPartitionID
-
- All Implemented Interfaces:
Serializable
,ResultID
public class IntermediateResultPartitionID extends Object implements ResultID
Id identifyingIntermediateResultPartition
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IntermediateResultPartitionID()
Creates an new random intermediate result partition ID for testing.IntermediateResultPartitionID(IntermediateDataSetID intermediateDataSetID, int partitionNum)
Creates an new intermediate result partition ID withIntermediateDataSetID
and the partitionNum.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
static IntermediateResultPartitionID
fromByteBuf(org.apache.flink.shaded.netty4.io.netty.buffer.ByteBuf buf)
static int
getByteBufLength()
IntermediateDataSetID
getIntermediateDataSetID()
int
getPartitionNumber()
int
hashCode()
String
toString()
void
writeTo(org.apache.flink.shaded.netty4.io.netty.buffer.ByteBuf buf)
-
-
-
Constructor Detail
-
IntermediateResultPartitionID
@VisibleForTesting public IntermediateResultPartitionID()
Creates an new random intermediate result partition ID for testing.
-
IntermediateResultPartitionID
public IntermediateResultPartitionID(IntermediateDataSetID intermediateDataSetID, int partitionNum)
Creates an new intermediate result partition ID withIntermediateDataSetID
and the partitionNum.
-
-
Method Detail
-
getPartitionNumber
public int getPartitionNumber()
-
getIntermediateDataSetID
public IntermediateDataSetID getIntermediateDataSetID()
-
writeTo
public void writeTo(org.apache.flink.shaded.netty4.io.netty.buffer.ByteBuf buf)
-
fromByteBuf
public static IntermediateResultPartitionID fromByteBuf(org.apache.flink.shaded.netty4.io.netty.buffer.ByteBuf buf)
-
getByteBufLength
public static int getByteBufLength()
-
-