Class ResultSubpartitionIndexSet

java.lang.Object
org.apache.flink.runtime.executiongraph.IndexRange
org.apache.flink.runtime.io.network.partition.ResultSubpartitionIndexSet
All Implemented Interfaces:
Serializable

public class ResultSubpartitionIndexSet extends IndexRange
A collection of subpartition indexes.
See Also:
  • Constructor Details

    • ResultSubpartitionIndexSet

      public ResultSubpartitionIndexSet(int index)
    • ResultSubpartitionIndexSet

      public ResultSubpartitionIndexSet(IndexRange indexRange)
    • ResultSubpartitionIndexSet

      public ResultSubpartitionIndexSet(int startIndex, int endIndex)
  • Method Details

    • contains

      public boolean contains(int index)
    • values

      public Iterable<Integer> values()
    • writeTo

      public void writeTo(org.apache.flink.shaded.netty4.io.netty.buffer.ByteBuf target)
    • getByteBufLength

      public static int getByteBufLength(ResultSubpartitionIndexSet indexSet)
    • fromByteBuf

      public static ResultSubpartitionIndexSet fromByteBuf(org.apache.flink.shaded.netty4.io.netty.buffer.ByteBuf source)