Enum MySQLStatusFlag
java.lang.Object
java.lang.Enum<MySQLStatusFlag>
org.apache.shardingsphere.db.protocol.mysql.constant.MySQLStatusFlag
- All Implemented Interfaces:
Serializable,Comparable<MySQLStatusFlag>,java.lang.constant.Constable
Status flags are a bit-field for MySQL.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic MySQLStatusFlagvalueOf(int value) Value of MySQL status flag.static MySQLStatusFlagReturns the enum constant of this type with the specified name.static MySQLStatusFlag[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SERVER_STATUS_IN_TRANS
-
SERVER_STATUS_AUTOCOMMIT
-
SERVER_MORE_RESULTS_EXISTS
-
SERVER_STATUS_NO_GOOD_INDEX_USED
-
SERVER_STATUS_NO_INDEX_USED
-
SERVER_STATUS_CURSOR_EXISTS
-
SERVER_STATUS_LAST_ROW_SENT
-
SERVER_STATUS_DB_DROPPED
-
SERVER_STATUS_NO_BACKSLASH_ESCAPES
-
SERVER_STATUS_METADATA_CHANGED
-
SERVER_QUERY_WAS_SLOW
-
SERVER_PS_OUT_PARAMS
-
SERVER_STATUS_IN_TRANS_READONLY
-
SERVER_SESSION_STATE_CHANGED
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
valueOf
Value of MySQL status flag.- Parameters:
value- value- Returns:
- MySQL status flag
-