public static class JDBCTypeSettings.TypeMapping
extends java.lang.Object
The following Java types are supported:
String
Integer
Long
Float
Double
com.spotfire.ws.dat.Date
com.spotfire.ws.dat.Time
com.spotfire.ws.dat.DateTime
Constructor and Description |
---|
TypeMapping(java.lang.Class javaType,
java.lang.String sqlType)
Creates a
TypeMapping instance. |
TypeMapping(java.lang.Class javaType,
java.lang.String sqlType,
int maxLength)
Creates a
TypeMapping instance. |
Modifier and Type | Method and Description |
---|---|
java.lang.Class |
getJavaType()
Returns the Java type.
|
int |
getMaxLength()
Returns the maximum length.
|
java.lang.String |
getSQLType()
Returns the SQL type.
|
public TypeMapping(java.lang.Class javaType, java.lang.String sqlType, int maxLength)
TypeMapping
instance.javaType
- a Java typesqlType
- a SQL typemaxLength
- maximim length for stringspublic TypeMapping(java.lang.Class javaType, java.lang.String sqlType)
TypeMapping
instance.javaType
- a Java typesqlType
- a SQL typepublic java.lang.Class getJavaType()
public java.lang.String getSQLType()
public int getMaxLength()
Copyright © 2000-2020 TIBCO Software Inc. All Rights Reserved.