类 SqlBeanMapper<T>
java.lang.Object
cn.vonce.sql.mapper.BaseMapper<android.database.Cursor>
cn.vonce.sql.android.mapper.SqlBeanMapper<T>
- 所有已实现的接口:
RowMapper<T>
public class SqlBeanMapper<T>
extends cn.vonce.sql.mapper.BaseMapper<android.database.Cursor>
implements RowMapper<T>
SqlBean 结果映射
- 作者:
- Jovi
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明baseHandleResultSet(cn.vonce.sql.mapper.ResultSetDelegate<android.database.Cursor> resultSetDelegate) getColumnNameList(cn.vonce.sql.mapper.ResultSetDelegate<android.database.Cursor> resultSetDelegate) getDefaultValueByColumnType(int jdbcType) 获取基本类型默认值getValue(int jdbcType, int index, android.database.Cursor cursor) 获取该字段对应的值getValue(Field field, String columnName, cn.vonce.sql.mapper.ResultSetDelegate<android.database.Cursor> resultSetDelegate) getValue(String jdbcType, int index, cn.vonce.sql.mapper.ResultSetDelegate<android.database.Cursor> resultSetDelegate) mapHandleResultSet(cn.vonce.sql.mapper.ResultSetDelegate<android.database.Cursor> resultSetDelegate) mapRow(cn.vonce.sql.mapper.ResultSetDelegate<android.database.Cursor> resultSetDelegate, int index) 从类继承的方法 cn.vonce.sql.mapper.BaseMapper
beanHandleResultSet, getDefaultValueByColumnType, setFieldValue
-
字段详细资料
-
clazz
-
returnType
-
-
构造器详细资料
-
SqlBeanMapper
-
-
方法详细资料
-
getColumnNameList
public List<String> getColumnNameList(cn.vonce.sql.mapper.ResultSetDelegate<android.database.Cursor> resultSetDelegate) - 指定者:
getColumnNameList在类中cn.vonce.sql.mapper.BaseMapper<android.database.Cursor>
-
mapRow
public T mapRow(cn.vonce.sql.mapper.ResultSetDelegate<android.database.Cursor> resultSetDelegate, int index) -
baseHandleResultSet
public Object baseHandleResultSet(cn.vonce.sql.mapper.ResultSetDelegate<android.database.Cursor> resultSetDelegate) - 指定者:
baseHandleResultSet在类中cn.vonce.sql.mapper.BaseMapper<android.database.Cursor>
-
mapHandleResultSet
public Object mapHandleResultSet(cn.vonce.sql.mapper.ResultSetDelegate<android.database.Cursor> resultSetDelegate) - 指定者:
mapHandleResultSet在类中cn.vonce.sql.mapper.BaseMapper<android.database.Cursor>
-
getValue
public Object getValue(Field field, String columnName, cn.vonce.sql.mapper.ResultSetDelegate<android.database.Cursor> resultSetDelegate) - 指定者:
getValue在类中cn.vonce.sql.mapper.BaseMapper<android.database.Cursor>
-
getValue
public Object getValue(String jdbcType, int index, cn.vonce.sql.mapper.ResultSetDelegate<android.database.Cursor> resultSetDelegate) - 指定者:
getValue在类中cn.vonce.sql.mapper.BaseMapper<android.database.Cursor>
-
getValue
获取该字段对应的值- 参数:
jdbcType-index-cursor-- 返回:
-
getDefaultValueByColumnType
获取基本类型默认值- 参数:
jdbcType-- 返回:
-