Class KeyGroupStatePartitionStreamProvider

java.lang.Object
org.apache.flink.runtime.state.StatePartitionStreamProvider
org.apache.flink.runtime.state.KeyGroupStatePartitionStreamProvider

@PublicEvolving public class KeyGroupStatePartitionStreamProvider extends StatePartitionStreamProvider
This class provides access to an input stream that contains state data for one key group and the key group id.
  • Constructor Details

    • KeyGroupStatePartitionStreamProvider

      public KeyGroupStatePartitionStreamProvider(IOException creationException, int keyGroupId)
    • KeyGroupStatePartitionStreamProvider

      public KeyGroupStatePartitionStreamProvider(InputStream stream, int keyGroupId)
  • Method Details

    • getKeyGroupId

      public int getKeyGroupId()
      Returns the key group that corresponds to the data in the provided stream.