Class 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 Detail

      • KeyGroupStatePartitionStreamProvider

        public KeyGroupStatePartitionStreamProvider​(IOException creationException,
                                                    int keyGroupId)
      • KeyGroupStatePartitionStreamProvider

        public KeyGroupStatePartitionStreamProvider​(InputStream stream,
                                                    int keyGroupId)
    • Method Detail

      • getKeyGroupId

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