public static enum MysqlxCrud.UpdateOperation.UpdateType extends java.lang.Enum<MysqlxCrud.UpdateOperation.UpdateType> implements com.google.protobuf.ProtocolMessageEnum
Mysqlx.Crud.UpdateOperation.UpdateType| Enum Constant and Description |
|---|
ARRAY_APPEND
append the value on the array at the identified path
|
ARRAY_INSERT
insert the value in the array at the index identified in the source path
|
ITEM_MERGE
source and value must be documents
|
ITEM_REMOVE
no value (removes the identified path from a object or array)
|
ITEM_REPLACE
replaces a value if the path exists
|
ITEM_SET
sets the new value on the identified path
|
MERGE_PATCH
merge JSON object value with the provided patch expression
|
SET
only allowed for TABLE
|
| Modifier and Type | Field and Description |
|---|---|
static int |
ARRAY_APPEND_VALUE
append the value on the array at the identified path
|
static int |
ARRAY_INSERT_VALUE
insert the value in the array at the index identified in the source path
|
static int |
ITEM_MERGE_VALUE
source and value must be documents
|
static int |
ITEM_REMOVE_VALUE
no value (removes the identified path from a object or array)
|
static int |
ITEM_REPLACE_VALUE
replaces a value if the path exists
|
static int |
ITEM_SET_VALUE
sets the new value on the identified path
|
static int |
MERGE_PATCH_VALUE
merge JSON object value with the provided patch expression
|
static int |
SET_VALUE
only allowed for TABLE
|
| Modifier and Type | Method and Description |
|---|---|
static MysqlxCrud.UpdateOperation.UpdateType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<MysqlxCrud.UpdateOperation.UpdateType> |
internalGetValueMap() |
static MysqlxCrud.UpdateOperation.UpdateType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static MysqlxCrud.UpdateOperation.UpdateType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static MysqlxCrud.UpdateOperation.UpdateType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MysqlxCrud.UpdateOperation.UpdateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MysqlxCrud.UpdateOperation.UpdateType SET
only allowed for TABLE
SET = 1;public static final MysqlxCrud.UpdateOperation.UpdateType ITEM_REMOVE
no value (removes the identified path from a object or array)
ITEM_REMOVE = 2;public static final MysqlxCrud.UpdateOperation.UpdateType ITEM_SET
sets the new value on the identified path
ITEM_SET = 3;public static final MysqlxCrud.UpdateOperation.UpdateType ITEM_REPLACE
replaces a value if the path exists
ITEM_REPLACE = 4;public static final MysqlxCrud.UpdateOperation.UpdateType ITEM_MERGE
source and value must be documents
ITEM_MERGE = 5;public static final MysqlxCrud.UpdateOperation.UpdateType ARRAY_INSERT
insert the value in the array at the index identified in the source path
ARRAY_INSERT = 6;public static final MysqlxCrud.UpdateOperation.UpdateType ARRAY_APPEND
append the value on the array at the identified path
ARRAY_APPEND = 7;public static final MysqlxCrud.UpdateOperation.UpdateType MERGE_PATCH
merge JSON object value with the provided patch expression
MERGE_PATCH = 8;public static final int SET_VALUE
only allowed for TABLE
SET = 1;public static final int ITEM_REMOVE_VALUE
no value (removes the identified path from a object or array)
ITEM_REMOVE = 2;public static final int ITEM_SET_VALUE
sets the new value on the identified path
ITEM_SET = 3;public static final int ITEM_REPLACE_VALUE
replaces a value if the path exists
ITEM_REPLACE = 4;public static final int ITEM_MERGE_VALUE
source and value must be documents
ITEM_MERGE = 5;public static final int ARRAY_INSERT_VALUE
insert the value in the array at the index identified in the source path
ARRAY_INSERT = 6;public static final int ARRAY_APPEND_VALUE
append the value on the array at the identified path
ARRAY_APPEND = 7;public static final int MERGE_PATCH_VALUE
merge JSON object value with the provided patch expression
MERGE_PATCH = 8;public static MysqlxCrud.UpdateOperation.UpdateType[] values()
for (MysqlxCrud.UpdateOperation.UpdateType c : MysqlxCrud.UpdateOperation.UpdateType.values()) System.out.println(c);
public static MysqlxCrud.UpdateOperation.UpdateType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static MysqlxCrud.UpdateOperation.UpdateType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static MysqlxCrud.UpdateOperation.UpdateType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<MysqlxCrud.UpdateOperation.UpdateType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static MysqlxCrud.UpdateOperation.UpdateType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)