Package org.apache.flink.state.changelog
Enum StateChangeOperation
- All Implemented Interfaces:
Serializable,Comparable<StateChangeOperation>
The operation applied to
ChangelogState.-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionScope: key + namespace.Scope: key + namespace + element (e.g. user list append).Scope: key + namespace + element (e.g. user map key put).Scope: key + namespace.Scope: key + namespace, also affecting other (source) namespaces.State metadata (name, serializers, etc.).Scope: key + namespace + element (e.g. user map remove or iterator remove).Scope: key + namespace.Scope: key + namespace. -
Method Summary
Modifier and TypeMethodDescriptionstatic StateChangeOperationbyCode(byte opCode) bytegetCode()static StateChangeOperationReturns the enum constant of this type with the specified name.static StateChangeOperation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CLEAR
Scope: key + namespace. -
SET
Scope: key + namespace. -
SET_INTERNAL
Scope: key + namespace. -
ADD
Scope: key + namespace. -
MERGE_NS
Scope: key + namespace, also affecting other (source) namespaces. -
ADD_ELEMENT
Scope: key + namespace + element (e.g. user list append). -
ADD_OR_UPDATE_ELEMENT
Scope: key + namespace + element (e.g. user map key put). -
REMOVE_ELEMENT
Scope: key + namespace + element (e.g. user map remove or iterator remove). -
METADATA
State metadata (name, serializers, etc.).
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
byCode
-
getCode
public byte getCode()
-