Class ResultSubpartitionIndexSet
java.lang.Object
org.apache.flink.runtime.executiongraph.IndexRange
org.apache.flink.runtime.io.network.partition.ResultSubpartitionIndexSet
- All Implemented Interfaces:
Serializable
A collection of subpartition indexes.
- See Also:
-
Field Summary
Fields inherited from class org.apache.flink.runtime.executiongraph.IndexRange
endIndex, startIndex -
Constructor Summary
ConstructorsConstructorDescriptionResultSubpartitionIndexSet(int index) ResultSubpartitionIndexSet(int startIndex, int endIndex) ResultSubpartitionIndexSet(IndexRange indexRange) -
Method Summary
Modifier and TypeMethodDescriptionbooleancontains(int index) static ResultSubpartitionIndexSetfromByteBuf(org.apache.flink.shaded.netty4.io.netty.buffer.ByteBuf source) static intgetByteBufLength(ResultSubpartitionIndexSet indexSet) values()voidwriteTo(org.apache.flink.shaded.netty4.io.netty.buffer.ByteBuf target) Methods inherited from class org.apache.flink.runtime.executiongraph.IndexRange
equals, getEndIndex, getStartIndex, hashCode, size, toString
-
Constructor Details
-
ResultSubpartitionIndexSet
public ResultSubpartitionIndexSet(int index) -
ResultSubpartitionIndexSet
-
ResultSubpartitionIndexSet
public ResultSubpartitionIndexSet(int startIndex, int endIndex)
-
-
Method Details
-
contains
public boolean contains(int index) -
values
-
writeTo
public void writeTo(org.apache.flink.shaded.netty4.io.netty.buffer.ByteBuf target) -
getByteBufLength
-
fromByteBuf
public static ResultSubpartitionIndexSet fromByteBuf(org.apache.flink.shaded.netty4.io.netty.buffer.ByteBuf source)
-