Package com.couchbase.client.core.msg.kv
Enum SubdocCommandType
- All Implemented Interfaces:
Serializable
,Comparable<SubdocCommandType>
,java.lang.constant.Constable
public enum SubdocCommandType extends Enum<SubdocCommandType>
-
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
COUNT
COUNTER
DELETE
DELETE_DOC
DICT_ADD
DICT_UPSERT
EXISTS
GET
GET_DOC
REPLACE
SET_DOC
-
Method Summary
Modifier and Type Method Description static SubdocCommandType
valueOf(String name)
Returns the enum constant of this type with the specified name.static SubdocCommandType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SET_DOC
-
COUNTER
-
REPLACE
-
DICT_ADD
-
DICT_UPSERT
-
ARRAY_PUSH_FIRST
-
ARRAY_PUSH_LAST
-
ARRAY_ADD_UNIQUE
-
ARRAY_INSERT
-
DELETE
-
DELETE_DOC
-
GET
-
EXISTS
-
COUNT
-
GET_DOC
-
-
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
-