public static enum DataType.GenericType extends Enum<DataType.GenericType>
Enum Constant and Description |
---|
BINARY |
BIT |
BOOLEAN |
CHARACTER |
DATE |
INTERVAL |
NUMERIC |
TIME |
TIMESTAMP |
Modifier and Type | Method and Description |
---|---|
DataType |
dataTypeFor(Vendor vendor) |
static DataType.GenericType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataType.GenericType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataType.GenericType CHARACTER
public static final DataType.GenericType BINARY
public static final DataType.GenericType NUMERIC
public static final DataType.GenericType BOOLEAN
public static final DataType.GenericType DATE
public static final DataType.GenericType TIME
public static final DataType.GenericType TIMESTAMP
public static final DataType.GenericType INTERVAL
public static final DataType.GenericType BIT
public static DataType.GenericType[] values()
for (DataType.GenericType c : DataType.GenericType.values()) System.out.println(c);
public static DataType.GenericType 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 null