public class IntermediateResultPartitionID extends Object implements ResultID
IntermediateResultPartition
.Constructor and Description |
---|
IntermediateResultPartitionID()
Creates an new random intermediate result partition ID for testing.
|
IntermediateResultPartitionID(IntermediateDataSetID intermediateDataSetID,
int partitionNum)
Creates an new intermediate result partition ID with
IntermediateDataSetID and the
partitionNum. |
Modifier and Type | Method and 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) |
@VisibleForTesting public IntermediateResultPartitionID()
public IntermediateResultPartitionID(IntermediateDataSetID intermediateDataSetID, int partitionNum)
IntermediateDataSetID
and the
partitionNum.public int getPartitionNumber()
public IntermediateDataSetID getIntermediateDataSetID()
public void writeTo(org.apache.flink.shaded.netty4.io.netty.buffer.ByteBuf buf)
public static IntermediateResultPartitionID fromByteBuf(org.apache.flink.shaded.netty4.io.netty.buffer.ByteBuf buf)
public static int getByteBufLength()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.