| Modifier and Type | Field and Description |
|---|---|
static String |
ARRAY
The string representation of the
Types.ARRAY constant. |
static String |
BIGINT
The string representation of the
Types.BIGINT constant. |
static String |
BINARY
The string representation of the
Types.BINARY constant. |
static String |
BIT
The string representation of the
Types.BIT constant. |
static String |
BLOB
The string representation of the
Types.BLOB constant. |
static String |
BOOLEAN
The string representation of the
Types.BOOLEAN constant. |
static String |
CHAR
The string representation of the
Types.CHAR constant. |
static String |
CLOB
The string representation of the
Types.CLOB constant. |
static String |
DATALINK
The string representation of the
Types.DATALINK constant. |
static String |
DATE
The string representation of the
Types.DATE constant. |
static String |
DECIMAL
The string representation of the
Types.DECIMAL constant. |
static String |
DISTINCT
The string representation of the
Types.DISTINCT constant. |
static String |
DOUBLE
The string representation of the
Types.DOUBLE constant. |
static String |
FLOAT
The string representation of the
Types.FLOAT constant. |
static String |
INTEGER
The string representation of the
Types.INTEGER constant. |
static String |
JAVA_OBJECT
The string representation of the
Types.JAVA_OBJECT constant. |
static String |
LONGVARBINARY
The string representation of the
Types.LONGVARBINARY constant. |
static String |
LONGVARCHAR
The string representation of the
Types.LONGVARCHAR constant. |
static String |
NULL
The string representation of the
Types.NULL constant. |
static String |
NUMERIC
The string representation of the
Types.NUMERIC constant. |
static String |
OTHER
The string representation of the
Types.OTHER constant. |
static String |
REAL
The string representation of the
Types.REAL constant. |
static String |
REF
The string representation of the
Types.REF constant. |
static String |
SMALLINT
The string representation of the
Types.SMALLINT constant. |
static String |
STRUCT
The string representation of the
Types.STRUCT constant. |
static String |
TIME
The string representation of the
Types.TIME constant. |
static String |
TIMESTAMP
The string representation of the
Types.TIMESTAMP constant. |
static String |
TINYINT
The string representation of the
Types.TINYINT constant. |
static String |
VARBINARY
The string representation of the
Types.VARBINARY constant. |
static String |
VARCHAR
The string representation of the
Types.VARCHAR constant. |
| Constructor and Description |
|---|
TypeMap() |
| Modifier and Type | Method and Description |
|---|---|
static Integer |
getJdbcTypeCode(String typeName)
Returns the JDBC type code (one of the
Types constants) that
corresponds to the given JDBC type name. |
static String |
getJdbcTypeName(int typeCode)
Returns the JDBC type name that corresponds to the given type code
(one of the
Types constants). |
static int[] |
getSuportedJdbcTypes()
Returns all supported JDBC types.
|
static boolean |
isBinaryType(int jdbcTypeCode)
Determines whether the given jdbc type (one of the
Types constants)
is a binary type. |
static boolean |
isDateTimeType(int jdbcTypeCode)
Determines whether the given jdbc type (one of the
Types constants)
is a date/time type. |
static boolean |
isNumericType(int jdbcTypeCode)
Determines whether the given jdbc type (one of the
Types constants)
is a numeric type. |
static boolean |
isSpecialType(int jdbcTypeCode)
Determines whether the given sql type (one of the
Types constants)
is a special type. |
static boolean |
isTextType(int jdbcTypeCode)
Determines whether the given jdbc type (one of the
Types constants)
is a text type. |
static void |
registerJdbcType(int typeCode,
String typeName,
JdbcTypeCategoryEnum category)
Registers a jdbc type.
|
public static final String ARRAY
Types.ARRAY constant.public static final String BIGINT
Types.BIGINT constant.public static final String BINARY
Types.BINARY constant.public static final String BIT
Types.BIT constant.public static final String BLOB
Types.BLOB constant.public static final String BOOLEAN
Types.BOOLEAN constant.public static final String CHAR
Types.CHAR constant.public static final String CLOB
Types.CLOB constant.public static final String DATALINK
Types.DATALINK constant.public static final String DATE
Types.DATE constant.public static final String DECIMAL
Types.DECIMAL constant.public static final String DISTINCT
Types.DISTINCT constant.public static final String DOUBLE
Types.DOUBLE constant.public static final String FLOAT
Types.FLOAT constant.public static final String INTEGER
Types.INTEGER constant.public static final String JAVA_OBJECT
Types.JAVA_OBJECT constant.public static final String LONGVARBINARY
Types.LONGVARBINARY constant.public static final String LONGVARCHAR
Types.LONGVARCHAR constant.public static final String NULL
Types.NULL constant.public static final String NUMERIC
Types.NUMERIC constant.public static final String OTHER
Types.OTHER constant.public static final String REAL
Types.REAL constant.public static final String REF
Types.REF constant.public static final String SMALLINT
Types.SMALLINT constant.public static final String STRUCT
Types.STRUCT constant.public static final String TIME
Types.TIME constant.public static final String TIMESTAMP
Types.TIMESTAMP constant.public static final String TINYINT
Types.TINYINT constant.public static final String VARBINARY
Types.VARBINARY constant.public static final String VARCHAR
Types.VARCHAR constant.public static int[] getSuportedJdbcTypes()
Types constants)public static Integer getJdbcTypeCode(String typeName)
Types constants) that
corresponds to the given JDBC type name.typeName - The JDBC type name (case is ignored)null if the type is unknownpublic static String getJdbcTypeName(int typeCode)
Types constants).typeCode - The type codenull if the type is unknownpublic static void registerJdbcType(int typeCode,
String typeName,
JdbcTypeCategoryEnum category)
typeCode - The type code (one of the Types constants)typeName - The type name (case is ignored)category - The type categorypublic static boolean isNumericType(int jdbcTypeCode)
Types constants)
is a numeric type.jdbcTypeCode - The type codetrue if the type is a numeric onepublic static boolean isDateTimeType(int jdbcTypeCode)
Types constants)
is a date/time type.jdbcTypeCode - The type codetrue if the type is a numeric onepublic static boolean isTextType(int jdbcTypeCode)
Types constants)
is a text type.jdbcTypeCode - The type codetrue if the type is a text onepublic static boolean isBinaryType(int jdbcTypeCode)
Types constants)
is a binary type.jdbcTypeCode - The type codetrue if the type is a binary onepublic static boolean isSpecialType(int jdbcTypeCode)
Types constants)
is a special type.jdbcTypeCode - The type codetrue if the type is a special oneCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.