public class AutoJsonMapper extends JsonConfigMapper
| 限定符和类型 | 字段和说明 |
|---|---|
protected static Map<org.beetl.sql.core.mapping.join.AutoJsonMapper.AutoKey,AttrNode> |
cache |
sqlIdCache| 构造器和说明 |
|---|
AutoJsonMapper() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
getMappingByJson(String prefix,
NameConversion nc,
Map<String,Object> configMap,
Class target) |
protected String |
getPrefix(String prefix,
String col) |
protected AttrNode |
parse(ExecuteContext ctx,
Class target,
ResultSetMetaData rsmd,
Annotation config)
子类继承,根据映射配置获得一个树结构,需要考虑缓存以避免每次解析
|
getConfig, getConfigStr, getMappingByJsongetColumnIndex, mappingprotected AttrNode parse(ExecuteContext ctx, Class target, ResultSetMetaData rsmd, Annotation config) throws Exception
ConfigJoinMapperparse 在类中 JsonConfigMapperSQLExceptionExceptionprotected void getMappingByJson(String prefix, NameConversion nc, Map<String,Object> configMap, Class target) throws IntrospectionException
Copyright © 2021. All rights reserved.