类 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
  • 字段详细资料

    • clazz

      public Class<?> clazz
    • returnType

      public Class<?> returnType
  • 构造器详细资料

    • SqlBeanMapper

      public SqlBeanMapper(Class<?> clazz, Class<?> returnType)
  • 方法详细资料

    • 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)
      指定者:
      mapRow 在接口中 RowMapper<T>
    • 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

      public Object getValue(int jdbcType, int index, android.database.Cursor cursor)
      获取该字段对应的值
      参数:
      jdbcType -
      index -
      cursor -
      返回:
    • getDefaultValueByColumnType

      public Object getDefaultValueByColumnType(int jdbcType)
      获取基本类型默认值
      参数:
      jdbcType -
      返回: