public enum SqlType extends Enum<SqlType>
NOTE: If you add types here you will need to add to the various DatabaseType implementors' appendColumnArg() method.
Enum Constant and Description |
---|
BIG_DECIMAL |
BLOB |
BOOLEAN |
BYTE |
BYTE_ARRAY |
CHAR |
DATE |
DOUBLE |
FLOAT |
INTEGER |
LONG |
LONG_STRING |
OTHER |
SERIALIZABLE |
SHORT |
STRING |
UNKNOWN |
UUID
for native database UUIDs, not to be confused with Java's UUID
|
Modifier and Type | Method and Description |
---|---|
static SqlType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SqlType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SqlType STRING
public static final SqlType LONG_STRING
public static final SqlType DATE
public static final SqlType BOOLEAN
public static final SqlType CHAR
public static final SqlType BYTE
public static final SqlType BYTE_ARRAY
public static final SqlType SHORT
public static final SqlType INTEGER
public static final SqlType LONG
public static final SqlType FLOAT
public static final SqlType DOUBLE
public static final SqlType SERIALIZABLE
public static final SqlType BLOB
public static final SqlType BIG_DECIMAL
public static final SqlType UUID
public static final SqlType OTHER
public static final SqlType UNKNOWN
public static SqlType[] values()
for (SqlType c : SqlType.values()) System.out.println(c);
public static SqlType 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 nullThis documentation is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.