K - type of the backend keys.@Internal public interface FullSnapshotResources<K> extends SnapshotResources
SnapshotResources to be used with the backend-independent FullSnapshotAsyncWriter.| Modifier and Type | Method and Description |
|---|---|
KeyValueStateIterator |
createKVStateIterator()
Returns a
KeyValueStateIterator for iterating over all key-value states for this
snapshot resources. |
KeyGroupRange |
getKeyGroupRange()
Returns the
KeyGroupRange of this snapshot. |
org.apache.flink.api.common.typeutils.TypeSerializer<K> |
getKeySerializer()
Returns key
TypeSerializer. |
List<StateMetaInfoSnapshot> |
getMetaInfoSnapshots()
Returns the list of
meta info snapshots for this state
snapshot. |
StreamCompressionDecorator |
getStreamCompressionDecorator()
Returns the
StreamCompressionDecorator that should be used for writing. |
releaseList<StateMetaInfoSnapshot> getMetaInfoSnapshots()
meta info snapshots for this state
snapshot.KeyValueStateIterator createKVStateIterator() throws IOException
KeyValueStateIterator for iterating over all key-value states for this
snapshot resources.IOExceptionKeyGroupRange getKeyGroupRange()
KeyGroupRange of this snapshot.org.apache.flink.api.common.typeutils.TypeSerializer<K> getKeySerializer()
TypeSerializer.StreamCompressionDecorator getStreamCompressionDecorator()
StreamCompressionDecorator that should be used for writing.Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.