public static enum MysqlxCrud.Find.RowLock extends java.lang.Enum<MysqlxCrud.Find.RowLock> implements com.google.protobuf.ProtocolMessageEnum
Mysqlx.Crud.Find.RowLock| Enum Constant and Description |
|---|
EXCLUSIVE_LOCK
Lock matching rows so no other transaction can read or write to it
|
SHARED_LOCK
Lock matching rows against updates
|
| Modifier and Type | Field and Description |
|---|---|
static int |
EXCLUSIVE_LOCK_VALUE
Lock matching rows so no other transaction can read or write to it
|
static int |
SHARED_LOCK_VALUE
Lock matching rows against updates
|
| Modifier and Type | Method and Description |
|---|---|
static MysqlxCrud.Find.RowLock |
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.Find.RowLock> |
internalGetValueMap() |
static MysqlxCrud.Find.RowLock |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static MysqlxCrud.Find.RowLock |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static MysqlxCrud.Find.RowLock |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MysqlxCrud.Find.RowLock[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MysqlxCrud.Find.RowLock SHARED_LOCK
Lock matching rows against updates
SHARED_LOCK = 1;public static final MysqlxCrud.Find.RowLock EXCLUSIVE_LOCK
Lock matching rows so no other transaction can read or write to it
EXCLUSIVE_LOCK = 2;public static final int SHARED_LOCK_VALUE
Lock matching rows against updates
SHARED_LOCK = 1;public static final int EXCLUSIVE_LOCK_VALUE
Lock matching rows so no other transaction can read or write to it
EXCLUSIVE_LOCK = 2;public static MysqlxCrud.Find.RowLock[] values()
for (MysqlxCrud.Find.RowLock c : MysqlxCrud.Find.RowLock.values()) System.out.println(c);
public static MysqlxCrud.Find.RowLock 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.Find.RowLock valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static MysqlxCrud.Find.RowLock forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<MysqlxCrud.Find.RowLock> 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.Find.RowLock valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)