Enum MySQLBinaryColumnType
java.lang.Object
java.lang.Enum<MySQLBinaryColumnType>
org.apache.shardingsphere.db.protocol.mysql.constant.MySQLBinaryColumnType
- All Implemented Interfaces:
Serializable,Comparable<MySQLBinaryColumnType>,java.lang.constant.Constable,BinaryColumnType
Binary column type 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 ConstantDescriptionDo not describe in document, but actual exist. -
Method Summary
Modifier and TypeMethodDescriptionstatic MySQLBinaryColumnTypevalueOf(int value) Value of.static MySQLBinaryColumnTypeReturns the enum constant of this type with the specified name.static MySQLBinaryColumnTypevalueOfJDBCType(int jdbcType) Value of JDBC type.static MySQLBinaryColumnType[]values()Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface org.apache.shardingsphere.db.protocol.binary.BinaryColumnType
getValue
-
Enum Constant Details
-
MYSQL_TYPE_DECIMAL
-
MYSQL_TYPE_TINY
-
MYSQL_TYPE_SHORT
-
MYSQL_TYPE_LONG
-
MYSQL_TYPE_FLOAT
-
MYSQL_TYPE_DOUBLE
-
MYSQL_TYPE_NULL
-
MYSQL_TYPE_TIMESTAMP
-
MYSQL_TYPE_LONGLONG
-
MYSQL_TYPE_INT24
-
MYSQL_TYPE_DATE
-
MYSQL_TYPE_TIME
-
MYSQL_TYPE_DATETIME
-
MYSQL_TYPE_YEAR
-
MYSQL_TYPE_NEWDATE
-
MYSQL_TYPE_VARCHAR
-
MYSQL_TYPE_BIT
-
MYSQL_TYPE_TIMESTAMP2
-
MYSQL_TYPE_DATETIME2
-
MYSQL_TYPE_TIME2
-
MySQL_TYPE_JSON
Do not describe in document, but actual exist. -
MYSQL_TYPE_NEWDECIMAL
-
MYSQL_TYPE_ENUM
-
MYSQL_TYPE_SET
-
MYSQL_TYPE_TINY_BLOB
-
MYSQL_TYPE_MEDIUM_BLOB
-
MYSQL_TYPE_LONG_BLOB
-
MYSQL_TYPE_BLOB
-
MYSQL_TYPE_VAR_STRING
-
MYSQL_TYPE_STRING
-
MYSQL_TYPE_GEOMETRY
-
-
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
-
valueOfJDBCType
Value of JDBC type.- Parameters:
jdbcType- JDBC type- Returns:
- column type enum
-
valueOf
Value of.- Parameters:
value- value- Returns:
- column type
-