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. |
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. |
release
List<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.IOException
KeyGroupRange getKeyGroupRange()
KeyGroupRange
of this snapshot.TypeSerializer<K> getKeySerializer()
TypeSerializer
.StreamCompressionDecorator getStreamCompressionDecorator()
StreamCompressionDecorator
that should be used for writing.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.