public abstract class MapperParameter extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected String |
annoParam |
protected boolean |
firstRoot |
protected Method |
m |
protected String[] |
paramsName |
| 构造器和说明 |
|---|
MapperParameter(Method m) |
MapperParameter(Method m,
String annoParam) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
addRoot(Map para,
Object firstPara) |
protected Map |
buildByParam(Object[] array)
如果配置的有annoParam
|
protected String[] |
checkFirst(Method m) |
abstract Object |
get(Object[] array)
根据mapper参数获取sqlmanager相应方法的参数
|
protected String[] |
getGeneralName(int start) |
protected String[] |
getJDK8ParaName(int start) |
protected String[] |
getParaName(int start) |
protected String |
getParaNameByAnnation(Annotation[] annons) |
protected boolean |
isRoot(Class c) |
protected String annoParam
protected Method m
protected String[] paramsName
protected boolean firstRoot
public MapperParameter(Method m)
protected Map buildByParam(Object[] array)
array - SqlStatement.params()protected String[] getParaName(int start)
protected String[] getJDK8ParaName(int start)
protected String[] getGeneralName(int start)
protected String getParaNameByAnnation(Annotation[] annons)
protected boolean isRoot(Class c)
Copyright © 2019. All rights reserved.