|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjet.server.api.db.JDBCType
public final class JDBCType
Class JDBCType
defines all JDBC types
Field Summary | |
---|---|
static JDBCType |
ARRAY
The constant referred to as a type code, that identifies the generic SQL type ARRAY. |
static JDBCType |
BIGINT
The constant referred to as a type code, that identifies the generic SQL type BIGINT. |
static JDBCType |
BINARY
The constant referred to as a type code, that identifies the generic SQL type BINARY. |
static JDBCType |
BIT
The constant referred to as a type code, that identifies the generic SQL type BIT. |
static JDBCType |
BLOB
The constant referred to as a type code, that identifies the generic SQL type BLOB. |
static JDBCType |
BOOLEAN
The constant referred to as a type code, that identifies the generic SQL type BOOLEAN. |
static JDBCType |
CHAR
The constant referred to as a type code, that identifies the generic SQL type CHAR. |
static JDBCType |
CLOB
The constant referred to as a type code, that identifies the generic SQL type CLOB. |
static JDBCType |
DATALINK
The constant referred to as a type code, that identifies the generic SQL type DATALINK. |
static JDBCType |
DATE
The constant referred to as a type code, that identifies the generic SQL type DATE. |
static JDBCType |
DECIMAL
The constant referred to as a type code, that identifies the generic SQL type DECIMAL. |
static JDBCType |
DISTINCT
The constant referred to as a type code, that identifies the generic SQL type DISTINCT. |
static JDBCType |
DOUBLE
The constant referred to as a type code, that identifies the generic SQL type DOUBLE. |
static JDBCType |
FLOAT
The constant referred to as a type code, that identifies the generic SQL type FLOAT. |
static JDBCType |
INTEGER
The constant referred to as a type code, that identifies the generic SQL type INTEGER. |
static JDBCType |
JAVA_OBJECT
The constant referred to as a type code, that identifies the generic SQL type JAVA_OBJECT. |
static JDBCType |
LONGVARBINARY
The constant referred to as a type code, that identifies the generic SQL type LONGVARBINARY. |
static JDBCType |
LONGVARCHAR
The constant referred to as a type code, that identifies the generic SQL type LONGVARCHAR. |
static JDBCType |
NULL
The constant referred to as a type code, that identifies the generic SQL type NULL. |
static JDBCType |
NUMERIC
The constant referred to as a type code, that identifies the generic SQL type NUMERIC. |
static JDBCType |
OTHER
The constant referred to as a type code, that identifies the generic SQL type OTHER. |
static JDBCType |
REAL
The constant referred to as a type code, that identifies the generic SQL type REAL. |
static JDBCType |
REF
The constant referred to as a type code, that identifies the generic SQL type REF. |
static JDBCType |
SMALLINT
The constant referred to as a type code, that identifies the generic SQL type SMALLINT. |
static JDBCType |
STRUCT
The constant referred to as a type code, that identifies the generic SQL type STRUCT. |
static JDBCType |
TIME
The constant referred to as a type code, that identifies the generic SQL type TIME. |
static JDBCType |
TIMESTAMP
The constant referred to as a type code, that identifies the generic SQL type TIMESTAMP. |
static JDBCType |
TINYINT
The constant referred to as a type code, that identifies the generic SQL type TINYINT. |
static JDBCType |
VARBINARY
The constant referred to as a type code, that identifies the generic SQL type VARBINARY. |
static JDBCType |
VARCHAR
The constant referred to as a type code, that identifies the generic SQL type VARCHAR. |
Method Summary | |
---|---|
int |
dataType()
Gets the type value defined in java.sql.Types of the JDBCType. |
boolean |
equals(java.lang.Object obj)
Compares this object to the specified object. |
static JDBCType |
getJDBCType(int type)
Returns a JDBCType object of specified jdbc type. |
int |
hashCode()
Returns a hash code for this jdbc type object. |
static boolean |
isSupported(int type)
Returns if specified jdbc type is support. |
static boolean |
isSupported(java.lang.String type)
Returns if specified jdbc type is support. |
boolean |
isVariationalSize()
Checks if the jdbc type is variation size. |
static int |
toInteger(java.lang.String type)
Returns a Int value of specified jdbc type. |
java.lang.String |
toString()
Returns a string representation of the object. |
static java.lang.String |
toString(int type)
Returns a String object of specified jdbc type. |
java.lang.String |
typeName()
Gets the type name of JDBCType. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final JDBCType BIT
public static final JDBCType TINYINT
public static final JDBCType SMALLINT
public static final JDBCType INTEGER
public static final JDBCType BIGINT
public static final JDBCType FLOAT
public static final JDBCType REAL
public static final JDBCType DOUBLE
public static final JDBCType NUMERIC
public static final JDBCType DECIMAL
public static final JDBCType CHAR
public static final JDBCType VARCHAR
public static final JDBCType LONGVARCHAR
public static final JDBCType DATE
public static final JDBCType TIME
public static final JDBCType TIMESTAMP
public static final JDBCType BINARY
public static final JDBCType VARBINARY
public static final JDBCType LONGVARBINARY
public static final JDBCType NULL
public static final JDBCType OTHER
public static final JDBCType JAVA_OBJECT
public static final JDBCType DISTINCT
public static final JDBCType STRUCT
public static final JDBCType ARRAY
public static final JDBCType BLOB
public static final JDBCType CLOB
public static final JDBCType REF
public static final JDBCType DATALINK
public static final JDBCType BOOLEAN
Method Detail |
---|
public static final java.lang.String toString(int type)
type
- specified jdbc type.
public static final int toInteger(java.lang.String type)
type
- specified jdbc type.
public static final boolean isSupported(int type)
type
- specified jdbc type of int type.
public static final boolean isSupported(java.lang.String type)
type
- specified jdbc type of string type.
public static final JDBCType getJDBCType(int type)
type
- int value of specified jdbc type.
public java.lang.String typeName()
public final int dataType()
java.sql.Types#
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
-
public int hashCode()
hashCode
in class java.lang.Object
public boolean isVariationalSize()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |