Enum OracleLockTableStatement.LockMode
- java.lang.Object
-
- java.lang.Enum<OracleLockTableStatement.LockMode>
-
- com.alibaba.druid.sql.dialect.oracle.ast.stmt.OracleLockTableStatement.LockMode
-
- All Implemented Interfaces:
Serializable,Comparable<OracleLockTableStatement.LockMode>
- Enclosing class:
- OracleLockTableStatement
public static enum OracleLockTableStatement.LockMode extends Enum<OracleLockTableStatement.LockMode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXCLUSIVEROW_EXCLUSIVEROW_SHARESHARESHARE_ROW_EXCLUSIVESHARE_UPDATE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()static OracleLockTableStatement.LockModevalueOf(String name)Returns the enum constant of this type with the specified name.static OracleLockTableStatement.LockMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ROW_SHARE
public static final OracleLockTableStatement.LockMode ROW_SHARE
-
ROW_EXCLUSIVE
public static final OracleLockTableStatement.LockMode ROW_EXCLUSIVE
-
SHARE_UPDATE
public static final OracleLockTableStatement.LockMode SHARE_UPDATE
-
SHARE
public static final OracleLockTableStatement.LockMode SHARE
-
SHARE_ROW_EXCLUSIVE
public static final OracleLockTableStatement.LockMode SHARE_ROW_EXCLUSIVE
-
EXCLUSIVE
public static final OracleLockTableStatement.LockMode EXCLUSIVE
-
-
Method Detail
-
values
public static OracleLockTableStatement.LockMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (OracleLockTableStatement.LockMode c : OracleLockTableStatement.LockMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OracleLockTableStatement.LockMode valueOf(String name)
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
-
toString
public String toString()
- Overrides:
toStringin classEnum<OracleLockTableStatement.LockMode>
-
-