Package org.apache.flink.runtime.state
Interface FullSnapshotResources<K>
-
- Type Parameters:
K- type of the backend keys.
- All Superinterfaces:
SnapshotResources
@Internal public interface FullSnapshotResources<K> extends SnapshotResources
ASnapshotResourcesto be used with the backend-independentFullSnapshotAsyncWriter.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description KeyValueStateIteratorcreateKVStateIterator()Returns aKeyValueStateIteratorfor iterating over all key-value states for this snapshot resources.KeyGroupRangegetKeyGroupRange()Returns theKeyGroupRangeof this snapshot.org.apache.flink.api.common.typeutils.TypeSerializer<K>getKeySerializer()Returns keyTypeSerializer.List<StateMetaInfoSnapshot>getMetaInfoSnapshots()Returns the list ofmeta info snapshotsfor this state snapshot.StreamCompressionDecoratorgetStreamCompressionDecorator()Returns theStreamCompressionDecoratorthat should be used for writing.-
Methods inherited from interface org.apache.flink.runtime.state.SnapshotResources
release
-
-
-
-
Method Detail
-
getMetaInfoSnapshots
List<StateMetaInfoSnapshot> getMetaInfoSnapshots()
Returns the list ofmeta info snapshotsfor this state snapshot.
-
createKVStateIterator
KeyValueStateIterator createKVStateIterator() throws IOException
Returns aKeyValueStateIteratorfor iterating over all key-value states for this snapshot resources.- Throws:
IOException
-
getKeyGroupRange
KeyGroupRange getKeyGroupRange()
Returns theKeyGroupRangeof this snapshot.
-
getKeySerializer
org.apache.flink.api.common.typeutils.TypeSerializer<K> getKeySerializer()
Returns keyTypeSerializer.
-
getStreamCompressionDecorator
StreamCompressionDecorator getStreamCompressionDecorator()
Returns theStreamCompressionDecoratorthat should be used for writing.
-
-