Class RegisteredBroadcastStateBackendMetaInfo<K,V>

java.lang.Object
org.apache.flink.runtime.state.RegisteredStateMetaInfoBase
org.apache.flink.runtime.state.RegisteredBroadcastStateBackendMetaInfo<K,V>

public class RegisteredBroadcastStateBackendMetaInfo<K,V> extends RegisteredStateMetaInfoBase
  • 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

      public RegisteredBroadcastStateBackendMetaInfo(@Nonnull StateMetaInfoSnapshot snapshot)
  • Method Details

    • deepCopy

      @Nonnull public RegisteredBroadcastStateBackendMetaInfo<K,V> deepCopy()
      Creates a deep copy of the itself.
    • snapshot

      @Nonnull public StateMetaInfoSnapshot snapshot()
      Specified by:
      snapshot in class RegisteredStateMetaInfoBase
    • withSerializerUpgradesAllowed

      @Nonnull public RegisteredBroadcastStateBackendMetaInfo<K,V> withSerializerUpgradesAllowed()
      Description copied from class: RegisteredStateMetaInfoBase
      create 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:
      withSerializerUpgradesAllowed in class RegisteredStateMetaInfoBase
    • getKeySerializer

      @Nonnull public org.apache.flink.api.common.typeutils.TypeSerializer<K> getKeySerializer()
    • updateKeySerializer

      @Nonnull public org.apache.flink.api.common.typeutils.TypeSerializerSchemaCompatibility<K> updateKeySerializer(org.apache.flink.api.common.typeutils.TypeSerializer<K> newKeySerializer)
    • getPreviousKeySerializer

      @Nullable public org.apache.flink.api.common.typeutils.TypeSerializer<K> getPreviousKeySerializer()
    • getValueSerializer

      @Nonnull public org.apache.flink.api.common.typeutils.TypeSerializer<V> getValueSerializer()
    • updateValueSerializer

      @Nonnull public org.apache.flink.api.common.typeutils.TypeSerializerSchemaCompatibility<V> updateValueSerializer(org.apache.flink.api.common.typeutils.TypeSerializer<V> newValueSerializer)
    • getPreviousValueSerializer

      @Nullable public org.apache.flink.api.common.typeutils.TypeSerializer<V> getPreviousValueSerializer()
    • getAssignmentMode

      @Nonnull public OperatorStateHandle.Mode getAssignmentMode()
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object