N
- Type of namespaceS
- Type of state valuepublic class RegisteredKeyValueStateBackendMetaInfo<N,S> extends RegisteredStateMetaInfoBase
name
Constructor and Description |
---|
RegisteredKeyValueStateBackendMetaInfo(StateDescriptor.Type stateType,
String name,
TypeSerializer<N> namespaceSerializer,
TypeSerializer<S> stateSerializer) |
RegisteredKeyValueStateBackendMetaInfo(StateDescriptor.Type stateType,
String name,
TypeSerializer<N> namespaceSerializer,
TypeSerializer<S> stateSerializer,
StateSnapshotTransformer.StateSnapshotTransformFactory<S> stateSnapshotTransformFactory) |
RegisteredKeyValueStateBackendMetaInfo(StateMetaInfoSnapshot snapshot) |
fromMetaInfoSnapshot, getName
public RegisteredKeyValueStateBackendMetaInfo(@Nonnull StateDescriptor.Type stateType, @Nonnull String name, @Nonnull TypeSerializer<N> namespaceSerializer, @Nonnull TypeSerializer<S> stateSerializer)
public RegisteredKeyValueStateBackendMetaInfo(@Nonnull StateDescriptor.Type stateType, @Nonnull String name, @Nonnull TypeSerializer<N> namespaceSerializer, @Nonnull TypeSerializer<S> stateSerializer, @Nonnull StateSnapshotTransformer.StateSnapshotTransformFactory<S> stateSnapshotTransformFactory)
public RegisteredKeyValueStateBackendMetaInfo(@Nonnull StateMetaInfoSnapshot snapshot)
@Nonnull public StateDescriptor.Type getStateType()
@Nonnull public TypeSerializer<N> getNamespaceSerializer()
@Nonnull public TypeSerializerSchemaCompatibility<N> updateNamespaceSerializer(TypeSerializer<N> newNamespaceSerializer)
@Nonnull public TypeSerializer<N> getPreviousNamespaceSerializer()
@Nonnull public TypeSerializer<S> getStateSerializer()
@Nonnull public TypeSerializerSchemaCompatibility<S> updateStateSerializer(TypeSerializer<S> newStateSerializer)
@Nonnull public TypeSerializer<S> getPreviousStateSerializer()
@Nullable public TypeSerializerSnapshot<S> getPreviousStateSerializerSnapshot()
@Nonnull public StateSnapshotTransformer.StateSnapshotTransformFactory<S> getStateSnapshotTransformFactory()
public void updateSnapshotTransformFactory(StateSnapshotTransformer.StateSnapshotTransformFactory<S> stateSnapshotTransformFactory)
@Nonnull public StateMetaInfoSnapshot snapshot()
snapshot
in class RegisteredStateMetaInfoBase
@Nonnull public RegisteredKeyValueStateBackendMetaInfo<N,S> withSerializerUpgradesAllowed()
RegisteredStateMetaInfoBase
withSerializerUpgradesAllowed
in class RegisteredStateMetaInfoBase
public void checkStateMetaInfo(StateDescriptor<?,?> stateDesc)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.