N - the number typepublic class NumberArrayJavaSqlTypeMapper<N extends java.lang.Number> extends AbstractGenericJavaSqlTypeMapper<N[]>
| 构造器和说明 |
|---|
NumberArrayJavaSqlTypeMapper(java.lang.Class<N> numberType)
Instantiates a new platform array java sql type mapper.
|
| 限定符和类型 | 方法和说明 |
|---|---|
N[] |
get(java.sql.ResultSet rs,
int columnIndex)
Gets the.
|
void |
set(java.sql.PreparedStatement prep,
int parameterIndex,
N[] values)
Sets the value.
|
boolean |
support(cn.featherfly.common.lang.GenericType<N[]> type)
Support.
|
boolean |
support(java.sql.SQLType sqlType)
Support.
|
addAllow, addDeny, getGenericType, getJavaType, setGenericType, supportpublic NumberArrayJavaSqlTypeMapper(java.lang.Class<N> numberType)
numberType - the number typepublic boolean support(java.sql.SQLType sqlType)
support 在类中 AbstractJavaSqlTypeMapper<N extends java.lang.Number[]>sqlType - the sql typepublic boolean support(cn.featherfly.common.lang.GenericType<N[]> type)
support 在接口中 JavaSqlTypeMapper<N extends java.lang.Number[]>support 在类中 AbstractJavaSqlTypeMapper<N extends java.lang.Number[]>type - the typepublic void set(java.sql.PreparedStatement prep,
int parameterIndex,
N[] values)
prep - the prepparameterIndex - the parameter indexvalues - the valuepublic N[] get(java.sql.ResultSet rs, int columnIndex)
rs - the rscolumnIndex - the column index