S
- Type of the state.public class RegisteredOperatorStateBackendMetaInfo<S> extends RegisteredStateMetaInfoBase
name
Constructor and Description |
---|
RegisteredOperatorStateBackendMetaInfo(StateMetaInfoSnapshot snapshot) |
RegisteredOperatorStateBackendMetaInfo(String name,
TypeSerializer<S> partitionStateSerializer,
OperatorStateHandle.Mode assignmentMode) |
Modifier and Type | Method and Description |
---|---|
RegisteredOperatorStateBackendMetaInfo<S> |
deepCopy()
Creates a deep copy of the itself.
|
boolean |
equals(Object obj) |
OperatorStateHandle.Mode |
getAssignmentMode() |
TypeSerializer<S> |
getPartitionStateSerializer() |
TypeSerializer<S> |
getPreviousPartitionStateSerializer() |
int |
hashCode() |
StateMetaInfoSnapshot |
snapshot() |
String |
toString() |
TypeSerializerSchemaCompatibility<S> |
updatePartitionStateSerializer(TypeSerializer<S> newPartitionStateSerializer) |
RegisteredOperatorStateBackendMetaInfo<S> |
withSerializerUpgradesAllowed()
create a new metadata object with Lazy serializer provider using existing one as a snapshot.
|
fromMetaInfoSnapshot, getName
public RegisteredOperatorStateBackendMetaInfo(@Nonnull String name, @Nonnull TypeSerializer<S> partitionStateSerializer, @Nonnull OperatorStateHandle.Mode assignmentMode)
public RegisteredOperatorStateBackendMetaInfo(@Nonnull StateMetaInfoSnapshot snapshot)
@Nonnull public RegisteredOperatorStateBackendMetaInfo<S> deepCopy()
@Nonnull public StateMetaInfoSnapshot snapshot()
snapshot
in class RegisteredStateMetaInfoBase
@Nonnull public RegisteredOperatorStateBackendMetaInfo<S> withSerializerUpgradesAllowed()
RegisteredStateMetaInfoBase
withSerializerUpgradesAllowed
in class RegisteredStateMetaInfoBase
@Nonnull public OperatorStateHandle.Mode getAssignmentMode()
@Nonnull public TypeSerializer<S> getPartitionStateSerializer()
@Nonnull public TypeSerializerSchemaCompatibility<S> updatePartitionStateSerializer(TypeSerializer<S> newPartitionStateSerializer)
@Nullable public TypeSerializer<S> getPreviousPartitionStateSerializer()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.