Package org.apache.flink.runtime.state
Class RegisteredOperatorStateBackendMetaInfo<S>
java.lang.Object
org.apache.flink.runtime.state.RegisteredStateMetaInfoBase
org.apache.flink.runtime.state.RegisteredOperatorStateBackendMetaInfo<S>
- Type Parameters:
S- Type of the state.
Compound meta information for a registered state in an operator state backend. This contains the
state name, assignment mode, and state partition serializer.
-
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
ConstructorsConstructorDescriptionRegisteredOperatorStateBackendMetaInfo(String name, org.apache.flink.api.common.typeutils.TypeSerializer<S> partitionStateSerializer, OperatorStateHandle.Mode assignmentMode) -
Method Summary
Modifier and TypeMethodDescriptiondeepCopy()Creates a deep copy of the itself.booleanorg.apache.flink.api.common.typeutils.TypeSerializer<S>org.apache.flink.api.common.typeutils.TypeSerializer<S>inthashCode()snapshot()toString()org.apache.flink.api.common.typeutils.TypeSerializerSchemaCompatibility<S>updatePartitionStateSerializer(org.apache.flink.api.common.typeutils.TypeSerializer<S> newPartitionStateSerializer) 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
-
RegisteredOperatorStateBackendMetaInfo
public RegisteredOperatorStateBackendMetaInfo(@Nonnull String name, @Nonnull org.apache.flink.api.common.typeutils.TypeSerializer<S> partitionStateSerializer, @Nonnull OperatorStateHandle.Mode assignmentMode) -
RegisteredOperatorStateBackendMetaInfo
-
-
Method Details
-
deepCopy
Creates a deep copy of the itself. -
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
-
getAssignmentMode
-
getPartitionStateSerializer
@Nonnull public org.apache.flink.api.common.typeutils.TypeSerializer<S> getPartitionStateSerializer() -
updatePartitionStateSerializer
-
getPreviousPartitionStateSerializer
@Nullable public org.apache.flink.api.common.typeutils.TypeSerializer<S> getPreviousPartitionStateSerializer() -
equals
-
hashCode
public int hashCode() -
toString
-