| 限定符和类型 | 字段和说明 |
|---|---|
Class<?> |
clazz |
Class<?> |
returnType |
| 构造器和说明 |
|---|
SqlBeanMapper(Class<?> clazz,
Class<?> returnType) |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
baseHandleResultSet(AutoCloseable baseResult) |
List<String> |
getColumnNameList(AutoCloseable baseResult) |
Object |
getDefaultValueByColumnType(int jdbcType)
获取基本类型默认值
|
Object |
getValue(int jdbcType,
int index,
android.database.Cursor cursor)
获取该字段对应的值
|
Object |
getValue(String jdbcType,
int index,
AutoCloseable baseResult) |
Object |
getValue(String fieldType,
String fieldName,
AutoCloseable baseResult) |
Object |
mapHandleResultSet(AutoCloseable baseResult) |
T |
mapRow(android.database.Cursor cursor,
int index) |
public List<String> getColumnNameList(AutoCloseable baseResult)
getColumnNameList 在类中 cn.vonce.sql.mapper.BaseMapperpublic Object baseHandleResultSet(AutoCloseable baseResult)
baseHandleResultSet 在类中 cn.vonce.sql.mapper.BaseMapperpublic Object mapHandleResultSet(AutoCloseable baseResult)
mapHandleResultSet 在类中 cn.vonce.sql.mapper.BaseMapperpublic Object getValue(String fieldType, String fieldName, AutoCloseable baseResult)
getValue 在类中 cn.vonce.sql.mapper.BaseMapperpublic Object getValue(String jdbcType, int index, AutoCloseable baseResult)
getValue 在类中 cn.vonce.sql.mapper.BaseMapperpublic Object getValue(int jdbcType, int index, android.database.Cursor cursor)
jdbcType - index - cursor - public Object getDefaultValueByColumnType(int jdbcType)
jdbcType - Copyright © 2023. All rights reserved.