跳过导航链接
A B C D E F G H I M N O P R S T U V W 

A

addClassComment(InnerClass, IntrospectedTable) - 类 中的方法tk.mybatis.mapper.generator.MapperCommentGenerator
Example使用
addClassComment(InnerClass, IntrospectedTable, boolean) - 类 中的方法tk.mybatis.mapper.generator.MapperCommentGenerator
Example使用
addComment(XmlElement) - 类 中的方法tk.mybatis.mapper.generator.MapperCommentGenerator
xml中的注释
addConfigurationProperties(Properties) - 类 中的方法tk.mybatis.mapper.generator.MapperCommentGenerator
 
addCriterion(String) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
 
addCriterion(String, Object, String) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
 
addCriterion(String, Object, Object, String) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
 
addEnumComment(InnerEnum, IntrospectedTable) - 类 中的方法tk.mybatis.mapper.generator.MapperCommentGenerator
 
addFieldComment(Field, IntrospectedTable, IntrospectedColumn) - 类 中的方法tk.mybatis.mapper.generator.MapperCommentGenerator
给字段添加数据库备注
addFieldComment(Field, IntrospectedTable) - 类 中的方法tk.mybatis.mapper.generator.MapperCommentGenerator
Example使用
addGeneralMethodComment(Method, IntrospectedTable) - 类 中的方法tk.mybatis.mapper.generator.MapperCommentGenerator
 
addGetterComment(Method, IntrospectedTable, IntrospectedColumn) - 类 中的方法tk.mybatis.mapper.generator.MapperCommentGenerator
getter方法注释
addJavadocTag(JavaElement, boolean) - 类 中的方法tk.mybatis.mapper.generator.MapperCommentGenerator
删除标记
addJavaFileComment(CompilationUnit) - 类 中的方法tk.mybatis.mapper.generator.MapperCommentGenerator
 
addMethodMap(String, Method) - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperTemplate
添加映射方法
addModelClassComment(TopLevelClass, IntrospectedTable) - 类 中的方法tk.mybatis.mapper.generator.MapperCommentGenerator
 
addOrCriterion(String) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
 
addOrCriterion(String, Object, String) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
 
addOrCriterion(String, Object, Object, String) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
 
addRootComment(XmlElement) - 类 中的方法tk.mybatis.mapper.generator.MapperCommentGenerator
 
addSetterComment(Method, IntrospectedTable, IntrospectedColumn) - 类 中的方法tk.mybatis.mapper.generator.MapperCommentGenerator
setter方法注释
and(Example.Criteria) - 类 中的方法tk.mybatis.mapper.entity.Example
 
and() - 类 中的方法tk.mybatis.mapper.entity.Example
 
andAllEqualTo(Object) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
将此对象的所有字段参数作为相等查询条件,如果字段为 null,则为 is null
andBetween(String, Object, Object) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
 
andCondition(String) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
手写条件
andCondition(String, Object) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
手写左边条件,右边用value值
andCondition(String, Object, String) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
已过时。
由于typeHandler起不到作用,该方法会在4.x版本去掉
andCondition(String, Object, Class<? extends TypeHandler>) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
已过时。
由于typeHandler起不到作用,该方法会在4.x版本去掉
andEqualTo(String, Object) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
 
andEqualTo(Object) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
将此对象的不为空的字段参数作为相等查询条件
andGreaterThan(String, Object) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
 
andGreaterThanOrEqualTo(String, Object) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
 
andIn(String, Iterable) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
 
andIsNotNull(String) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
 
andIsNull(String) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
 
andLessThan(String, Object) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
 
andLessThanOrEqualTo(String, Object) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
 
andLike(String, String) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
 
andNotBetween(String, Object, Object) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
 
andNotEqualTo(String, Object) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
 
andNotIn(String, Iterable) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
 
andNotLike(String, String) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
 
andOr - 类 中的变量tk.mybatis.mapper.entity.Example.GeneratedCriteria
 
andOr(Object) - 类 中的静态方法tk.mybatis.mapper.util.OGNL
判断条件是 and 还是 or
asc() - 类 中的方法tk.mybatis.mapper.entity.Example.OrderBy
 

B

BaseDeleteMapper<T> - tk.mybatis.mapper.common.base中的接口
通用Mapper接口,基础删除
BaseDeleteProvider - tk.mybatis.mapper.provider.base中的类
BaseDeleteMapper实现类,基础方法实现类
BaseDeleteProvider(Class<?>, MapperHelper) - 类 的构造器tk.mybatis.mapper.provider.base.BaseDeleteProvider
 
BaseInsertMapper<T> - tk.mybatis.mapper.common.base中的接口
通用Mapper接口,基础查询
BaseInsertProvider - tk.mybatis.mapper.provider.base中的类
BaseInsertProvider实现类,基础方法实现类
BaseInsertProvider(Class<?>, MapperHelper) - 类 的构造器tk.mybatis.mapper.provider.base.BaseInsertProvider
 
BaseMapper<T> - tk.mybatis.mapper.common中的接口
通用Mapper接口,其他接口继承该接口即可

这是一个例子,自己扩展时可以参考

项目地址 : https://github.com/abel533/Mapper

BaseSelectMapper<T> - tk.mybatis.mapper.common.base中的接口
通用Mapper接口,基础查询
BaseSelectProvider - tk.mybatis.mapper.provider.base中的类
BaseSelectProvider实现类,基础方法实现类
BaseSelectProvider(Class<?>, MapperHelper) - 类 的构造器tk.mybatis.mapper.provider.base.BaseSelectProvider
 
BaseUpdateMapper<T> - tk.mybatis.mapper.common.base中的接口
通用Mapper接口,基础查询
BaseUpdateProvider - tk.mybatis.mapper.provider.base中的类
BaseUpdateProvider实现类,基础方法实现类
BaseUpdateProvider(Class<?>, MapperHelper) - 类 的构造器tk.mybatis.mapper.provider.base.BaseUpdateProvider
 

C

calculateJavaClientAttributes() - 类 中的方法tk.mybatis.mapper.generator.TkMyBatis3Impl
 
calculateJavaClientAttributes() - 类 中的方法tk.mybatis.mapper.generator.TkMyBatis3SimpleImpl
 
calculateMyBatis3XmlMapperFileName() - 类 中的方法tk.mybatis.mapper.generator.TkMyBatis3Impl
 
calculateMyBatis3XmlMapperFileName() - 类 中的方法tk.mybatis.mapper.generator.TkMyBatis3SimpleImpl
 
camelhumpToUnderline(String) - 类 中的静态方法tk.mybatis.mapper.util.StringUtil
将驼峰风格替换为下划线风格
checkDaoConfig() - 类 中的方法tk.mybatis.spring.mapper.MapperFactoryBean
checkExampleEntityClass(Object, String) - 类 中的静态方法tk.mybatis.mapper.util.OGNL
校验通用 Example 的 entityClass 和当前方法是否匹配
clear() - 类 中的方法tk.mybatis.mapper.entity.Example
 
clientDeleteByPrimaryKeyMethodGenerated(Method, TopLevelClass, IntrospectedTable) - 类 中的方法tk.mybatis.mapper.generator.MapperPlugin
 
clientDeleteByPrimaryKeyMethodGenerated(Method, Interface, IntrospectedTable) - 类 中的方法tk.mybatis.mapper.generator.MapperPlugin
 
clientGenerated(Interface, TopLevelClass, IntrospectedTable) - 类 中的方法tk.mybatis.mapper.generator.MapperPlugin
生成的Mapper接口
clientInsertMethodGenerated(Method, TopLevelClass, IntrospectedTable) - 类 中的方法tk.mybatis.mapper.generator.MapperPlugin
 
clientInsertMethodGenerated(Method, Interface, IntrospectedTable) - 类 中的方法tk.mybatis.mapper.generator.MapperPlugin
 
clientInsertSelectiveMethodGenerated(Method, TopLevelClass, IntrospectedTable) - 类 中的方法tk.mybatis.mapper.generator.MapperPlugin
 
clientInsertSelectiveMethodGenerated(Method, Interface, IntrospectedTable) - 类 中的方法tk.mybatis.mapper.generator.MapperPlugin
 
clientSelectAllMethodGenerated(Method, Interface, IntrospectedTable) - 类 中的方法tk.mybatis.mapper.generator.MapperPlugin
 
clientSelectAllMethodGenerated(Method, TopLevelClass, IntrospectedTable) - 类 中的方法tk.mybatis.mapper.generator.MapperPlugin
 
clientSelectByPrimaryKeyMethodGenerated(Method, TopLevelClass, IntrospectedTable) - 类 中的方法tk.mybatis.mapper.generator.MapperPlugin
 
clientSelectByPrimaryKeyMethodGenerated(Method, Interface, IntrospectedTable) - 类 中的方法tk.mybatis.mapper.generator.MapperPlugin
 
clientUpdateByPrimaryKeySelectiveMethodGenerated(Method, TopLevelClass, IntrospectedTable) - 类 中的方法tk.mybatis.mapper.generator.MapperPlugin
 
clientUpdateByPrimaryKeySelectiveMethodGenerated(Method, Interface, IntrospectedTable) - 类 中的方法tk.mybatis.mapper.generator.MapperPlugin
 
clientUpdateByPrimaryKeyWithBLOBsMethodGenerated(Method, TopLevelClass, IntrospectedTable) - 类 中的方法tk.mybatis.mapper.generator.MapperPlugin
 
clientUpdateByPrimaryKeyWithBLOBsMethodGenerated(Method, Interface, IntrospectedTable) - 类 中的方法tk.mybatis.mapper.generator.MapperPlugin
 
clientUpdateByPrimaryKeyWithoutBLOBsMethodGenerated(Method, TopLevelClass, IntrospectedTable) - 类 中的方法tk.mybatis.mapper.generator.MapperPlugin
 
clientUpdateByPrimaryKeyWithoutBLOBsMethodGenerated(Method, Interface, IntrospectedTable) - 类 中的方法tk.mybatis.mapper.generator.MapperPlugin
 
ColumnType - tk.mybatis.mapper.annotation中的注释类型
针对列的复杂属性配置
Condition - tk.mybatis.mapper.entity中的类
Condition - 条件查询,命名就是任性
Condition(Class<?>) - 类 的构造器tk.mybatis.mapper.entity.Condition
 
Condition(Class<?>, boolean) - 类 的构造器tk.mybatis.mapper.entity.Condition
 
Condition(Class<?>, boolean, boolean) - 类 的构造器tk.mybatis.mapper.entity.Condition
 
ConditionMapper<T> - tk.mybatis.mapper.common中的接口
通用Mapper接口,Condition查询
ConditionProvider - tk.mybatis.mapper.provider中的类
ConditionProvider实现类,基础方法实现类
ConditionProvider(Class<?>, MapperHelper) - 类 的构造器tk.mybatis.mapper.provider.ConditionProvider
 
Config - tk.mybatis.mapper.entity中的类
通用Mapper属性配置
Config() - 类 的构造器tk.mybatis.mapper.entity.Config
 
containsWord(String) - 类 中的静态方法tk.mybatis.mapper.util.SqlReservedWords
 
convertByStyle(String, Style) - 类 中的静态方法tk.mybatis.mapper.util.StringUtil
根据指定的样式进行转换
copyFromPropertyDescriptor(EntityField) - 类 中的方法tk.mybatis.mapper.entity.EntityField
先创建field,然后可以通过该方法获取property等属性
countColumn - 类 中的变量tk.mybatis.mapper.entity.Example
 
createCriteria() - 类 中的方法tk.mybatis.mapper.entity.Example
 
createCriteriaInternal() - 类 中的方法tk.mybatis.mapper.entity.Example
 
createSqlSource(MappedStatement, String) - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperTemplate
通过xmlSql创建sqlSource
Criteria(Map<String, EntityColumn>, boolean, boolean) - 类 的构造器tk.mybatis.mapper.entity.Example.Criteria
 
criteria - 类 中的变量tk.mybatis.mapper.entity.Example.GeneratedCriteria
 
Criterion(String) - 类 的构造器tk.mybatis.mapper.entity.Example.Criterion
 
Criterion(String, Object, String) - 类 的构造器tk.mybatis.mapper.entity.Example.Criterion
 
Criterion(String, Object) - 类 的构造器tk.mybatis.mapper.entity.Example.Criterion
 
Criterion(String, Object, Object, String) - 类 的构造器tk.mybatis.mapper.entity.Example.Criterion
 
Criterion(String, Object, Object) - 类 的构造器tk.mybatis.mapper.entity.Example.Criterion
 
Criterion(String, boolean) - 类 的构造器tk.mybatis.mapper.entity.Example.Criterion
 
Criterion(String, Object, String, boolean) - 类 的构造器tk.mybatis.mapper.entity.Example.Criterion
 
Criterion(String, Object, boolean) - 类 的构造器tk.mybatis.mapper.entity.Example.Criterion
 
Criterion(String, Object, Object, String, boolean) - 类 的构造器tk.mybatis.mapper.entity.Example.Criterion
 
Criterion(String, Object, Object, boolean) - 类 的构造器tk.mybatis.mapper.entity.Example.Criterion
 

D

delete(T) - 接口 中的方法tk.mybatis.mapper.common.base.delete.DeleteMapper
根据实体属性作为条件进行删除,查询条件使用等号
delete(MappedStatement) - 类 中的方法tk.mybatis.mapper.provider.base.BaseDeleteProvider
通过条件删除
deleteByCondition(Object) - 接口 中的方法tk.mybatis.mapper.common.condition.DeleteByConditionMapper
根据Condition条件删除数据
deleteByCondition(MappedStatement) - 类 中的方法tk.mybatis.mapper.provider.ConditionProvider
根据Condition删除
DeleteByConditionMapper<T> - tk.mybatis.mapper.common.condition中的接口
通用Mapper接口,Condition查询
deleteByExample(Object) - 接口 中的方法tk.mybatis.mapper.common.example.DeleteByExampleMapper
根据Example条件删除数据
deleteByExample(MappedStatement) - 类 中的方法tk.mybatis.mapper.provider.ExampleProvider
根据Example删除
DeleteByExampleMapper<T> - tk.mybatis.mapper.common.example中的接口
通用Mapper接口,Example查询
deleteByIds(String) - 接口 中的方法tk.mybatis.mapper.common.ids.DeleteByIdsMapper
根据主键字符串进行删除,类中只有存在一个带有@Id注解的字段
deleteByIds(MappedStatement) - 类 中的方法tk.mybatis.mapper.provider.IdsProvider
根据主键字符串进行删除,类中只有存在一个带有@Id注解的字段
DeleteByIdsMapper<T> - tk.mybatis.mapper.common.ids中的接口
通用Mapper接口,根据ids删除
deleteByPrimaryKey(Object) - 接口 中的方法tk.mybatis.mapper.common.base.delete.DeleteByPrimaryKeyMapper
根据主键字段进行删除,方法参数必须包含完整的主键属性
deleteByPrimaryKey(MappedStatement) - 类 中的方法tk.mybatis.mapper.provider.base.BaseDeleteProvider
通过主键删除
DeleteByPrimaryKeyMapper<T> - tk.mybatis.mapper.common.base.delete中的接口
通用Mapper接口,删除
deleteFromTable(Class<?>, String) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
delete tableName - 动态表名
DeleteMapper<T> - tk.mybatis.mapper.common.base.delete中的接口
通用Mapper接口,删除
DELIMITER - 类 中的静态变量tk.mybatis.mapper.entity.EntityTable
 
desc() - 类 中的方法tk.mybatis.mapper.entity.Example.OrderBy
 
distinct - 类 中的变量tk.mybatis.mapper.entity.Example
 
dynamicSQL(Object) - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperTemplate
该方法仅仅用来初始化ProviderSqlSource

E

EmptyProvider - tk.mybatis.mapper.provider中的类
空方法Mapper接口默认MapperTemplate

如BaseSelectMapper,接口纯继承,不包含任何方法

EmptyProvider(Class<?>, MapperHelper) - 类 的构造器tk.mybatis.mapper.provider.EmptyProvider
 
entityClass - 类 中的变量tk.mybatis.mapper.entity.Example
 
entityClassMap - 类 中的变量tk.mybatis.mapper.mapperhelper.MapperTemplate
 
EntityColumn - tk.mybatis.mapper.entity中的类
数据库表对应的列
EntityColumn() - 类 的构造器tk.mybatis.mapper.entity.EntityColumn
 
EntityColumn(EntityTable) - 类 的构造器tk.mybatis.mapper.entity.EntityColumn
 
EntityField - tk.mybatis.mapper.entity中的类
封装字段和方法,统一调用某些方法
EntityField(Field, PropertyDescriptor) - 类 的构造器tk.mybatis.mapper.entity.EntityField
构造方法
EntityHelper - tk.mybatis.mapper.mapperhelper中的类
实体类工具类 - 处理实体和数据库表以及字段关键的一个类

项目地址 : https://github.com/abel533/Mapper

EntityHelper() - 类 的构造器tk.mybatis.mapper.mapperhelper.EntityHelper
 
EntityTable - tk.mybatis.mapper.entity中的类
数据库表
EntityTable(Class<?>) - 类 的构造器tk.mybatis.mapper.entity.EntityTable
 
equals(Object) - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
 
equals(Object) - 类 中的方法tk.mybatis.mapper.entity.EntityField
 
Example - tk.mybatis.mapper.entity中的类
通用的Example查询对象
Example(Class<?>) - 类 的构造器tk.mybatis.mapper.entity.Example
默认exists为true
Example(Class<?>, boolean) - 类 的构造器tk.mybatis.mapper.entity.Example
带exists参数的构造方法,默认notNull为false,允许为空
Example(Class<?>, boolean, boolean) - 类 的构造器tk.mybatis.mapper.entity.Example
带exists参数的构造方法
Example.Criteria - tk.mybatis.mapper.entity中的类
 
Example.Criterion - tk.mybatis.mapper.entity中的类
 
Example.GeneratedCriteria - tk.mybatis.mapper.entity中的类
 
Example.OrderBy - tk.mybatis.mapper.entity中的类
 
exampleCheck(Class<?>) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
example 支持 for update
exampleCountColumn(Class<?>) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
example支持查询指定列时
exampleForUpdate() - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
example 支持 for update
ExampleMapper<T> - tk.mybatis.mapper.common中的接口
通用Mapper接口,Example查询
exampleOrderBy(Class<?>) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
example查询中的orderBy条件,会判断默认orderBy
ExampleProvider - tk.mybatis.mapper.provider中的类
ExampleProvider实现类,基础方法实现类
ExampleProvider(Class<?>, MapperHelper) - 类 的构造器tk.mybatis.mapper.provider.ExampleProvider
 
exampleSelectColumns(Class<?>) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
example支持查询指定列时
ExampleValidSqlNode(Configuration) - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperTemplate
已过时。
exampleWhereClause(Configuration) - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperTemplate
已过时。
4.x版本会移除该方法
exampleWhereClause() - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
Example查询中的where结构,用于只有一个Example参数时
excludeColumns - 类 中的变量tk.mybatis.mapper.entity.Example
 
excludeProperties(String...) - 类 中的方法tk.mybatis.mapper.entity.Example
排除查询字段,优先级低于 selectProperties
exists - 类 中的变量tk.mybatis.mapper.entity.Example
 
exists - 类 中的变量tk.mybatis.mapper.entity.Example.GeneratedCriteria
 
existsWithPrimaryKey(Object) - 接口 中的方法tk.mybatis.mapper.common.base.select.ExistsWithPrimaryKeyMapper
根据主键字段查询总数,方法参数必须包含完整的主键属性,查询条件使用等号
existsWithPrimaryKey(MappedStatement) - 类 中的方法tk.mybatis.mapper.provider.base.BaseSelectProvider
根据主键查询总数
ExistsWithPrimaryKeyMapper<T> - tk.mybatis.mapper.common.base.select中的接口
通用Mapper接口,查询

F

FieldHelper - tk.mybatis.mapper.mapperhelper中的类
类字段工具类
FieldHelper() - 类 的构造器tk.mybatis.mapper.mapperhelper.FieldHelper
 
forUpdate - 类 中的变量tk.mybatis.mapper.entity.Example
 
fromTable(Class<?>, String) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
from tableName - 动态表名

G

GeneratedCriteria(Map<String, EntityColumn>, boolean, boolean) - 类 的构造器tk.mybatis.mapper.entity.Example.GeneratedCriteria
 
getAll(Class<?>) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.FieldHelper
获取全部的属性,包含字段和方法
getAllColumns(Class<?>) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.EntityHelper
已过时。
4.x版本移除该方法
getAllColumns(Class<?>) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
获取所有查询列,如id,name,code...
getAllCriteria() - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
 
getAllIfColumnNode(Class<?>) - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperTemplate
已过时。
4.x版本会移除该方法
getAndOr() - 类 中的方法tk.mybatis.mapper.entity.Example.Criterion
 
getAndOr() - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
 
getAnnotation(Class<T>) - 类 中的方法tk.mybatis.mapper.entity.EntityField
获取指定的注解
getBaseSelect() - 类 中的方法tk.mybatis.mapper.entity.EntityTable
 
getBindCache(EntityColumn) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
getBindValue(EntityColumn, String) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
getCatalog() - 类 中的方法tk.mybatis.mapper.entity.Config
 
getCatalog() - 类 中的方法tk.mybatis.mapper.entity.EntityTable
 
getColumn() - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
 
getColumnEqualsHolder() - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
返回格式如:colum = #{age,jdbcType=NUMERIC,typeHandler=MyTypeHandler}
getColumnEqualsHolder(String) - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
返回格式如:colum = #{age,jdbcType=NUMERIC,typeHandler=MyTypeHandler}
getColumnEqualsProperty(EntityColumn, boolean) - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperTemplate
已过时。
4.x版本会移除该方法
getColumnHolder() - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
返回格式如:#{age,jdbcType=NUMERIC,typeHandler=MyTypeHandler}
getColumnHolder(String) - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
返回格式如:#{entityName.age,jdbcType=NUMERIC,typeHandler=MyTypeHandler}
getColumnHolder(String, String) - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
返回格式如:#{entityName.age+suffix,jdbcType=NUMERIC,typeHandler=MyTypeHandler}
getColumnHolder(String, String, String) - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
返回格式如:#{entityName.age+suffix,jdbcType=NUMERIC,typeHandler=MyTypeHandler}+separator
getColumnHolderWithComma(String, String) - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
返回格式如:#{entityName.age+suffix,jdbcType=NUMERIC,typeHandler=MyTypeHandler},
getColumnParameterMappings(MappedStatement) - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperTemplate
已过时。
4.x版本会移除该方法
getColumns(Class<?>) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.EntityHelper
获取全部列
getCondition() - 类 中的方法tk.mybatis.mapper.entity.Example.Criterion
 
getConfig() - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperHelper
获取通用Mapper配置
getCountColumn() - 类 中的方法tk.mybatis.mapper.entity.Example
 
getCriteria() - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
 
getDatabaseDialect(String) - 枚举 中的静态方法tk.mybatis.mapper.code.IdentityDialect
 
getDelimiterName(String) - 类 中的方法tk.mybatis.mapper.generator.MapperCommentGenerator
 
getDelimiterName(String) - 类 中的方法tk.mybatis.mapper.generator.MapperPlugin
 
getDynamicTableName() - 类 中的方法tk.mybatis.mapper.entity.Example
 
getDynamicTableName() - 接口 中的方法tk.mybatis.mapper.entity.IDynamicTableName
获取动态表名 - 只要有返回值,不是null和'',就会用返回值作为表名
getDynamicTableName(Class<?>, String) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
获取表名 - 支持动态表名
getDynamicTableName(Class<?>, String, String) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
获取表名 - 支持动态表名,该方法用于多个入参时,通过parameterName指定入参中实体类的@Param的注解值
getDynamicTableNameNode(Class<?>) - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperTemplate
已过时。
4.x版本会移除该方法
getDynamicTableNameNode(Class<?>, String) - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperTemplate
已过时。
4.x版本会移除该方法
getEntityClass() - 类 中的方法tk.mybatis.mapper.entity.EntityTable
 
getEntityClass() - 类 中的方法tk.mybatis.mapper.entity.Example
 
getEntityClass(MappedStatement) - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperTemplate
获取返回值类型 - 实体类型
getEntityClassColumns() - 类 中的方法tk.mybatis.mapper.entity.EntityTable
 
getEntityClassPKColumns() - 类 中的方法tk.mybatis.mapper.entity.EntityTable
 
getEntityTable(Class<?>) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.EntityHelper
获取表对象
getFields(Class<?>) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.FieldHelper
获取全部的Field
getGenerator() - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
 
getIDENTITY() - 类 中的方法tk.mybatis.mapper.entity.Config
获取主键自增回写SQL
getIDENTITY() - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperTemplate
 
getIDENTITY(EntityColumn) - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperTemplate
获取IDENTITY值的表达式
getIdentityRetrievalStatement() - 枚举 中的方法tk.mybatis.mapper.code.IdentityDialect
 
getIfCacheIsNull(EntityColumn, SqlNode) - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperTemplate
已过时。
4.x版本会移除该方法
getIfCacheIsNull(EntityColumn, String) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
如果_cache == null
getIfCacheNotNull(EntityColumn, SqlNode) - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperTemplate
已过时。
4.x版本会移除该方法
getIfCacheNotNull(EntityColumn, String) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
getIfIsNull(EntityColumn, SqlNode) - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperTemplate
已过时。
4.x版本会移除该方法
getIfIsNull(EntityColumn, String, boolean) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
判断自动==null的条件结构
getIfIsNull(String, EntityColumn, String, boolean) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
判断自动==null的条件结构
getIfNotNull(EntityColumn, SqlNode) - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperTemplate
已过时。
4.x版本会移除该方法
getIfNotNull(EntityColumn, SqlNode, boolean) - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperTemplate
已过时。
4.x版本会移除该方法
getIfNotNull(EntityColumn, String, boolean) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
判断自动!
getIfNotNull(String, EntityColumn, String, boolean) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
判断自动!
getInstance(Class<?>, Class<?>) - 类 中的方法tk.mybatis.mapper.entity.EntityTable
实例化TypeHandler
getJavaType() - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
 
getJavaType() - 类 中的方法tk.mybatis.mapper.entity.EntityField
获取javaType
getJdbcType() - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
 
getKeyColumns() - 类 中的方法tk.mybatis.mapper.entity.EntityTable
 
getKeyProperties() - 类 中的方法tk.mybatis.mapper.entity.EntityTable
 
getMapperClass(String) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.MapperTemplate
根据msId获取接口类
getMapperHelper() - 类 中的方法tk.mybatis.spring.mapper.MapperScannerConfigurer
 
getMethodName(MappedStatement) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.MapperTemplate
获取执行的方法名
getMethodName(String) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.MapperTemplate
获取执行的方法名
getName() - 类 中的方法tk.mybatis.mapper.entity.EntityField
字段属性名
getName() - 类 中的方法tk.mybatis.mapper.entity.EntityTable
 
getOrderBy() - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
 
getOrderByClause() - 类 中的方法tk.mybatis.mapper.entity.EntityTable
 
getOrderByClause() - 类 中的方法tk.mybatis.mapper.entity.Example
 
getOrderByClause(Class<?>) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.EntityHelper
获取默认的orderby语句
getOredCriteria() - 类 中的方法tk.mybatis.mapper.entity.Example
 
getPKColumns(Class<?>) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.EntityHelper
获取主键信息
getPrefix() - 类 中的方法tk.mybatis.mapper.entity.Config
获取表前缀,带catalog或schema
getPrefix() - 类 中的方法tk.mybatis.mapper.entity.EntityTable
 
getPrimaryKeyParameterMappings(MappedStatement) - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperTemplate
已过时。
4.x版本会移除该方法
getPrimaryKeyWhere(Class<?>) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.EntityHelper
已过时。
4.x版本移除该方法
getProperties(Class<?>) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.FieldHelper
获取全部的属性,通过方法名获取
getProperty() - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
 
getPropertyMap() - 类 中的方法tk.mybatis.mapper.entity.EntityTable
 
getResultMap(Configuration) - 类 中的方法tk.mybatis.mapper.entity.EntityTable
生成当前实体的resultMap对象
getSchema() - 类 中的方法tk.mybatis.mapper.entity.Config
 
getSchema() - 类 中的方法tk.mybatis.mapper.entity.EntityTable
 
getSecondValue() - 类 中的方法tk.mybatis.mapper.entity.Example.Criterion
 
getSelectColumns() - 类 中的方法tk.mybatis.mapper.entity.Example
 
getSelectColumns(Class<?>) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.EntityHelper
获取查询的Select
getSeqFormat() - 类 中的方法tk.mybatis.mapper.entity.Config
获取序列格式化模板
getSeqNextVal(EntityColumn) - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperTemplate
获取序列下个值的表达式
getSequenceName() - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
 
getStyle() - 类 中的方法tk.mybatis.mapper.entity.Config
 
getTable() - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
 
getTypeHandler() - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
 
getTypeHandler() - 类 中的方法tk.mybatis.mapper.entity.Example.Criterion
 
getUUID() - 类 中的方法tk.mybatis.mapper.entity.Config
获取UUID生成规则
getUUID() - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperTemplate
 
getValue() - 类 中的方法tk.mybatis.mapper.entity.Example.Criterion
 

H

hasCountColumn(Object) - 类 中的静态方法tk.mybatis.mapper.util.OGNL
是否包含自定义 Count 列
hasForUpdate(Object) - 类 中的静态方法tk.mybatis.mapper.util.OGNL
是否包含 forUpdate
hashCode() - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
 
hashCode() - 类 中的方法tk.mybatis.mapper.entity.EntityField
 
hasNoSelectColumns(Object) - 类 中的静态方法tk.mybatis.mapper.util.OGNL
不包含自定义查询列
hasSelectColumns(Object) - 类 中的静态方法tk.mybatis.mapper.util.OGNL
是否包含自定义查询列

I

IdentityDialect - tk.mybatis.mapper.code中的枚举
 
IdsMapper<T> - tk.mybatis.mapper.common中的接口
通用Mapper接口,根据ids操作
IdsProvider - tk.mybatis.mapper.provider中的类
通过 ids 字符串的各种操作

ids 如 "1,2,3"

IdsProvider(Class<?>, MapperHelper) - 类 的构造器tk.mybatis.mapper.provider.IdsProvider
 
IDynamicTableName - tk.mybatis.mapper.entity中的接口
实现动态表名时,实体类需要实现该接口
ifEmptyRegisterDefaultInterface() - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperHelper
如果当前注册的接口为空,自动注册默认接口
initEntityNameMap(Class<?>, Config) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.EntityHelper
初始化实体属性
initPropertyMap() - 类 中的方法tk.mybatis.mapper.entity.EntityTable
初始化 - Example 会使用
insert(T) - 接口 中的方法tk.mybatis.mapper.common.base.insert.InsertMapper
保存一个实体,null的属性也会保存,不会使用数据库默认值
insert(T) - 接口 中的方法tk.mybatis.mapper.common.sqlserver.InsertMapper
插入数据库,`null`值也会插入,不会使用列的默认值
insert(MappedStatement) - 类 中的方法tk.mybatis.mapper.provider.base.BaseInsertProvider
插入全部,这段代码比较复杂,这里举个例子 CountryU生成的insert方法结构如下: <bind name="countryname_bind" value='@java.util.UUID@randomUUID().toString().replace("-", "")'/> INSERT INTO country_u(id,countryname,countrycode) VALUES <trim prefix="(" suffix=")" suffixOverrides=","> <if test="id !
insert(MappedStatement) - 类 中的方法tk.mybatis.mapper.provider.SqlServerProvider
插入
insertColumns(Class<?>, boolean, boolean, boolean) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
insert table()列
insertIntoTable(Class<?>, String) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
insert into tableName - 动态表名
insertList(List<T>) - 接口 中的方法tk.mybatis.mapper.common.special.InsertListMapper
批量插入,支持批量插入的数据库可以使用,例如MySQL,H2等,另外该接口限制实体包含`id`属性并且必须为自增列
insertList(MappedStatement) - 类 中的方法tk.mybatis.mapper.provider.SpecialProvider
批量插入
InsertListMapper<T> - tk.mybatis.mapper.common.special中的接口
通用Mapper接口,特殊方法,批量插入,支持批量插入的数据库都可以使用,例如mysql,h2等
InsertMapper<T> - tk.mybatis.mapper.common.base.insert中的接口
通用Mapper接口,插入
InsertMapper<T> - tk.mybatis.mapper.common.sqlserver中的接口
通用Mapper接口,插入
insertSelective(T) - 接口 中的方法tk.mybatis.mapper.common.base.insert.InsertSelectiveMapper
保存一个实体,null的属性不会保存,会使用数据库默认值
insertSelective(T) - 接口 中的方法tk.mybatis.mapper.common.sqlserver.InsertSelectiveMapper
 
insertSelective(MappedStatement) - 类 中的方法tk.mybatis.mapper.provider.base.BaseInsertProvider
插入不为null的字段,这段代码比较复杂,这里举个例子 CountryU生成的insertSelective方法结构如下: <bind name="countryname_bind" value='@java.util.UUID@randomUUID().toString().replace("-", "")'/> INSERT INTO country_u <trim prefix="(" suffix=")" suffixOverrides=","> <if test="id !
insertSelective(MappedStatement) - 类 中的方法tk.mybatis.mapper.provider.SqlServerProvider
插入不为null的字段
InsertSelectiveMapper<T> - tk.mybatis.mapper.common.base.insert中的接口
通用Mapper接口,插入
InsertSelectiveMapper<T> - tk.mybatis.mapper.common.sqlserver中的接口
通用Mapper接口,插入
insertUseGeneratedKeys(T) - 接口 中的方法tk.mybatis.mapper.common.special.InsertUseGeneratedKeysMapper
插入数据,限制为实体包含`id`属性并且必须为自增列,实体配置的主键策略无效
insertUseGeneratedKeys(MappedStatement) - 类 中的方法tk.mybatis.mapper.provider.SpecialProvider
插入,主键id,自增
InsertUseGeneratedKeysMapper<T> - tk.mybatis.mapper.common.special中的接口
通用Mapper接口,特殊方法,批量插入,支持批量插入的数据库都可以使用,例如mysql,h2等
insertValuesColumns(Class<?>, boolean, boolean, boolean) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
insert-values()列
isAnnotationPresent(Class<? extends Annotation>) - 类 中的方法tk.mybatis.mapper.entity.EntityField
是否有该注解
isBEFORE() - 类 中的方法tk.mybatis.mapper.entity.Config
获取SelectKey的Order
isBEFORE() - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperTemplate
 
isBetweenValue() - 类 中的方法tk.mybatis.mapper.entity.Example.Criterion
 
isCheckExampleEntityClass() - 类 中的方法tk.mybatis.mapper.entity.Config
 
isCheckExampleEntityClass() - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperTemplate
 
isDistinct() - 类 中的方法tk.mybatis.mapper.entity.Example
 
isDynamicParameter(Object) - 类 中的静态方法tk.mybatis.mapper.util.OGNL
判断参数是否支持动态表名
isEmpty(String) - 类 中的静态方法tk.mybatis.mapper.util.StringUtil
isEnableMethodAnnotation() - 类 中的方法tk.mybatis.mapper.entity.Config
 
isExtendCommonMapper(Class<?>) - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperHelper
判断接口是否包含通用接口
isForUpdate() - 类 中的方法tk.mybatis.mapper.entity.Example
 
isId() - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
 
isIdentity() - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
 
isInsertable() - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
 
isListValue() - 类 中的方法tk.mybatis.mapper.entity.Example.Criterion
 
isLowercaseAlpha(char) - 类 中的静态方法tk.mybatis.mapper.util.StringUtil
 
isMapperMethod(String) - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperHelper
判断当前的接口方法是否需要进行拦截
isNotDynamicParameter(Object) - 类 中的静态方法tk.mybatis.mapper.util.OGNL
判断参数是否b支持动态表名
isNotEmpty() - 类 中的方法tk.mybatis.mapper.entity.Config
 
isNotEmpty() - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperTemplate
 
isNotEmpty(String) - 类 中的静态方法tk.mybatis.mapper.util.StringUtil
非空
isNoValue() - 类 中的方法tk.mybatis.mapper.entity.Example.Criterion
 
isSimpleType(Class<?>) - 类 中的静态方法tk.mybatis.mapper.util.SimpleTypeUtil
 
isSingleValue() - 类 中的方法tk.mybatis.mapper.entity.Example.Criterion
 
isUpdatable() - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
 
isUppercaseAlpha(char) - 类 中的静态方法tk.mybatis.mapper.util.StringUtil
 
isUseSimpleType() - 类 中的方法tk.mybatis.mapper.entity.Config
 
isUuid() - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
 
isValid() - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
 

M

Mapper<T> - tk.mybatis.mapper.common中的接口
通用Mapper接口,其他接口继承该接口即可

这是一个例子,自己扩展时可以参考

项目地址 : https://github.com/abel533/Mapper

mapperClass - 类 中的变量tk.mybatis.mapper.mapperhelper.MapperTemplate
 
MapperCommentGenerator - tk.mybatis.mapper.generator中的类
 
MapperCommentGenerator() - 类 的构造器tk.mybatis.mapper.generator.MapperCommentGenerator
 
MapperException - tk.mybatis.mapper中的异常错误
 
MapperException() - 异常错误 的构造器tk.mybatis.mapper.MapperException
 
MapperException(String) - 异常错误 的构造器tk.mybatis.mapper.MapperException
 
MapperException(String, Throwable) - 异常错误 的构造器tk.mybatis.mapper.MapperException
 
MapperException(Throwable) - 异常错误 的构造器tk.mybatis.mapper.MapperException
 
MapperFactoryBean<T> - tk.mybatis.spring.mapper中的类
增加mapperHelper
MapperFactoryBean() - 类 的构造器tk.mybatis.spring.mapper.MapperFactoryBean
 
MapperFactoryBean(Class<T>) - 类 的构造器tk.mybatis.spring.mapper.MapperFactoryBean
 
MapperHelper - tk.mybatis.mapper.mapperhelper中的类
处理主要逻辑,最关键的一个类

项目地址 : https://github.com/abel533/Mapper

MapperHelper() - 类 的构造器tk.mybatis.mapper.mapperhelper.MapperHelper
默认构造方法
MapperHelper(Properties) - 类 的构造器tk.mybatis.mapper.mapperhelper.MapperHelper
带配置的构造方法
mapperHelper - 类 中的变量tk.mybatis.mapper.mapperhelper.MapperTemplate
 
MapperPlugin - tk.mybatis.mapper.generator中的类
通用Mapper生成器插件
MapperPlugin() - 类 的构造器tk.mybatis.mapper.generator.MapperPlugin
 
MapperScannerConfigurer - tk.mybatis.spring.mapper中的类
 
MapperScannerConfigurer() - 类 的构造器tk.mybatis.spring.mapper.MapperScannerConfigurer
 
MapperTemplate - tk.mybatis.mapper.mapperhelper中的类
通用Mapper模板类,扩展通用Mapper时需要继承该类
MapperTemplate(Class<?>, MapperHelper) - 类 的构造器tk.mybatis.mapper.mapperhelper.MapperTemplate
 
Marker - tk.mybatis.mapper.common中的接口
标记接口,继承该接口的接口,在MapperScannerConfigurer#setMarkerInterface时,会自动注册到通用Mapper
methodMap - 类 中的变量tk.mybatis.mapper.mapperhelper.MapperTemplate
 
modelBaseRecordClassGenerated(TopLevelClass, IntrospectedTable) - 类 中的方法tk.mybatis.mapper.generator.MapperPlugin
生成基础实体类
modelPrimaryKeyClassGenerated(TopLevelClass, IntrospectedTable) - 类 中的方法tk.mybatis.mapper.generator.MapperPlugin
生成实体类注解KEY对象
modelRecordWithBLOBsClassGenerated(TopLevelClass, IntrospectedTable) - 类 中的方法tk.mybatis.mapper.generator.MapperPlugin
生成带BLOB字段的对象
MultipleJdbc3KeyGenerator - tk.mybatis.mapper.mapperhelper中的类
实现批量插入ID回写
MultipleJdbc3KeyGenerator() - 类 的构造器tk.mybatis.mapper.mapperhelper.MultipleJdbc3KeyGenerator
 
MySqlMapper<T> - tk.mybatis.mapper.common中的接口
通用Mapper接口,MySql独有的通用方法

N

NameStyle - tk.mybatis.mapper.annotation中的注释类型
名字转换样式,注解的优先级高于全局配置
newSelectKeyMappedStatement(MappedStatement, EntityColumn) - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperTemplate
新建SelectKey节点
notNull - 类 中的变量tk.mybatis.mapper.entity.Example.GeneratedCriteria
 
notNull - 类 中的变量tk.mybatis.mapper.entity.Example
 

O

OGNL - tk.mybatis.mapper.util中的类
OGNL静态方法
OGNL() - 类 的构造器tk.mybatis.mapper.util.OGNL
 
or(Example.Criteria) - 类 中的方法tk.mybatis.mapper.entity.Example
 
or() - 类 中的方法tk.mybatis.mapper.entity.Example
 
orAllEqualTo(Object) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
将此对象的所有字段参数作为相等查询条件,如果字段为 null,则为 is null
orBetween(String, Object, Object) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
 
orCondition(String) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
手写条件
orCondition(String, Object) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
手写左边条件,右边用value值
ORDERBY - 类 中的变量tk.mybatis.mapper.entity.Example
 
orderBy(String) - 类 中的方法tk.mybatis.mapper.entity.Example
 
OrderBy(Example, Map<String, EntityColumn>) - 类 的构造器tk.mybatis.mapper.entity.Example.OrderBy
 
orderBy(String) - 类 中的方法tk.mybatis.mapper.entity.Example.OrderBy
 
orderByClause - 类 中的变量tk.mybatis.mapper.entity.Example
 
orderByDefault(Class<?>) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
获取默认的orderBy,通过注解设置的
oredCriteria - 类 中的变量tk.mybatis.mapper.entity.Example
 
orEqualTo(String, Object) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
 
orEqualTo(Object) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
将此对象的不为空的字段参数作为相等查询条件
orGreaterThan(String, Object) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
 
orGreaterThanOrEqualTo(String, Object) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
 
orIn(String, Iterable) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
 
orIsNotNull(String) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
 
orIsNull(String) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
 
orLessThan(String, Object) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
 
orLessThanOrEqualTo(String, Object) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
 
orLike(String, String) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
 
orNotBetween(String, Object, Object) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
 
orNotEqualTo(String, Object) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
 
orNotIn(String, Iterable) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
 
orNotLike(String, String) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
 

P

postProcessBeanDefinitionRegistry(BeanDefinitionRegistry) - 类 中的方法tk.mybatis.spring.mapper.MapperScannerConfigurer
注册完成后,对MapperFactoryBean的类进行特殊处理
processAfter(Executor, MappedStatement, Statement, Object) - 类 中的方法tk.mybatis.mapper.mapperhelper.MultipleJdbc3KeyGenerator
 
processAfter(Executor, MappedStatement, Statement, Object) - 类 中的方法tk.mybatis.mapper.mapperhelper.SelectKeyGenerator
 
processBatch(MappedStatement, Statement, Collection<Object>) - 类 中的方法tk.mybatis.mapper.mapperhelper.MultipleJdbc3KeyGenerator
 
processBefore(Executor, MappedStatement, Statement, Object) - 类 中的方法tk.mybatis.mapper.mapperhelper.SelectKeyGenerator
 
processConfiguration(Configuration) - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperHelper
配置完成后,执行下面的操作
处理configuration中全部的MappedStatement
processConfiguration(Configuration, Class<?>) - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperHelper
配置指定的接口
propertyMap - 类 中的变量tk.mybatis.mapper.entity.EntityTable
 
propertyMap - 类 中的变量tk.mybatis.mapper.entity.Example.GeneratedCriteria
 
propertyMap - 类 中的变量tk.mybatis.mapper.entity.Example.OrderBy
 
propertyMap - 类 中的变量tk.mybatis.mapper.entity.Example
 
providerApplyWhereMethodGenerated(Method, TopLevelClass, IntrospectedTable) - 类 中的方法tk.mybatis.mapper.generator.MapperPlugin
 
providerGenerated(TopLevelClass, IntrospectedTable) - 类 中的方法tk.mybatis.mapper.generator.MapperPlugin
 
providerInsertSelectiveMethodGenerated(Method, TopLevelClass, IntrospectedTable) - 类 中的方法tk.mybatis.mapper.generator.MapperPlugin
 
providerUpdateByPrimaryKeySelectiveMethodGenerated(Method, TopLevelClass, IntrospectedTable) - 类 中的方法tk.mybatis.mapper.generator.MapperPlugin
 

R

registerMapper(Class<?>) - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperHelper
注册通用Mapper接口
registerMapper(String) - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperHelper
注册通用Mapper接口
registerSimpleType(Class<?>) - 类 中的静态方法tk.mybatis.mapper.util.SimpleTypeUtil
注册新的类型
registerSimpleType(String) - 类 中的静态方法tk.mybatis.mapper.util.SimpleTypeUtil
注册新的类型
RowBoundsMapper<T> - tk.mybatis.mapper.common中的接口
通用Mapper接口,带RowBounds参数的查询

配合分页插件PageHelper可以实现物理分页

PageHelper - http://git.oschina.net/free/Mybatis_PageHelper

S

select(T) - 接口 中的方法tk.mybatis.mapper.common.base.select.SelectMapper
根据实体中的属性值进行查询,查询条件使用等号
select(MappedStatement) - 类 中的方法tk.mybatis.mapper.provider.base.BaseSelectProvider
查询
SELECT_KEY_SUFFIX - 类 中的静态变量tk.mybatis.mapper.mapperhelper.SelectKeyGenerator
 
selectAll() - 接口 中的方法tk.mybatis.mapper.common.base.select.SelectAllMapper
查询全部结果
selectAll(MappedStatement) - 类 中的方法tk.mybatis.mapper.provider.base.BaseSelectProvider
查询全部结果
selectAllColumns(Class<?>) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
select xxx,xxx...
SelectAllMapper<T> - tk.mybatis.mapper.common.base.select中的接口
 
selectByCondition(Object) - 接口 中的方法tk.mybatis.mapper.common.condition.SelectByConditionMapper
根据Condition条件进行查询
selectByCondition(MappedStatement) - 类 中的方法tk.mybatis.mapper.provider.ConditionProvider
根据Condition查询
selectByConditionAndRowBounds(Object, RowBounds) - 接口 中的方法tk.mybatis.mapper.common.rowbounds.SelectByConditionRowBoundsMapper
根据example条件和RowBounds进行分页查询,该方法和selectByExampleAndRowBounds完全一样,只是名字改成了Condition
selectByConditionAndRowBounds(MappedStatement) - 类 中的方法tk.mybatis.mapper.provider.ConditionProvider
根据Condition查询
SelectByConditionMapper<T> - tk.mybatis.mapper.common.condition中的接口
通用Mapper接口,Condition查询
SelectByConditionRowBoundsMapper<T> - tk.mybatis.mapper.common.rowbounds中的接口
通用Mapper接口,Condition查询
selectByExample(Object) - 接口 中的方法tk.mybatis.mapper.common.example.SelectByExampleMapper
根据Example条件进行查询
selectByExample(MappedStatement) - 类 中的方法tk.mybatis.mapper.provider.ExampleProvider
根据Example查询
selectByExampleAndRowBounds(Object, RowBounds) - 接口 中的方法tk.mybatis.mapper.common.rowbounds.SelectByExampleRowBoundsMapper
根据example条件和RowBounds进行分页查询
selectByExampleAndRowBounds(MappedStatement) - 类 中的方法tk.mybatis.mapper.provider.ExampleProvider
根据Example查询
SelectByExampleMapper<T> - tk.mybatis.mapper.common.example中的接口
通用Mapper接口,Example查询
SelectByExampleRowBoundsMapper<T> - tk.mybatis.mapper.common.rowbounds中的接口
通用Mapper接口,查询
selectByIds(String) - 接口 中的方法tk.mybatis.mapper.common.ids.SelectByIdsMapper
根据主键字符串进行查询,类中只有存在一个带有@Id注解的字段
selectByIds(MappedStatement) - 类 中的方法tk.mybatis.mapper.provider.IdsProvider
根据主键字符串进行查询,类中只有存在一个带有@Id注解的字段
SelectByIdsMapper<T> - tk.mybatis.mapper.common.ids中的接口
通用Mapper接口,根据ids查询
selectByPrimaryKey(Object) - 接口 中的方法tk.mybatis.mapper.common.base.select.SelectByPrimaryKeyMapper
根据主键字段进行查询,方法参数必须包含完整的主键属性,查询条件使用等号
selectByPrimaryKey(MappedStatement) - 类 中的方法tk.mybatis.mapper.provider.base.BaseSelectProvider
根据主键进行查询
SelectByPrimaryKeyMapper<T> - tk.mybatis.mapper.common.base.select中的接口
通用Mapper接口,其他接口继承该接口即可

这是一个例子,自己扩展时可以参考

项目地址 : https://github.com/abel533/Mapper

selectByRowBounds(T, RowBounds) - 接口 中的方法tk.mybatis.mapper.common.rowbounds.SelectRowBoundsMapper
根据实体属性和RowBounds进行分页查询
selectByRowBounds(MappedStatement) - 类 中的方法tk.mybatis.mapper.provider.base.BaseSelectProvider
查询
selectColumns - 类 中的变量tk.mybatis.mapper.entity.Example
 
selectCount(T) - 接口 中的方法tk.mybatis.mapper.common.base.select.SelectCountMapper
根据实体中的属性查询总数,查询条件使用等号
selectCount(Class<?>) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
select count(x)
selectCount(MappedStatement) - 类 中的方法tk.mybatis.mapper.provider.base.BaseSelectProvider
查询总数
selectCountByCondition(Object) - 接口 中的方法tk.mybatis.mapper.common.condition.SelectCountByConditionMapper
根据Condition条件进行查询总数
selectCountByCondition(MappedStatement) - 类 中的方法tk.mybatis.mapper.provider.ConditionProvider
根据Condition查询总数
SelectCountByConditionMapper<T> - tk.mybatis.mapper.common.condition中的接口
通用Mapper接口,Condition查询
selectCountByExample(Object) - 接口 中的方法tk.mybatis.mapper.common.example.SelectCountByExampleMapper
根据Example条件进行查询总数
selectCountByExample(MappedStatement) - 类 中的方法tk.mybatis.mapper.provider.ExampleProvider
根据Example查询总数
SelectCountByExampleMapper<T> - tk.mybatis.mapper.common.example中的接口
通用Mapper接口,Example查询
selectCountExists(Class<?>) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
select case when count(x) > 0 then 1 else 0 end
SelectCountMapper<T> - tk.mybatis.mapper.common.base.select中的接口
通用Mapper接口,查询
SelectKeyGenerator - tk.mybatis.mapper.mapperhelper中的类
 
SelectKeyGenerator(MappedStatement, boolean) - 类 的构造器tk.mybatis.mapper.mapperhelper.SelectKeyGenerator
 
SelectMapper<T> - tk.mybatis.mapper.common.base.select中的接口
通用Mapper接口,查询
selectOne(T) - 接口 中的方法tk.mybatis.mapper.common.base.select.SelectOneMapper
根据实体中的属性进行查询,只能有一个返回值,有多个结果是抛出异常,查询条件使用等号
selectOne(MappedStatement) - 类 中的方法tk.mybatis.mapper.provider.base.BaseSelectProvider
查询
SelectOneMapper<T> - tk.mybatis.mapper.common.base.select中的接口
通用Mapper接口,查询
selectProperties(String...) - 类 中的方法tk.mybatis.mapper.entity.Example
指定要查询的属性列 - 这里会自动映射到表字段
SelectRowBoundsMapper<T> - tk.mybatis.mapper.common.rowbounds中的接口
通用Mapper接口,查询
setAndOr(String) - 类 中的方法tk.mybatis.mapper.entity.Example.Criterion
 
setAndOr(String) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
 
setBaseSelect(String) - 类 中的方法tk.mybatis.mapper.entity.EntityTable
 
setBEFORE(boolean) - 类 中的方法tk.mybatis.mapper.entity.Config
 
setCatalog(String) - 类 中的方法tk.mybatis.mapper.entity.Config
设置全局的catalog,默认为空,如果设置了值,操作表时的sql会是catalog.tablename
setCatalog(String) - 类 中的方法tk.mybatis.mapper.entity.EntityTable
 
setCheckExampleEntityClass(boolean) - 类 中的方法tk.mybatis.mapper.entity.Config
 
setColumn(String) - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
 
setConfig(Config) - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperHelper
设置通用Mapper配置
setContext(Context) - 类 中的方法tk.mybatis.mapper.generator.MapperPlugin
 
setCountProperty(String) - 类 中的方法tk.mybatis.mapper.entity.Example
指定 count(property) 查询属性
setDistinct(boolean) - 类 中的方法tk.mybatis.mapper.entity.Example
 
setEnableMethodAnnotation(boolean) - 类 中的方法tk.mybatis.mapper.entity.Config
 
setEntityClassColumns(Set<EntityColumn>) - 类 中的方法tk.mybatis.mapper.entity.EntityTable
 
setEntityClassPKColumns(Set<EntityColumn>) - 类 中的方法tk.mybatis.mapper.entity.EntityTable
 
setForUpdate(boolean) - 类 中的方法tk.mybatis.mapper.entity.Example
 
setGenerator(String) - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
 
setId(boolean) - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
 
setIDENTITY(String) - 类 中的方法tk.mybatis.mapper.entity.Config
主键自增回写方法,默认值MYSQL,详细说明请看文档
setIdentity(boolean) - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
 
setInsertable(boolean) - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
 
setJavaType(Class<?>) - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
 
setJavaType(Class<?>) - 类 中的方法tk.mybatis.mapper.entity.EntityField
设置javaType
setJdbcType(JdbcType) - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
 
setKeyColumns(List<String>) - 类 中的方法tk.mybatis.mapper.entity.EntityTable
 
setKeyColumns(String) - 类 中的方法tk.mybatis.mapper.entity.EntityTable
 
setKeyProperties(List<String>) - 类 中的方法tk.mybatis.mapper.entity.EntityTable
 
setKeyProperties(String) - 类 中的方法tk.mybatis.mapper.entity.EntityTable
 
setMapperHelper(MapperHelper) - 类 中的方法tk.mybatis.spring.mapper.MapperFactoryBean
 
setMapperHelper(MapperHelper) - 类 中的方法tk.mybatis.spring.mapper.MapperScannerConfigurer
 
setMarkerInterface(Class<?>) - 类 中的方法tk.mybatis.spring.mapper.MapperScannerConfigurer
 
setName(String) - 类 中的方法tk.mybatis.mapper.entity.EntityTable
 
setNotEmpty(boolean) - 类 中的方法tk.mybatis.mapper.entity.Config
 
setOrder(String) - 类 中的方法tk.mybatis.mapper.entity.Config
主键自增回写方法执行顺序,默认AFTER,可选值为(BEFORE|AFTER)
setOrderBy(String) - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
 
setOrderByClause(String) - 类 中的方法tk.mybatis.mapper.entity.EntityTable
 
setOrderByClause(String) - 类 中的方法tk.mybatis.mapper.entity.Example
 
setProperties(Properties) - 类 中的方法tk.mybatis.mapper.entity.Config
配置属性
setProperties(Properties) - 类 中的方法tk.mybatis.mapper.generator.MapperPlugin
 
setProperties(Properties) - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperHelper
配置属性
setProperties(Properties) - 类 中的方法tk.mybatis.spring.mapper.MapperScannerConfigurer
属性注入
setProperty(String) - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
 
setResultType(MappedStatement, Class<?>) - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperTemplate
设置返回值类型 - 为了让typeHandler在select时有效,改为设置resultMap
setSchema(String) - 类 中的方法tk.mybatis.mapper.entity.Config
设置全局的schema,默认为空,如果设置了值,操作表时的sql会是schema.tablename
如果同时设置了catalog,优先使用catalog.tablename
setSchema(String) - 类 中的方法tk.mybatis.mapper.entity.EntityTable
 
setSeqFormat(String) - 类 中的方法tk.mybatis.mapper.entity.Config
序列的获取规则,使用{num}格式化参数,默认值为{0}.nextval,针对Oracle
可选参数一共3个,对应0,1,2,3分别为SequenceName,ColumnName, PropertyName,TableName
setSequenceName(String) - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
 
setSqlSource(MappedStatement) - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperHelper
重新设置SqlSource

执行该方法前必须使用isMapperMethod判断,否则msIdCache会空

setSqlSource(MappedStatement, SqlSource) - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperTemplate
重新设置SqlSource,同时判断如果是Jdbc3KeyGenerator,就设置为MultipleJdbc3KeyGenerator
setSqlSource(MappedStatement) - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperTemplate
重新设置SqlSource
setStyle(Style) - 类 中的方法tk.mybatis.mapper.entity.Config
 
setTable(EntityTable) - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
 
setTable(Table) - 类 中的方法tk.mybatis.mapper.entity.EntityTable
 
setTableName(String) - 类 中的方法tk.mybatis.mapper.entity.Example
设置表名
setTypeHandler(Class<? extends TypeHandler<?>>) - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
 
setUpdatable(boolean) - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
 
setUseSimpleType(boolean) - 类 中的方法tk.mybatis.mapper.entity.Config
 
setUUID(String) - 类 中的方法tk.mybatis.mapper.entity.Config
设置UUID生成策略
配置UUID生成策略需要使用OGNL表达式
默认值32位长度:@java.util.UUID@randomUUID().toString().replace("-", "")
setUuid(boolean) - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
 
SimpleTypeUtil - tk.mybatis.mapper.util中的类
参考 org.apache.ibatis.type.SimpleTypeRegistry
SimpleTypeUtil() - 类 的构造器tk.mybatis.mapper.util.SimpleTypeUtil
 
SpecialProvider - tk.mybatis.mapper.provider中的类
SpecialProvider实现类,特殊方法实现类
SpecialProvider(Class<?>, MapperHelper) - 类 的构造器tk.mybatis.mapper.provider.SpecialProvider
 
SqlHelper - tk.mybatis.mapper.mapperhelper中的类
拼常用SQL的工具类
SqlHelper() - 类 的构造器tk.mybatis.mapper.mapperhelper.SqlHelper
 
sqlMapDeleteByPrimaryKeyElementGenerated(XmlElement, IntrospectedTable) - 类 中的方法tk.mybatis.mapper.generator.MapperPlugin
 
sqlMapInsertElementGenerated(XmlElement, IntrospectedTable) - 类 中的方法tk.mybatis.mapper.generator.MapperPlugin
 
sqlMapInsertSelectiveElementGenerated(XmlElement, IntrospectedTable) - 类 中的方法tk.mybatis.mapper.generator.MapperPlugin
 
sqlMapSelectAllElementGenerated(XmlElement, IntrospectedTable) - 类 中的方法tk.mybatis.mapper.generator.MapperPlugin
 
sqlMapSelectByPrimaryKeyElementGenerated(XmlElement, IntrospectedTable) - 类 中的方法tk.mybatis.mapper.generator.MapperPlugin
 
sqlMapUpdateByPrimaryKeySelectiveElementGenerated(XmlElement, IntrospectedTable) - 类 中的方法tk.mybatis.mapper.generator.MapperPlugin
 
sqlMapUpdateByPrimaryKeyWithBLOBsElementGenerated(XmlElement, IntrospectedTable) - 类 中的方法tk.mybatis.mapper.generator.MapperPlugin
 
sqlMapUpdateByPrimaryKeyWithoutBLOBsElementGenerated(XmlElement, IntrospectedTable) - 类 中的方法tk.mybatis.mapper.generator.MapperPlugin
 
SqlReservedWords - tk.mybatis.mapper.util中的类
This class contains a somewhat comprehensive list of SQL reserved words.
SqlServerMapper<T> - tk.mybatis.mapper.common中的接口
通用Mapper接口,SqlServerMapper独有的通用方法
SqlServerProvider - tk.mybatis.mapper.provider中的类
SqlServerProvider实现类,特殊方法实现类
SqlServerProvider(Class<?>, MapperHelper) - 类 的构造器tk.mybatis.mapper.provider.SqlServerProvider
 
StringUtil - tk.mybatis.mapper.util中的类
Created by liuzh_3nofxnp on 2015/8/26.
StringUtil() - 类 的构造器tk.mybatis.mapper.util.StringUtil
 
Style - tk.mybatis.mapper.code中的枚举
字段转换方式
supportMethod(String) - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperTemplate
是否支持该通用方法
supportMethod(String) - 类 中的方法tk.mybatis.mapper.provider.EmptyProvider
 

T

table - 类 中的变量tk.mybatis.mapper.entity.Example
 
tableName - 类 中的变量tk.mybatis.mapper.entity.Example
 
tableName(Class<?>) - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperTemplate
获取实体类的表名
tk.mybatis.mapper - 程序包 tk.mybatis.mapper
 
tk.mybatis.mapper.annotation - 程序包 tk.mybatis.mapper.annotation
 
tk.mybatis.mapper.code - 程序包 tk.mybatis.mapper.code
 
tk.mybatis.mapper.common - 程序包 tk.mybatis.mapper.common
 
tk.mybatis.mapper.common.base - 程序包 tk.mybatis.mapper.common.base
 
tk.mybatis.mapper.common.base.delete - 程序包 tk.mybatis.mapper.common.base.delete
 
tk.mybatis.mapper.common.base.insert - 程序包 tk.mybatis.mapper.common.base.insert
 
tk.mybatis.mapper.common.base.select - 程序包 tk.mybatis.mapper.common.base.select
 
tk.mybatis.mapper.common.base.update - 程序包 tk.mybatis.mapper.common.base.update
 
tk.mybatis.mapper.common.condition - 程序包 tk.mybatis.mapper.common.condition
 
tk.mybatis.mapper.common.example - 程序包 tk.mybatis.mapper.common.example
 
tk.mybatis.mapper.common.ids - 程序包 tk.mybatis.mapper.common.ids
 
tk.mybatis.mapper.common.rowbounds - 程序包 tk.mybatis.mapper.common.rowbounds
 
tk.mybatis.mapper.common.special - 程序包 tk.mybatis.mapper.common.special
 
tk.mybatis.mapper.common.sqlserver - 程序包 tk.mybatis.mapper.common.sqlserver
 
tk.mybatis.mapper.entity - 程序包 tk.mybatis.mapper.entity
 
tk.mybatis.mapper.generator - 程序包 tk.mybatis.mapper.generator
 
tk.mybatis.mapper.mapperhelper - 程序包 tk.mybatis.mapper.mapperhelper
 
tk.mybatis.mapper.provider - 程序包 tk.mybatis.mapper.provider
 
tk.mybatis.mapper.provider.base - 程序包 tk.mybatis.mapper.provider.base
 
tk.mybatis.mapper.util - 程序包 tk.mybatis.mapper.util
 
tk.mybatis.spring.mapper - 程序包 tk.mybatis.spring.mapper
 
TkMyBatis3Impl - tk.mybatis.mapper.generator中的类
可以通过MBG1.3.4+版本提供的table元素的mapperName属性设置统一的名称,使用{0}作为实体类名的占位符。
TkMyBatis3Impl() - 类 的构造器tk.mybatis.mapper.generator.TkMyBatis3Impl
 
TkMyBatis3SimpleImpl - tk.mybatis.mapper.generator中的类
可以通过MBG1.3.4+版本提供的table元素的mapperName属性设置统一的名称,使用{0}作为实体类名的占位符。
TkMyBatis3SimpleImpl() - 类 的构造器tk.mybatis.mapper.generator.TkMyBatis3SimpleImpl
 
toLowerAscii(char) - 类 中的静态方法tk.mybatis.mapper.util.StringUtil
 
toUpperAscii(char) - 类 中的静态方法tk.mybatis.mapper.util.StringUtil
 

U

underlineToCamelhump(String) - 类 中的静态方法tk.mybatis.mapper.util.StringUtil
将下划线风格替换为驼峰风格
updateByCondition(T, Object) - 接口 中的方法tk.mybatis.mapper.common.condition.UpdateByConditionMapper
根据Condition条件更新实体`record`包含的全部属性,null值会被更新
updateByCondition(MappedStatement) - 类 中的方法tk.mybatis.mapper.provider.ConditionProvider
根据Condition更新
UpdateByConditionMapper<T> - tk.mybatis.mapper.common.condition中的接口
通用Mapper接口,Condition查询
updateByConditionSelective(T, Object) - 接口 中的方法tk.mybatis.mapper.common.condition.UpdateByConditionSelectiveMapper
根据Condition条件更新实体`record`包含的不是null的属性值
updateByConditionSelective(MappedStatement) - 类 中的方法tk.mybatis.mapper.provider.ConditionProvider
根据Example更新非null字段
UpdateByConditionSelectiveMapper<T> - tk.mybatis.mapper.common.condition中的接口
通用Mapper接口,Condition查询
updateByExample(T, Object) - 接口 中的方法tk.mybatis.mapper.common.example.UpdateByExampleMapper
根据Example条件更新实体`record`包含的全部属性,null值会被更新
updateByExample(MappedStatement) - 类 中的方法tk.mybatis.mapper.provider.ExampleProvider
根据Example更新
UpdateByExampleMapper<T> - tk.mybatis.mapper.common.example中的接口
通用Mapper接口,Example查询
updateByExampleSelective(T, Object) - 接口 中的方法tk.mybatis.mapper.common.example.UpdateByExampleSelectiveMapper
根据Example条件更新实体`record`包含的不是null的属性值
updateByExampleSelective(MappedStatement) - 类 中的方法tk.mybatis.mapper.provider.ExampleProvider
根据Example更新非null字段
UpdateByExampleSelectiveMapper<T> - tk.mybatis.mapper.common.example中的接口
通用Mapper接口,Example查询
updateByExampleWhereClause(Configuration) - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperTemplate
已过时。
4.x版本会移除该方法
updateByExampleWhereClause() - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
Example-Update中的where结构,用于多个参数时,Example带@Param("example")注解时
updateByPrimaryKey(T) - 接口 中的方法tk.mybatis.mapper.common.base.update.UpdateByPrimaryKeyMapper
根据主键更新实体全部字段,null值会被更新
updateByPrimaryKey(MappedStatement) - 类 中的方法tk.mybatis.mapper.provider.base.BaseUpdateProvider
通过主键更新全部字段
UpdateByPrimaryKeyMapper<T> - tk.mybatis.mapper.common.base.update中的接口
通用Mapper接口,更新
updateByPrimaryKeySelective(T) - 接口 中的方法tk.mybatis.mapper.common.base.update.UpdateByPrimaryKeySelectiveMapper
根据主键更新属性不为null的值
updateByPrimaryKeySelective(MappedStatement) - 类 中的方法tk.mybatis.mapper.provider.base.BaseUpdateProvider
通过主键更新不为null的字段
UpdateByPrimaryKeySelectiveMapper<T> - tk.mybatis.mapper.common.base.update中的接口
通用Mapper接口,更新
updateSetColumns(Class<?>, String, boolean, boolean) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
update set列
updateTable(Class<?>, String) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
update tableName - 动态表名
updateTable(Class<?>, String, String) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
update tableName - 动态表名

V

validate(List<String>) - 类 中的方法tk.mybatis.mapper.generator.MapperPlugin
 
valueOf(String) - 枚举 中的静态方法tk.mybatis.mapper.code.IdentityDialect
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法tk.mybatis.mapper.code.Style
返回带有指定名称的该类型的枚举常量。
values() - 枚举 中的静态方法tk.mybatis.mapper.code.IdentityDialect
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法tk.mybatis.mapper.code.Style
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。

W

whereAllIfColumns(Class<?>, boolean) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
where所有列的条件,会判断是否!
wherePKColumns(Class<?>) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
where主键条件
A B C D E F G H I M N O P R S T U V W 
跳过导航链接

Copyright © 2017. All rights reserved.