public static enum MysqlxCrud.Find.RowLockOptions extends java.lang.Enum<MysqlxCrud.Find.RowLockOptions> implements com.google.protobuf.ProtocolMessageEnum
Mysqlx.Crud.Find.RowLockOptions| Enum Constant and Description |
|---|
NOWAIT
Do not wait to acquire row lock, fail with an error
if a requested row is locked
|
SKIP_LOCKED
Do not wait to acquire a row lock,
remove locked rows from the result set
|
| Modifier and Type | Field and Description |
|---|---|
static int |
NOWAIT_VALUE
Do not wait to acquire row lock, fail with an error
if a requested row is locked
|
static int |
SKIP_LOCKED_VALUE
Do not wait to acquire a row lock,
remove locked rows from the result set
|
| Modifier and Type | Method and Description |
|---|---|
static MysqlxCrud.Find.RowLockOptions |
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.RowLockOptions> |
internalGetValueMap() |
static MysqlxCrud.Find.RowLockOptions |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static MysqlxCrud.Find.RowLockOptions |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static MysqlxCrud.Find.RowLockOptions |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MysqlxCrud.Find.RowLockOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MysqlxCrud.Find.RowLockOptions NOWAIT
Do not wait to acquire row lock, fail with an error if a requested row is locked
NOWAIT = 1;public static final MysqlxCrud.Find.RowLockOptions SKIP_LOCKED
Do not wait to acquire a row lock, remove locked rows from the result set
SKIP_LOCKED = 2;public static final int NOWAIT_VALUE
Do not wait to acquire row lock, fail with an error if a requested row is locked
NOWAIT = 1;public static final int SKIP_LOCKED_VALUE
Do not wait to acquire a row lock, remove locked rows from the result set
SKIP_LOCKED = 2;public static MysqlxCrud.Find.RowLockOptions[] values()
for (MysqlxCrud.Find.RowLockOptions c : MysqlxCrud.Find.RowLockOptions.values()) System.out.println(c);
public static MysqlxCrud.Find.RowLockOptions 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.RowLockOptions valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static MysqlxCrud.Find.RowLockOptions forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<MysqlxCrud.Find.RowLockOptions> 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.RowLockOptions valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)