@Internal public enum StateChangeOperation extends Enum<StateChangeOperation>
ChangelogState
.Enum Constant and Description |
---|
ADD
Scope: key + namespace.
|
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).
|
CLEAR
Scope: key + namespace.
|
MERGE_NS
Scope: key + namespace, also affecting other (source) namespaces.
|
METADATA
State metadata (name, serializers, etc.).
|
REMOVE_ELEMENT
Scope: key + namespace + element (e.g. user map remove or iterator remove).
|
SET
Scope: key + namespace.
|
SET_INTERNAL
Scope: key + namespace.
|
Modifier and Type | Method and Description |
---|---|
static StateChangeOperation |
byCode(byte opCode) |
byte |
getCode() |
static StateChangeOperation |
valueOf(String name)
Returns 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.
|
public static final StateChangeOperation CLEAR
public static final StateChangeOperation SET
public static final StateChangeOperation SET_INTERNAL
public static final StateChangeOperation ADD
public static final StateChangeOperation MERGE_NS
public static final StateChangeOperation ADD_ELEMENT
public static final StateChangeOperation ADD_OR_UPDATE_ELEMENT
public static final StateChangeOperation REMOVE_ELEMENT
public static final StateChangeOperation METADATA
public static StateChangeOperation[] values()
for (StateChangeOperation c : StateChangeOperation.values()) System.out.println(c);
public static StateChangeOperation valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static StateChangeOperation byCode(byte opCode)
public byte getCode()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.