public static enum MySQLType.Type extends Enum<MySQLType.Type>
| Enum Constant and Description |
|---|
BIT |
BLOB |
CLOB |
DATE |
DATETIME |
DECIMAL |
DOUBLE |
ENUM |
FLOAT |
INT24 |
LONG |
LONGLONG |
MAX |
NEWDECIMAL |
NULL |
SET |
SHORT |
TIME |
TIMESTAMP |
TINY |
VARCHAR |
YEAR |
| Modifier and Type | Method and Description |
|---|---|
Class |
getDataType() |
int |
getSqlType() |
static MySQLType.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MySQLType.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MySQLType.Type DECIMAL
public static final MySQLType.Type TINY
public static final MySQLType.Type SHORT
public static final MySQLType.Type LONG
public static final MySQLType.Type FLOAT
public static final MySQLType.Type DOUBLE
public static final MySQLType.Type NULL
public static final MySQLType.Type TIMESTAMP
public static final MySQLType.Type LONGLONG
public static final MySQLType.Type INT24
public static final MySQLType.Type DATETIME
public static final MySQLType.Type DATE
public static final MySQLType.Type TIME
public static final MySQLType.Type YEAR
public static final MySQLType.Type BIT
public static final MySQLType.Type VARCHAR
public static final MySQLType.Type NEWDECIMAL
public static final MySQLType.Type ENUM
public static final MySQLType.Type SET
public static final MySQLType.Type BLOB
public static final MySQLType.Type MAX
public static final MySQLType.Type CLOB
public static MySQLType.Type[] values()
for (MySQLType.Type c : MySQLType.Type.values()) System.out.println(c);
public static MySQLType.Type 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 nullpublic Class getDataType()
public int getSqlType()
Copyright © 2016. All rights reserved.