public static enum MySqlLockTableStatement.LockType extends Enum<MySqlLockTableStatement.LockType>
Enum Constant and Description |
---|
LOW_PRIORITY_WRITE |
READ |
READ_LOCAL |
WRITE |
Modifier and Type | Method and Description |
---|---|
static MySqlLockTableStatement.LockType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MySqlLockTableStatement.LockType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MySqlLockTableStatement.LockType READ
public static final MySqlLockTableStatement.LockType READ_LOCAL
public static final MySqlLockTableStatement.LockType WRITE
public static final MySqlLockTableStatement.LockType LOW_PRIORITY_WRITE
public final String name
public static MySqlLockTableStatement.LockType[] values()
for (MySqlLockTableStatement.LockType c : MySqlLockTableStatement.LockType.values()) System.out.println(c);
public static MySqlLockTableStatement.LockType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2013–2017 Alibaba Group. All rights reserved.