Package org.apache.flink.runtime.state
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 Summary
ConstructorsConstructorDescriptionKeyGroupStatePartitionStreamProvider(InputStream stream, int keyGroupId) KeyGroupStatePartitionStreamProvider(IOException creationException, int keyGroupId) -
Method Summary
Modifier and TypeMethodDescriptionintReturns the key group that corresponds to the data in the provided stream.Methods inherited from class org.apache.flink.runtime.state.StatePartitionStreamProvider
getStream
-
Constructor Details
-
KeyGroupStatePartitionStreamProvider
-
KeyGroupStatePartitionStreamProvider
-
-
Method Details
-
getKeyGroupId
public int getKeyGroupId()Returns the key group that corresponds to the data in the provided stream.
-