Package org.apache.flink.runtime.state
Interface FullSnapshotResources<K>
- Type Parameters:
K- type of the backend keys.
- All Superinterfaces:
SnapshotResources
A
SnapshotResources to be used with the backend-independent FullSnapshotAsyncWriter.-
Method Summary
Modifier and TypeMethodDescriptionReturns aKeyValueStateIteratorfor iterating over all key-value states for this snapshot resources.Returns theKeyGroupRangeof this snapshot.org.apache.flink.api.common.typeutils.TypeSerializer<K>Returns keyTypeSerializer.Returns the list ofmeta info snapshotsfor this state snapshot.Returns theStreamCompressionDecoratorthat should be used for writing.Methods inherited from interface org.apache.flink.runtime.state.SnapshotResources
release
-
Method Details
-
getMetaInfoSnapshots
List<StateMetaInfoSnapshot> getMetaInfoSnapshots()Returns the list ofmeta info snapshotsfor this state snapshot. -
createKVStateIterator
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.
-