public enum SQLType extends Enum<SQLType>
| Enum Constant and Description |
|---|
BOOLEAN |
DATE |
FLOAT |
GEOMETRY |
INTEGER |
LONG |
SERIAL |
STRING |
TEXT |
TIME |
TIMESTAMP |
| 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 INTEGER
public static final SQLType LONG
public static final SQLType FLOAT
public static final SQLType DATE
public static final SQLType TIME
public static final SQLType TIMESTAMP
public static final SQLType TEXT
public static final SQLType STRING
public static final SQLType BOOLEAN
public static final SQLType GEOMETRY
public static final SQLType SERIAL
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 nullCopyright © 2015. All Rights Reserved.