public static enum JavaTypes.Type extends Enum<JavaTypes.Type>
Enum Constant and Description |
---|
ARRAY
Corresponds to
java.sql.Array |
BIG_DECIMAL
Corresponds to
java.math.BigDecimal |
BLOB
Corresponds to
java.sql.Blob |
BOOLEAN
Corresponds to
java.lang.Boolean |
BOOLEAN_ARRAY
Corresponds to
boolean[] |
BYTE
Corresponds to
java.lang.Byte |
BYTE_ARRAY
Corresponds to
byte[] |
CHARACTER
Corresponds to
java.lang.Character |
CLOB
Corresponds to
java.sql.Clob |
DATE
Corresponds to
java.sql.Date |
DOUBLE
Corresponds to
java.lang.Double |
DOUBLE_ARRAY
Corresponds to
double[] |
FLOAT
Corresponds to
java.lang.Float |
INT_ARRAY
Corresponds to
int[] |
INTEGER
Corresponds to
java.lang.Integer |
LONG
Corresponds to
java.lang.Long |
LONG_ARRAY
Corresponds to
long[] |
REF
Corresponds to
java.sql.Ref |
SHORT
Corresponds to
java.lang.Short |
STRING
Corresponds to
java.lang.String |
STRING_ARRAY
Corresponds to
java.lang.String[] |
STRUCT
Corresponds to
java.sql.Struct |
TIME
Corresponds to
java.sql.Time |
TIMESTAMP
Corresponds to
java.sql.Timestamp |
UNKNOWN
Corresponds to
java.lang.Object |
Modifier and Type | Method and Description |
---|---|
String |
getClassName()
Returns the class name of this Java type.
|
int |
getCode()
Returns the code of this Java type.
|
Class<?> |
getJavaClass()
Returns the class of this Java type.
|
static JavaTypes.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JavaTypes.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JavaTypes.Type UNKNOWN
java.lang.Object
public static final JavaTypes.Type BOOLEAN
java.lang.Boolean
public static final JavaTypes.Type BYTE
java.lang.Byte
public static final JavaTypes.Type SHORT
java.lang.Short
public static final JavaTypes.Type INTEGER
java.lang.Integer
public static final JavaTypes.Type LONG
java.lang.Long
public static final JavaTypes.Type FLOAT
java.lang.Float
public static final JavaTypes.Type DOUBLE
java.lang.Double
public static final JavaTypes.Type BIG_DECIMAL
java.math.BigDecimal
public static final JavaTypes.Type CHARACTER
java.lang.Character
public static final JavaTypes.Type STRING
java.lang.String
public static final JavaTypes.Type TIME
java.sql.Time
public static final JavaTypes.Type DATE
java.sql.Date
public static final JavaTypes.Type TIMESTAMP
java.sql.Timestamp
public static final JavaTypes.Type CLOB
java.sql.Clob
public static final JavaTypes.Type BLOB
java.sql.Blob
public static final JavaTypes.Type ARRAY
java.sql.Array
public static final JavaTypes.Type STRUCT
java.sql.Struct
public static final JavaTypes.Type REF
java.sql.Ref
public static final JavaTypes.Type BYTE_ARRAY
byte[]
public static final JavaTypes.Type INT_ARRAY
int[]
public static final JavaTypes.Type LONG_ARRAY
long[]
public static final JavaTypes.Type DOUBLE_ARRAY
double[]
public static final JavaTypes.Type STRING_ARRAY
java.lang.String[]
public static final JavaTypes.Type BOOLEAN_ARRAY
boolean[]
public static JavaTypes.Type[] values()
for (JavaTypes.Type c : JavaTypes.Type.values()) System.out.println(c);
public static JavaTypes.Type 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 nullpublic int getCode()
public String getClassName()
public Class<?> getJavaClass()