Package org.apache.flink.runtime.state
Class RegisteredBroadcastStateBackendMetaInfo<K,V>
java.lang.Object
org.apache.flink.runtime.state.RegisteredStateMetaInfoBase
org.apache.flink.runtime.state.RegisteredBroadcastStateBackendMetaInfo<K,V>
-
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
ConstructorsConstructorDescriptionRegisteredBroadcastStateBackendMetaInfo(String name, OperatorStateHandle.Mode assignmentMode, org.apache.flink.api.common.typeutils.TypeSerializer<K> keySerializer, org.apache.flink.api.common.typeutils.TypeSerializer<V> valueSerializer) -
Method Summary
Modifier and TypeMethodDescriptiondeepCopy()Creates a deep copy of the itself.booleanorg.apache.flink.api.common.typeutils.TypeSerializer<K>org.apache.flink.api.common.typeutils.TypeSerializer<K>org.apache.flink.api.common.typeutils.TypeSerializer<V>org.apache.flink.api.common.typeutils.TypeSerializer<V>inthashCode()snapshot()toString()org.apache.flink.api.common.typeutils.TypeSerializerSchemaCompatibility<K>updateKeySerializer(org.apache.flink.api.common.typeutils.TypeSerializer<K> newKeySerializer) org.apache.flink.api.common.typeutils.TypeSerializerSchemaCompatibility<V>updateValueSerializer(org.apache.flink.api.common.typeutils.TypeSerializer<V> newValueSerializer) 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
-
RegisteredBroadcastStateBackendMetaInfo
public RegisteredBroadcastStateBackendMetaInfo(@Nonnull String name, @Nonnull OperatorStateHandle.Mode assignmentMode, @Nonnull org.apache.flink.api.common.typeutils.TypeSerializer<K> keySerializer, @Nonnull org.apache.flink.api.common.typeutils.TypeSerializer<V> valueSerializer) -
RegisteredBroadcastStateBackendMetaInfo
public RegisteredBroadcastStateBackendMetaInfo(@Nonnull RegisteredBroadcastStateBackendMetaInfo<K, V> copy) -
RegisteredBroadcastStateBackendMetaInfo
-
-
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
-
getKeySerializer
-
updateKeySerializer
-
getPreviousKeySerializer
-
getValueSerializer
-
updateValueSerializer
-
getPreviousValueSerializer
@Nullable public org.apache.flink.api.common.typeutils.TypeSerializer<V> getPreviousValueSerializer() -
getAssignmentMode
-
equals
-
hashCode
public int hashCode() -
toString
-