Enum Mutation
- All Implemented Interfaces:
Serializable
,Comparable<Mutation>
,java.lang.constant.Constable
@Committed @Public public enum Mutation extends Enum<Mutation>
Enumeration of possible mutations inside a sub-document
MutationCommand
.- Since:
- 1.2
- Author:
- Simon Baslé
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants Enum Constant Description ARRAY_ADD_UNIQUE
ARRAY_INSERT
ARRAY_PUSH_FIRST
ARRAY_PUSH_LAST
COUNTER
DELETE
DICT_ADD
DICT_UPSERT
REPLACE
UPSERTDOC
-
Method Summary
-
Enum Constant Details
-
UPSERTDOC
-
COUNTER
-
REPLACE
-
DICT_ADD
-
DICT_UPSERT
-
ARRAY_PUSH_FIRST
-
ARRAY_PUSH_LAST
-
ARRAY_ADD_UNIQUE
-
ARRAY_INSERT
-
DELETE
-
-
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
-
opCode
public byte opCode()
-