public class MapperMethod extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
MapperMethod.ReturnType |
static class |
MapperMethod.SqlType |
| 构造器和说明 |
|---|
MapperMethod(MapperMethod.SqlType sqlType) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addSqlValue(SqlValue sqlValue) |
void |
buildExecutor() |
Object |
execute(Object target,
Object[] args) |
String |
getDataSourceTag() |
String |
getPreparedSql() |
Class<?> |
getReturnClass() |
MapperMethod.ReturnType |
getReturnType() |
MapperMethod.SqlType |
getSqlType() |
List<SqlValue> |
getSqlValues() |
void |
setDataSourceTag(String dataSourceTag) |
void |
setPreparedSql(String preparedSql) |
void |
setReturnClass(Class<?> returnClass) |
void |
setReturnType(MapperMethod.ReturnType returnType) |
public MapperMethod(MapperMethod.SqlType sqlType)
public MapperMethod.SqlType getSqlType()
public void setPreparedSql(String preparedSql)
public String getPreparedSql()
public void setReturnType(MapperMethod.ReturnType returnType)
public MapperMethod.ReturnType getReturnType()
public void setReturnClass(Class<?> returnClass)
public Class<?> getReturnClass()
public void addSqlValue(SqlValue sqlValue)
public void setDataSourceTag(String dataSourceTag)
public String getDataSourceTag()
public void buildExecutor()
Copyright © 2019. All rights reserved.