org.d2rq.db.types
Enum DataType.GenericType
java.lang.Object
java.lang.Enum<DataType.GenericType>
org.d2rq.db.types.DataType.GenericType
- All Implemented Interfaces:
- Serializable, Comparable<DataType.GenericType>
- Enclosing class:
- DataType
public static enum DataType.GenericType
- extends Enum<DataType.GenericType>
CHARACTER
public static final DataType.GenericType CHARACTER
BINARY
public static final DataType.GenericType BINARY
NUMERIC
public static final DataType.GenericType NUMERIC
BOOLEAN
public static final DataType.GenericType BOOLEAN
DATE
public static final DataType.GenericType DATE
TIME
public static final DataType.GenericType TIME
TIMESTAMP
public static final DataType.GenericType TIMESTAMP
INTERVAL
public static final DataType.GenericType INTERVAL
BIT
public static final DataType.GenericType BIT
values
public static DataType.GenericType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (DataType.GenericType c : DataType.GenericType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static DataType.GenericType valueOf(String name)
- 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 name
NullPointerException
- if the argument is null
dataTypeFor
public DataType dataTypeFor(Vendor vendor)