Package org.apache.flink.runtime.state
Class RegisteredPriorityQueueStateBackendMetaInfo<T>
java.lang.Object
org.apache.flink.runtime.state.RegisteredStateMetaInfoBase
org.apache.flink.runtime.state.RegisteredPriorityQueueStateBackendMetaInfo<T>
Meta information about a priority queue state in a backend.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.flink.runtime.state.RegisteredStateMetaInfoBase
RegisteredStateMetaInfoBase.Key -
Field Summary
Fields inherited from class org.apache.flink.runtime.state.RegisteredStateMetaInfoBase
name -
Constructor Summary
ConstructorsConstructorDescriptionRegisteredPriorityQueueStateBackendMetaInfo(String name, org.apache.flink.api.common.typeutils.TypeSerializer<T> elementSerializer) -
Method Summary
Modifier and TypeMethodDescriptiondeepCopy()org.apache.flink.api.common.typeutils.TypeSerializer<T>org.apache.flink.api.common.typeutils.TypeSerializer<T>snapshot()org.apache.flink.api.common.typeutils.TypeSerializerSchemaCompatibility<T>updateElementSerializer(org.apache.flink.api.common.typeutils.TypeSerializer<T> newElementSerializer) create a new metadata object with Lazy serializer provider using existing one as a snapshot.Methods inherited from class org.apache.flink.runtime.state.RegisteredStateMetaInfoBase
asMapKey, fromMetaInfoSnapshot, getName
-
Constructor Details
-
RegisteredPriorityQueueStateBackendMetaInfo
-
RegisteredPriorityQueueStateBackendMetaInfo
-
-
Method Details
-
snapshot
- Specified by:
snapshotin classRegisteredStateMetaInfoBase
-
withSerializerUpgradesAllowed
Description copied from class:RegisteredStateMetaInfoBasecreate a new metadata object with Lazy serializer provider using existing one as a snapshot. Sometimes metadata was just created or updated, but its StateSerializerProvider will not allow further updates. So this method could replace it with a new one that contains a fresh LazilyRegisteredStateSerializerProvider.- Specified by:
withSerializerUpgradesAllowedin classRegisteredStateMetaInfoBase
-
getElementSerializer
-
updateElementSerializer
-
getPreviousElementSerializer
@Nullable public org.apache.flink.api.common.typeutils.TypeSerializer<T> getPreviousElementSerializer() -
deepCopy
-