|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectjava.lang.Enum
com.ibm.pdq.runtime.statement.JavaType
public final class JavaType
The JavaType is an enum that represents the various Java Types (which are implementations of Type) that may be used.
Type, Serialized Form| Data Type | Field Name and Description |
|---|---|
static JavaType |
ARRAYRepresent any Java Type that is an array. |
static JavaType |
BEANRepresents a pureQuery Bean. |
static JavaType |
BIGDECIMALRepresents the Java Type BigDecimal. |
static JavaType |
BLOBRepresents the Java Type Blob. |
static JavaType |
BOOLEANRepresents the Java Type Boolean. |
static JavaType |
BYTERepresents the Java Type Byte. |
static JavaType |
BYTE_ARRAYRepresents the Java Type Byte[]. |
static JavaType |
CHARACTERRepresents the Java Type Character. |
static JavaType |
CLOBRepresents the Java Type Clob. |
static JavaType |
COLLECTIONRepresents the Java Type Collection. |
static JavaType |
DATERepresents the Java Type Date. |
static JavaType |
DIRECT_JDBC_SETTABLERepresents any Java Type that can be used in a JDBC RowSet setXXX method (such as RowSet.setArray(int,
java.sql.Array), RowSet.setBoolean(int, boolean), or RowSet.setString(int,
String)). |
static JavaType |
DOUBLERepresents the Java Type Double. |
static JavaType |
FLOATRepresents the Java Type Float. |
static JavaType |
INPUTSTREAMRepresents the Java Type InputStream. |
static JavaType |
INTEGERRepresents the Java Type Integer. |
static JavaType |
ITERABLERepresents the Java Type Iterable. |
static JavaType |
ITERATORRepresents the Java Type Iterator. |
static JavaType |
LISTRepresents the Java Type List. |
static JavaType |
LONGRepresents the Java Type Long. |
static JavaType |
MAPRepresents either the Java Type Map or
the Java Type HashMap. |
static JavaType |
OBJECTRepresents the Java Type Object. |
static JavaType |
READERRepresents the Java Type Reader. |
static JavaType |
SETRepresents the Java Type Set. |
static JavaType |
SHORTRepresents the Java Type Short. |
static JavaType |
SIMPLERepresents any Java Type that is not any type of a collection. |
static JavaType |
SIMPLE_BOOLEANRepresents the Java primitive Type boolean. |
static JavaType |
SIMPLE_BYTERepresents the Java primitive Type byte. |
static JavaType |
SIMPLE_BYTE_ARRAYRepresents the Java primitive Type byte[]. |
static JavaType |
SIMPLE_CHARRepresents the Java primitive Type char. |
static JavaType |
SIMPLE_DOUBLERepresents the Java primitive Type double. |
static JavaType |
SIMPLE_FLOATRepresents the Java primitive Type float. |
static JavaType |
SIMPLE_INTEGERRepresents the Java primitive Type int. |
static JavaType |
SIMPLE_LONGRepresents the Java primitive Type long. |
static JavaType |
SIMPLE_SHORTRepresents the Java primitive Type short. |
static JavaType |
STRINGRepresents the Java Type String. |
static JavaType |
TIMERepresents the Java Type Time. |
static JavaType |
TIMESTAMPRepresents the Java Type Timestamp. |
static JavaType |
UNKNOWNIndicates an unrecognized Java Type. |
static JavaType |
UNKNOWN_UNTIL_RUNTIMEIndicates that the Java Type cannot be determined until runtime. |
static JavaType |
VOIDRepresents the Java return Type of void. |
| Return Data Type | Method Name and Description |
|---|---|
static JavaType |
valueOf(String name) |
static JavaType[] |
values() |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
|---|
public static final JavaType ARRAY
Type that is an array.public static final JavaType BEAN
public static final JavaType BIGDECIMAL
Type BigDecimal.public static final JavaType BLOB
Type Blob.public static final JavaType BOOLEAN
Type Boolean. Note that
this is not the same as the Java primitive Type boolean.public static final JavaType BYTE
Type Byte. Note that this
is not the same as the Java primitive Type byte.public static final JavaType BYTE_ARRAY
Type Byte[]. Note that
the base class of this array is not the same as the Java primitive Type byte.public static final JavaType CHARACTER
Type Character. Note
that this is not the same as the Java primitive Type char.public static final JavaType CLOB
Type Clob.public static final JavaType COLLECTION
Type Collection.public static final JavaType DATE
Type Date.public static final JavaType DIRECT_JDBC_SETTABLE
Type that can be used in a JDBC RowSet setXXX method (such as RowSet.setArray(int, java.sql.Array),
RowSet.setBoolean(int, boolean), or
RowSet.setString(int,
String)).public static final JavaType DOUBLE
Type Double. Note that
this is not the same as the Java primitive Type double.public static final JavaType FLOAT
Type Float. Note that this
is not the same as the Java primitive Type float.public static final JavaType INPUTSTREAM
Type InputStream.public static final JavaType INTEGER
Type Integer. Note that
this is not the same as the Java primitive Type int.public static final JavaType ITERABLE
Type Iterable.public static final JavaType ITERATOR
Type Iterator.public static final JavaType LIST
Type List.public static final JavaType LONG
Type Long. Note that this
is not the same as the Java primitive Type long.public static final JavaType MAP
Type Map or the Java
Type HashMap.public static final JavaType OBJECT
Type Object. Note that
this only represents exactly Object (and therefore it does not represent classes that extend Object).public static final JavaType READER
Type Reader.public static final JavaType SET
Type Set.public static final JavaType SHORT
Type Short. Note that this
is not the same as the Java primitive Type short.public static final JavaType SIMPLE
Type that is not any type of a collection. Therefore, for example, the Type will not be an instance of Iterator, Iterable, or List, and it will not be an array.public static final JavaType SIMPLE_BOOLEAN
Type boolean.public static final JavaType SIMPLE_BYTE
Type byte.public static final JavaType SIMPLE_BYTE_ARRAY
Type byte[].public static final JavaType SIMPLE_CHAR
Type char.public static final JavaType SIMPLE_DOUBLE
Type double.public static final JavaType SIMPLE_FLOAT
Type float.public static final JavaType SIMPLE_INTEGER
Type int.public static final JavaType SIMPLE_LONG
Type long.public static final JavaType SIMPLE_SHORT
Type short.public static final JavaType STRING
Type String.public static final JavaType TIME
Type Time.public static final JavaType TIMESTAMP
Type Timestamp.public static final JavaType UNKNOWN
Type.public static final JavaType UNKNOWN_UNTIL_RUNTIME
Type cannot be determined until runtime. The type may be, for example, a Type that will be described in a Map at runtime.public static final JavaType VOID
Type of void.Method Detail |
|---|
public static JavaType valueOf(String name)
public static final JavaType[] values()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||