接口 JavaSqlTypeMapper<E>
- 类型参数:
E- to regist java type
- 所有已知实现类:
AbstractBeanPropertyJavaSqlTypeMapper,AbstractGenericJavaSqlTypeMapper,AbstractJavaSqlTypeMapper,ObjectToJsonMapper
public interface JavaSqlTypeMapper<E>
SqlTypeToJavaRegister
.-
方法概要
修饰符和类型 方法 说明 Eget(java.sql.ResultSet rs, int columnIndex)Gets the.java.lang.Class<E>getJavaType(java.sql.SQLType sqlType)Gets the java type.java.sql.SQLTypegetSqlType(cn.featherfly.common.lang.GenericType<E> javaType)Gets the sql type.voidset(java.sql.PreparedStatement prep, int parameterIndex, E value)Sets the value.booleansupport(cn.featherfly.common.lang.GenericType<E> type)Support.booleansupport(java.sql.SQLType sqlType)Support.
-
方法详细资料
-
support
boolean support(java.sql.SQLType sqlType)Support.- 参数:
sqlType- the sql type- 返回:
- true, if successful
-
support
Support.- 参数:
type- the type- 返回:
- true, if successful
-
getJavaType
Gets the java type.- 参数:
sqlType- the sql type- 返回:
- the java type
-
getSqlType
Gets the sql type.- 参数:
javaType- the java type- 返回:
- the sql type
-
set
Sets the value.- 参数:
prep- the prepparameterIndex- the parameter indexvalue- the value
-
get
Gets the.- 参数:
rs- the rscolumnIndex- the column index- 返回:
- the e
-