|
|||||||
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 Type
s (which are implementations of Type
) that may be used.
Type
, Serialized FormData Type | Field Name and Description |
---|---|
static JavaType |
ARRAY Represent any Java Type that is an array . |
static JavaType |
BEAN Represents a pureQuery Bean. |
static JavaType |
BIGDECIMAL Represents the Java Type BigDecimal . |
static JavaType |
BLOB Represents the Java Type Blob . |
static JavaType |
BOOLEAN Represents the Java Type Boolean . |
static JavaType |
BYTE Represents the Java Type Byte . |
static JavaType |
BYTE_ARRAY Represents the Java Type Byte[] . |
static JavaType |
CHARACTER Represents the Java Type Character . |
static JavaType |
CLOB Represents the Java Type Clob . |
static JavaType |
COLLECTION Represents the Java Type Collection . |
static JavaType |
DATE Represents the Java Type Date . |
static JavaType |
DIRECT_JDBC_SETTABLE Represents 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 |
DOUBLE Represents the Java Type Double . |
static JavaType |
FLOAT Represents the Java Type Float . |
static JavaType |
INPUTSTREAM Represents the Java Type InputStream . |
static JavaType |
INTEGER Represents the Java Type Integer . |
static JavaType |
ITERABLE Represents the Java Type Iterable . |
static JavaType |
ITERATOR Represents the Java Type Iterator . |
static JavaType |
LIST Represents the Java Type List . |
static JavaType |
LONG Represents the Java Type Long . |
static JavaType |
MAP Represents either the Java Type Map or
the Java Type HashMap . |
static JavaType |
OBJECT Represents the Java Type Object . |
static JavaType |
READER Represents the Java Type Reader . |
static JavaType |
SET Represents the Java Type Set . |
static JavaType |
SHORT Represents the Java Type Short . |
static JavaType |
SIMPLE Represents any Java Type that is not any type of a collection. |
static JavaType |
SIMPLE_BOOLEAN Represents the Java primitive Type boolean . |
static JavaType |
SIMPLE_BYTE Represents the Java primitive Type byte . |
static JavaType |
SIMPLE_BYTE_ARRAY Represents the Java primitive Type byte[] . |
static JavaType |
SIMPLE_CHAR Represents the Java primitive Type char . |
static JavaType |
SIMPLE_DOUBLE Represents the Java primitive Type double . |
static JavaType |
SIMPLE_FLOAT Represents the Java primitive Type float . |
static JavaType |
SIMPLE_INTEGER Represents the Java primitive Type int . |
static JavaType |
SIMPLE_LONG Represents the Java primitive Type long . |
static JavaType |
SIMPLE_SHORT Represents the Java primitive Type short . |
static JavaType |
STRING Represents the Java Type String . |
static JavaType |
TIME Represents the Java Type Time . |
static JavaType |
TIMESTAMP Represents the Java Type Timestamp . |
static JavaType |
UNKNOWN Indicates an unrecognized Java Type . |
static JavaType |
UNKNOWN_UNTIL_RUNTIME Indicates that the Java Type cannot be determined until runtime. |
static JavaType |
VOID Represents 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 |