public abstract class AbstractInjectMethod extends Object implements InjectMethod
| 构造器和说明 |
|---|
AbstractInjectMethod() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.apache.ibatis.mapping.MappedStatement |
addMappedStatement(TableInfo tableInfo,
org.apache.ibatis.builder.MapperBuilderAssistant assistant,
String id,
org.apache.ibatis.mapping.SqlSource sqlSource,
org.apache.ibatis.mapping.StatementType statementType,
org.apache.ibatis.mapping.SqlCommandType sqlCommandType,
Integer fetchSize,
Integer timeout,
String parameterMap,
Class<?> parameterType,
String resultMap,
Class<?> resultType,
org.apache.ibatis.mapping.ResultSetType resultSetType,
boolean flushCache,
boolean useCache,
boolean resultOrdered,
org.apache.ibatis.executor.keygen.KeyGenerator keyGenerator,
String keyProperty,
String keyColumn,
String databaseId,
org.apache.ibatis.scripting.LanguageDriver lang,
String resultSets,
boolean dirtySelect) |
protected abstract String |
buildSqlScript(SemiMybatisConfiguration configuration,
Class<?> beanClass,
Class<?> parameterTypeClass,
TableInfo tableInfo)
构建sql语句
|
org.apache.ibatis.mapping.SqlSource |
createSqlSource(SemiMybatisConfiguration configuration,
Class<?> mapperClass,
Class<?> beanClass,
Method method,
Class<?> parameterTypeClass,
org.apache.ibatis.scripting.LanguageDriver languageDriver) |
String |
databaseId() |
boolean |
isDirtySelect() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getSqlCommandTypepublic String databaseId()
databaseId 在接口中 InjectMethodpublic boolean isDirtySelect()
isDirtySelect 在接口中 InjectMethodpublic org.apache.ibatis.mapping.MappedStatement addMappedStatement(TableInfo tableInfo, org.apache.ibatis.builder.MapperBuilderAssistant assistant, String id, org.apache.ibatis.mapping.SqlSource sqlSource, org.apache.ibatis.mapping.StatementType statementType, org.apache.ibatis.mapping.SqlCommandType sqlCommandType, Integer fetchSize, Integer timeout, String parameterMap, Class<?> parameterType, String resultMap, Class<?> resultType, org.apache.ibatis.mapping.ResultSetType resultSetType, boolean flushCache, boolean useCache, boolean resultOrdered, org.apache.ibatis.executor.keygen.KeyGenerator keyGenerator, String keyProperty, String keyColumn, String databaseId, org.apache.ibatis.scripting.LanguageDriver lang, String resultSets, boolean dirtySelect)
addMappedStatement 在接口中 InjectMethodpublic org.apache.ibatis.mapping.SqlSource createSqlSource(SemiMybatisConfiguration configuration, Class<?> mapperClass, Class<?> beanClass, Method method, Class<?> parameterTypeClass, org.apache.ibatis.scripting.LanguageDriver languageDriver)
createSqlSource 在接口中 InjectMethodprotected abstract String buildSqlScript(SemiMybatisConfiguration configuration, Class<?> beanClass, Class<?> parameterTypeClass, TableInfo tableInfo)
configuration - mybatis配置信息beanClass - Mapper的泛型的具体类型parameterTypeClass - 参数类型tableInfo - 对应的 表信息,包含列,字段,表名等等Copyright © 2024. All rights reserved.