public class MybatisStatementAdapter extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
MybatisStatementAdapter.Builder |
| 限定符 | 构造器和说明 |
|---|---|
protected |
MybatisStatementAdapter() |
|
MybatisStatementAdapter(org.apache.ibatis.builder.MapperBuilderAssistant assistant) |
| 限定符和类型 | 方法和说明 |
|---|---|
org.apache.ibatis.builder.MapperBuilderAssistant |
getAssistant() |
Integer |
getFetchSize() |
String |
getKeyColumn() |
org.apache.ibatis.executor.keygen.KeyGenerator |
getKeyGenerator() |
String |
getKeyProperty() |
org.apache.ibatis.scripting.LanguageDriver |
getLanguageDriver() |
String |
getMethodName() |
Class<?> |
getParameterTypeClass() |
String |
getResultMapId() |
org.apache.ibatis.mapping.ResultSetType |
getResultSetType() |
Class<?> |
getResultType() |
org.apache.ibatis.mapping.SqlCommandType |
getSqlCommandType() |
String |
getSqlScript() |
org.apache.ibatis.mapping.StatementType |
getStatementType() |
Integer |
getTimeout() |
void |
parseStatement()
创建mybatis statement,并向configuration中注册
|
void |
setAssistant(org.apache.ibatis.builder.MapperBuilderAssistant assistant) |
void |
setFetchSize(Integer fetchSize) |
void |
setKeyColumn(String keyColumn) |
void |
setKeyGenerator(org.apache.ibatis.executor.keygen.KeyGenerator keyGenerator) |
void |
setKeyProperty(String keyProperty) |
void |
setLanguageDriver(org.apache.ibatis.scripting.LanguageDriver languageDriver) |
void |
setMethodName(String methodName) |
void |
setParameterTypeClass(Class<?> parameterTypeClass) |
void |
setResultMapId(String resultMapId) |
void |
setResultSetType(org.apache.ibatis.mapping.ResultSetType resultSetType) |
void |
setResultType(Class<?> resultType) |
void |
setSqlCommandType(org.apache.ibatis.mapping.SqlCommandType sqlCommandType) |
void |
setSqlScript(String sqlScript) |
void |
setStatementType(org.apache.ibatis.mapping.StatementType statementType) |
void |
setTimeout(Integer timeout) |
protected MybatisStatementAdapter()
public MybatisStatementAdapter(org.apache.ibatis.builder.MapperBuilderAssistant assistant)
public final void parseStatement()
public org.apache.ibatis.builder.MapperBuilderAssistant getAssistant()
public void setAssistant(org.apache.ibatis.builder.MapperBuilderAssistant assistant)
public org.apache.ibatis.scripting.LanguageDriver getLanguageDriver()
public void setLanguageDriver(org.apache.ibatis.scripting.LanguageDriver languageDriver)
public String getMethodName()
public void setMethodName(String methodName)
public Class<?> getParameterTypeClass()
public void setParameterTypeClass(Class<?> parameterTypeClass)
public String getSqlScript()
public void setSqlScript(String sqlScript)
public Integer getFetchSize()
public void setFetchSize(Integer fetchSize)
public Integer getTimeout()
public void setTimeout(Integer timeout)
public org.apache.ibatis.mapping.StatementType getStatementType()
public void setStatementType(org.apache.ibatis.mapping.StatementType statementType)
public org.apache.ibatis.mapping.ResultSetType getResultSetType()
public void setResultSetType(org.apache.ibatis.mapping.ResultSetType resultSetType)
public org.apache.ibatis.mapping.SqlCommandType getSqlCommandType()
public void setSqlCommandType(org.apache.ibatis.mapping.SqlCommandType sqlCommandType)
public org.apache.ibatis.executor.keygen.KeyGenerator getKeyGenerator()
public void setKeyGenerator(org.apache.ibatis.executor.keygen.KeyGenerator keyGenerator)
public String getKeyProperty()
public void setKeyProperty(String keyProperty)
public String getKeyColumn()
public void setKeyColumn(String keyColumn)
public String getResultMapId()
public void setResultMapId(String resultMapId)
public Class<?> getResultType()
public void setResultType(Class<?> resultType)
Copyright © 2017. All rights reserved.