public enum PrimitiveType extends java.lang.Enum<PrimitiveType>
Enum Constant and Description |
---|
BOOL |
DATE |
DOUBLE |
LONG |
STRING |
TIME |
TIMESTAMP |
Modifier and Type | Method and Description |
---|---|
static PrimitiveType |
fromString(java.lang.String in) |
static PrimitiveType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PrimitiveType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrimitiveType LONG
public static final PrimitiveType DOUBLE
public static final PrimitiveType STRING
public static final PrimitiveType BOOL
public static final PrimitiveType DATE
public static final PrimitiveType TIMESTAMP
public static final PrimitiveType TIME
public static PrimitiveType[] values()
for (PrimitiveType c : PrimitiveType.values()) System.out.println(c);
public static PrimitiveType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static PrimitiveType fromString(java.lang.String in) throws java.sql.SQLException
java.sql.SQLException