Interface ChangelogStateBackendHandle
- All Superinterfaces:
CheckpointBoundKeyedStateHandle,CompositeStateHandle,KeyedStateHandle,Serializable,StateObject
- All Known Implementing Classes:
ChangelogStateBackendHandle.ChangelogStateBackendHandleImpl,ChangelogStateBackendLocalHandle
@Internal
public interface ChangelogStateBackendHandle
extends KeyedStateHandle, CheckpointBoundKeyedStateHandle
A handle to ChangelogStateBackend state. Consists of the base and delta parts. Base part
references materialized state (e.g. SST files), while delta part references state changes that
were not not materialized at the time of the snapshot. Both are potentially empty lists as there
can be no state or multiple states (e.g. after rescaling).
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classNested classes/interfaces inherited from interface org.apache.flink.runtime.state.StateObject
StateObject.StateObjectLocation, StateObject.StateObjectSizeStatsCollector -
Method Summary
Modifier and TypeMethodDescriptionlongrebound(long checkpointId) Returns a newCheckpointBoundKeyedStateHandleRebounding checkpoint id to a specific checkpoint id.Methods inherited from interface org.apache.flink.runtime.state.CheckpointBoundKeyedStateHandle
getCheckpointIdMethods inherited from interface org.apache.flink.runtime.state.CompositeStateHandle
getCheckpointedSize, registerSharedStatesMethods inherited from interface org.apache.flink.runtime.state.KeyedStateHandle
getIntersection, getKeyGroupRange, getStateHandleIdMethods inherited from interface org.apache.flink.runtime.state.StateObject
collectSizeStats, discardState, getStateSize
-
Method Details
-
getMaterializedStateHandles
List<KeyedStateHandle> getMaterializedStateHandles() -
getNonMaterializedStateHandles
List<ChangelogStateHandle> getNonMaterializedStateHandles() -
getMaterializationID
long getMaterializationID() -
rebound
Description copied from interface:CheckpointBoundKeyedStateHandleReturns a newCheckpointBoundKeyedStateHandleRebounding checkpoint id to a specific checkpoint id.- Specified by:
reboundin interfaceCheckpointBoundKeyedStateHandle- Parameters:
checkpointId- rebounded checkpoint id.
-