A B C D E F G H I J K L M N O P R S T U V W
所有类 所有程序包
所有类 所有程序包
所有类 所有程序包
A
- addCriterion(String) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
- addCriterion(String, Object, Object, String) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
- addCriterion(String, Object, String) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
- addMappedStatement(MappedStatement) - 类 中的方法tk.mybatis.mapper.session.Configuration
- addMethodMap(String, Method) - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperTemplate
-
添加映射方法
- addOrCriterion(String) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
- addOrCriterion(String, Object, Object, String) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
- addOrCriterion(String, Object, String) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
- AFTER - tk.mybatis.mapper.code.ORDER
- and() - 类 中的方法tk.mybatis.mapper.entity.Example
- and(Example.Criteria) - 类 中的方法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
- andBetween(String, Object, Object) - 类 中的方法tk.mybatis.mapper.util.Sqls
- andCondition(String) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
-
手写条件
- andCondition(String, Object) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
-
手写左边条件,右边用value值
- andEqualTo(Object) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
-
将此对象的不为空的字段参数作为相等查询条件
- andEqualTo(String, Object) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
- andEqualTo(String, Object) - 类 中的方法tk.mybatis.mapper.util.Sqls
- andGreaterThan(String, Object) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
- andGreaterThan(String, Object) - 类 中的方法tk.mybatis.mapper.util.Sqls
- andGreaterThanOrEqualTo(String, Object) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
- andGreaterThanOrEqualTo(String, Object) - 类 中的方法tk.mybatis.mapper.util.Sqls
- andIn(String, Iterable) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
- andIn(String, Iterable) - 类 中的方法tk.mybatis.mapper.util.Sqls
- andIsNotNull(String) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
- andIsNotNull(String) - 类 中的方法tk.mybatis.mapper.util.Sqls
- andIsNull(String) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
- andIsNull(String) - 类 中的方法tk.mybatis.mapper.util.Sqls
- andLessThan(String, Object) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
- andLessThan(String, Object) - 类 中的方法tk.mybatis.mapper.util.Sqls
- andLessThanOrEqualTo(String, Object) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
- andLessThanOrEqualTo(String, Object) - 类 中的方法tk.mybatis.mapper.util.Sqls
- andLike(String, String) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
- andLike(String, String) - 类 中的方法tk.mybatis.mapper.util.Sqls
- andNotBetween(String, Object, Object) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
- andNotBetween(String, Object, Object) - 类 中的方法tk.mybatis.mapper.util.Sqls
- andNotEqualTo(String, Object) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
- andNotEqualTo(String, Object) - 类 中的方法tk.mybatis.mapper.util.Sqls
- andNotIn(String, Iterable) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
- andNotIn(String, Iterable) - 类 中的方法tk.mybatis.mapper.util.Sqls
- andNotLike(String, String) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
- andNotLike(String, String) - 类 中的方法tk.mybatis.mapper.util.Sqls
- andNotLogicDelete(Object) - 类 中的静态方法tk.mybatis.mapper.util.OGNL
-
拼接逻辑删除字段的未删除查询条件
- andOr - 类 中的变量tk.mybatis.mapper.entity.Example.GeneratedCriteria
- andOr(Object) - 类 中的静态方法tk.mybatis.mapper.util.OGNL
-
判断条件是 and 还是 or
- andWhere(SqlsCriteria) - 类 中的方法tk.mybatis.mapper.entity.Example.Builder
- andWhere(Sqls) - 类 中的方法tk.mybatis.mapper.entity.Example.Builder
- asc() - 类 中的方法tk.mybatis.mapper.entity.Example.OrderBy
- Assert - tk.mybatis.mapper.util中的类
- Assert() - 类 的构造器tk.mybatis.mapper.util.Assert
B
- BEFORE - tk.mybatis.mapper.code.ORDER
- build() - 类 中的方法tk.mybatis.mapper.entity.Example.Builder
- builder(Class<?>) - 类 中的静态方法tk.mybatis.mapper.entity.Example
- Builder(Class<?>) - 类 的构造器tk.mybatis.mapper.entity.Example.Builder
- Builder(Class<?>, boolean) - 类 的构造器tk.mybatis.mapper.entity.Example.Builder
- Builder(Class<?>, boolean, boolean) - 类 的构造器tk.mybatis.mapper.entity.Example.Builder
C
- CACHE - 类 中的静态变量tk.mybatis.mapper.genid.GenIdUtil
- camelhump - tk.mybatis.mapper.code.Style
- camelhumpAndLowercase - tk.mybatis.mapper.code.Style
- camelhumpAndUppercase - tk.mybatis.mapper.code.Style
- camelhumpToUnderline(String) - 类 中的静态方法tk.mybatis.mapper.util.StringUtil
-
将驼峰风格替换为下划线风格
- checkExampleEntityClass(Object, String) - 类 中的静态方法tk.mybatis.mapper.util.OGNL
-
校验通用 Example 的 entityClass 和当前方法是否匹配
- CLASS_CACHE - 类 中的静态变量tk.mybatis.mapper.util.MsUtil
- clear() - 类 中的方法tk.mybatis.mapper.entity.Example
- CLOUDSCAPE - tk.mybatis.mapper.code.IdentityDialect
- column() - 注释类型 中的方法tk.mybatis.mapper.annotation.ColumnType
- 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
- Config - tk.mybatis.mapper.entity中的类
-
通用Mapper属性配置
- Config() - 类 的构造器tk.mybatis.mapper.entity.Config
- Configuration - tk.mybatis.mapper.session中的类
-
使用提供的 Configuration 可以在纯 Java 或者 Spring(mybatis-spring-1.3.0+) 模式中使用
- Configuration() - 类 的构造器tk.mybatis.mapper.session.Configuration
- 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 - 类 中的变量tk.mybatis.mapper.entity.Example.GeneratedCriteria
- Criteria() - 类 的构造器tk.mybatis.mapper.util.Sqls.Criteria
- Criteria(Map<String, EntityColumn>, boolean, boolean) - 类 的构造器tk.mybatis.mapper.entity.Example.Criteria
- Criterion(String) - 类 的构造器tk.mybatis.mapper.entity.Example.Criterion
- Criterion(String, boolean) - 类 的构造器tk.mybatis.mapper.entity.Example.Criterion
- Criterion(String, Object) - 类 的构造器tk.mybatis.mapper.entity.Example.Criterion
- Criterion(String, Object, boolean) - 类 的构造器tk.mybatis.mapper.entity.Example.Criterion
- Criterion(String, Object, Object) - 类 的构造器tk.mybatis.mapper.entity.Example.Criterion
- Criterion(String, Object, Object, boolean) - 类 的构造器tk.mybatis.mapper.entity.Example.Criterion
- Criterion(String, Object, Object, String) - 类 的构造器tk.mybatis.mapper.entity.Example.Criterion
- Criterion(String, Object, Object, String, boolean) - 类 的构造器tk.mybatis.mapper.entity.Example.Criterion
- Criterion(String, Object, Object, String, String) - 类 的构造器tk.mybatis.mapper.util.Sqls.Criterion
- Criterion(String, Object, String) - 类 的构造器tk.mybatis.mapper.entity.Example.Criterion
- Criterion(String, Object, String, boolean) - 类 的构造器tk.mybatis.mapper.entity.Example.Criterion
- Criterion(String, Object, String, String) - 类 的构造器tk.mybatis.mapper.util.Sqls.Criterion
- Criterion(String, String, String) - 类 的构造器tk.mybatis.mapper.util.Sqls.Criterion
- custom() - 类 中的静态方法tk.mybatis.mapper.util.Sqls
D
- DB2 - tk.mybatis.mapper.code.IdentityDialect
- DB2_MF - tk.mybatis.mapper.code.IdentityDialect
- DEFAULT - tk.mybatis.mapper.code.IdentityDialect
- DEFAULT - tk.mybatis.mapper.code.ORDER
- DefaultEntityResolve - tk.mybatis.mapper.mapperhelper.resolve中的类
- DefaultEntityResolve() - 类 的构造器tk.mybatis.mapper.mapperhelper.resolve.DefaultEntityResolve
- DefaultNextVersion - tk.mybatis.mapper.version中的类
- DefaultNextVersion() - 类 的构造器tk.mybatis.mapper.version.DefaultNextVersion
- deleteFromTable(Class<?>, String) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
-
delete tableName - 动态表名
- DELIMITER - 类 中的静态变量tk.mybatis.mapper.entity.EntityTable
- DERBY - tk.mybatis.mapper.code.IdentityDialect
- desc() - 类 中的方法tk.mybatis.mapper.entity.Example.OrderBy
- dialect() - 注释类型 中的方法tk.mybatis.mapper.annotation.KeySql
-
优先级第二,根据配置的数据库类型取回主键,忽略其他配置
- distinct - 类 中的变量tk.mybatis.mapper.entity.Example
- distinct() - 类 中的方法tk.mybatis.mapper.entity.Example.Builder
- dynamicSQL(Object) - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperTemplate
-
该方法仅仅用来初始化ProviderSqlSource
E
- EmptyProvider - tk.mybatis.mapper.provider中的类
-
空方法Mapper接口默认MapperTemplate
- 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中的类
-
实体类工具类 - 处理实体和数据库表以及字段关键的一个类
- EntityHelper() - 类 的构造器tk.mybatis.mapper.mapperhelper.EntityHelper
- EntityResolve - tk.mybatis.mapper.mapperhelper.resolve中的接口
-
解析实体类接口
- 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.Builder - tk.mybatis.mapper.entity中的类
- 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
- exampleHasAtLeastOneCriteriaCheck(Object) - 类 中的静态方法tk.mybatis.mapper.util.OGNL
-
检查 paremeter 对象中指定的 fields 是否全是 null,如果是则抛出异常
- exampleHasAtLeastOneCriteriaCheck(String) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
-
Example 中包含至少 1 个查询条件
- exampleOrderBy(Class<?>) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
-
example查询中的orderBy条件,会判断默认orderBy
- exampleOrderBy(String, Class<?>) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
-
example查询中的orderBy条件,会判断默认orderBy
- exampleSelectColumns(Class<?>) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
-
example支持查询指定列时
- 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
F
- FieldHelper - tk.mybatis.mapper.mapperhelper中的类
-
类字段工具类
- FieldHelper() - 类 的构造器tk.mybatis.mapper.mapperhelper.FieldHelper
- forObject(Object) - 类 中的静态方法tk.mybatis.mapper.util.MetaObjectUtil
- forUpdate - 类 中的变量tk.mybatis.mapper.entity.Example
- forUpdate() - 类 中的方法tk.mybatis.mapper.entity.Example.Builder
- from(String) - 类 中的方法tk.mybatis.mapper.entity.Example.Builder
- fromTable(Class<?>, String) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
-
from tableName - 动态表名
G
- GeneratedCriteria(Map<String, EntityColumn>, boolean, boolean) - 类 的构造器tk.mybatis.mapper.entity.Example.GeneratedCriteria
- genId() - 注释类型 中的方法tk.mybatis.mapper.annotation.KeySql
-
Java 方式生成主键,可以和发号器一类的服务配合使用
- genId(Object, String, Class<? extends GenId>, String, String) - 类 中的静态方法tk.mybatis.mapper.genid.GenIdUtil
-
生成 Id
- genId(String, String) - 接口 中的方法tk.mybatis.mapper.genid.GenId
- genId(String, String) - 类 中的方法tk.mybatis.mapper.genid.GenId.NULL
- GenId<T> - tk.mybatis.mapper.genid中的接口
-
不提供具体的实现,这里提供一个思路。
- GenId.NULL - tk.mybatis.mapper.genid中的类
- GenIdUtil - tk.mybatis.mapper.genid中的类
- GenIdUtil() - 类 的构造器tk.mybatis.mapper.genid.GenIdUtil
- genSql() - 注释类型 中的方法tk.mybatis.mapper.annotation.KeySql
-
生成 SQL,初始化时执行,优先级低于 sql
- genSql(EntityTable, EntityColumn) - 接口 中的方法tk.mybatis.mapper.gensql.GenSql
- genSql(EntityTable, EntityColumn) - 类 中的方法tk.mybatis.mapper.gensql.GenSql.NULL
- GenSql - tk.mybatis.mapper.gensql中的接口
-
生成 SQL,初始化时执行
- GenSql.NULL - tk.mybatis.mapper.gensql中的类
- getAll(Class<?>) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.FieldHelper
-
获取全部的属性,包含字段和方法
- getAllColumns(Class<?>) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
-
获取所有查询列,如id,name,code...
- getAllCriteria() - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
- getAndOr() - 类 中的方法tk.mybatis.mapper.entity.Example.Criterion
- getAndOr() - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
- getAndOr() - 类 中的方法tk.mybatis.mapper.util.Sqls.Criteria
- getAndOr() - 类 中的方法tk.mybatis.mapper.util.Sqls.Criterion
- 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}
- 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},
- getColumns(Class<?>) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.EntityHelper
-
获取全部列
- getCondition() - 类 中的方法tk.mybatis.mapper.entity.Example.Criterion
- getCondition() - 类 中的方法tk.mybatis.mapper.util.Sqls.Criterion
- getConfig() - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperHelper
-
获取通用Mapper配置
- getConfig() - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperTemplate
- getCountColumn() - 类 中的方法tk.mybatis.mapper.entity.Example
- getCriteria() - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
- getCriteria() - 接口 中的方法tk.mybatis.mapper.entity.SqlsCriteria
- getCriteria() - 类 中的方法tk.mybatis.mapper.util.Sqls
- getCriterions() - 类 中的方法tk.mybatis.mapper.util.Sqls.Criteria
- getDatabaseDialect(String) - 枚举 中的静态方法tk.mybatis.mapper.code.IdentityDialect
- 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的注解值
- 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
- getEntityField() - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
- getEntityTable(Class<?>) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.EntityHelper
-
获取表对象
- getFields(Class<?>) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.FieldHelper
-
获取全部的Field
- getGenerator() - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
- getGenIdClass() - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
- getIdentity() - 类 中的方法tk.mybatis.mapper.entity.Config
- 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, String) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
-
如果_cache == null
- getIfCacheNotNull(EntityColumn, String) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
-
- getIfIsNull(String, EntityColumn, String, boolean) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
-
判断自动==null的条件结构
- getIfIsNull(EntityColumn, String, boolean) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
-
判断自动==null的条件结构
- getIfNotNull(String, EntityColumn, String, boolean) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
-
判断自动!
- getIfNotNull(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
- getLogicDeleteColumn(Class<?>) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
-
获取逻辑删除注解的列,若没有返回null
- getLogicDeletedValue(EntityColumn, boolean) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
-
获取逻辑删除注解的参数值
- getMapperClass(String) - 类 中的静态方法tk.mybatis.mapper.util.MsUtil
-
根据msId获取接口类
- getMappers() - 类 中的方法tk.mybatis.mapper.entity.Config
- getMapperTemplateByMsId(String) - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperHelper
-
根据 msId 获取 MapperTemplate
- getMethodName(String) - 类 中的静态方法tk.mybatis.mapper.util.MsUtil
-
获取执行的方法名
- getMethodName(MappedStatement) - 类 中的静态方法tk.mybatis.mapper.util.MsUtil
-
获取执行的方法名
- getName() - 类 中的方法tk.mybatis.mapper.entity.EntityField
-
字段属性名
- getName() - 类 中的方法tk.mybatis.mapper.entity.EntityTable
- getOrder() - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
- 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语句
- getOrderPriority() - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
- 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
- getProperties(Class<?>) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.FieldHelper
-
获取全部的属性,通过方法名获取
- getProperty() - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
- getProperty() - 类 中的方法tk.mybatis.mapper.util.Sqls.Criterion
- getPropertyMap() - 类 中的方法tk.mybatis.mapper.entity.EntityTable
- getPropertyMap() - 类 中的方法tk.mybatis.mapper.entity.Example
- getResolveClass() - 类 中的方法tk.mybatis.mapper.entity.Config
- 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
- getSecondValue() - 类 中的方法tk.mybatis.mapper.util.Sqls.Criterion
- getSelectColumns() - 类 中的方法tk.mybatis.mapper.entity.Example
- getSelectColumns(Class<?>) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.EntityHelper
-
获取查询的Select
- getSeqFormat() - 类 中的方法tk.mybatis.mapper.entity.Config
-
获取序列格式化模板
- 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
- getValue() - 类 中的方法tk.mybatis.mapper.entity.Example.Criterion
- getValue() - 类 中的方法tk.mybatis.mapper.util.Sqls.Criterion
- getValue(Object) - 类 中的方法tk.mybatis.mapper.entity.EntityField
-
反射获取值
- getValues() - 类 中的方法tk.mybatis.mapper.util.Sqls.Criterion
- getWrapKeyword() - 类 中的方法tk.mybatis.mapper.entity.Config
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
- hasLogicDeleteColumn(Class<?>) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
-
是否有逻辑删除的注解
- hasNoSelectColumns(Object) - 类 中的静态方法tk.mybatis.mapper.util.OGNL
-
不包含自定义查询列
- hasSelectColumns(Object) - 类 中的静态方法tk.mybatis.mapper.util.OGNL
-
是否包含自定义查询列
- HSQLDB - tk.mybatis.mapper.code.IdentityDialect
I
- IdentityDialect - tk.mybatis.mapper.code中的枚举
- IDynamicTableName - tk.mybatis.mapper.entity中的接口
-
实现动态表名时,实体类需要实现该接口
- INFORMIX - tk.mybatis.mapper.code.IdentityDialect
- initEntityNameMap(Class<?>, Config) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.EntityHelper
-
初始化实体属性
- initPropertyMap() - 类 中的方法tk.mybatis.mapper.entity.EntityTable
-
初始化 - Example 会使用
- insertColumns(Class<?>, boolean, boolean, boolean) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
-
insert table()列
- insertIntoTable(Class<?>, String) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
-
insert into tableName - 动态表名
- insertIntoTable(Class<?>, String, String) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
-
insert into tableName - 动态表名
- 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
- isBEFORE() - 类 中的方法tk.mybatis.mapper.entity.Config
-
获取SelectKey的Order
- isBEFORE() - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperTemplate
- isBetweenValue() - 类 中的方法tk.mybatis.mapper.entity.Example.Criterion
- isBlob() - 注释类型 中的方法tk.mybatis.mapper.annotation.ColumnType
-
是否为 BLOB 字段
- isBlob() - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
- isCheckExampleEntityClass() - 类 中的方法tk.mybatis.mapper.entity.Config
- isCheckExampleEntityClass() - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperTemplate
- isDeletedValue() - 注释类型 中的方法tk.mybatis.mapper.annotation.LogicDelete
- 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
- isEnumAsSimpleType() - 类 中的方法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
- isNull(Object, String) - 类 中的静态方法tk.mybatis.mapper.util.Assert
- isSafeDelete() - 类 中的方法tk.mybatis.mapper.entity.Config
- isSafeUpdate() - 类 中的方法tk.mybatis.mapper.entity.Config
- isSimpleType(Class<?>) - 类 中的静态方法tk.mybatis.mapper.util.SimpleTypeUtil
- isSingleValue() - 类 中的方法tk.mybatis.mapper.entity.Example.Criterion
- isTrue(boolean, String) - 类 中的静态方法tk.mybatis.mapper.util.Assert
- isUpdatable() - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
- isUppercaseAlpha(char) - 类 中的静态方法tk.mybatis.mapper.util.StringUtil
- isUseJavaType() - 类 中的方法tk.mybatis.mapper.entity.Config
- isUseJavaType() - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
- isUseSimpleType() - 类 中的方法tk.mybatis.mapper.entity.Config
- isValid() - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
J
- JAVA8_DATE_TIME - 类 中的静态变量tk.mybatis.mapper.util.SimpleTypeUtil
- jdbcType() - 注释类型 中的方法tk.mybatis.mapper.annotation.ColumnType
K
- KeySql - tk.mybatis.mapper.annotation中的注释类型
-
主键策略,用于替换 JPA 中的复杂用法
L
- LOCK - 类 中的静态变量tk.mybatis.mapper.genid.GenIdUtil
- LogicDelete - tk.mybatis.mapper.annotation中的注释类型
-
逻辑删除
- logicDeleteColumnEqualsValue(Class<?>, boolean) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
-
返回格式: column = value
默认isDeletedValue = 1 notDeletedValue = 0
则返回is_deleted = 1 或 is_deleted = 0
若没有逻辑删除注解,则返回空字符串 - logicDeleteColumnEqualsValue(EntityColumn, boolean) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
-
返回格式: column = value
默认isDeletedValue = 1 notDeletedValue = 0
则返回is_deleted = 1 或 is_deleted = 0
若没有逻辑删除注解,则返回空字符串 - LogicDeleteException - tk.mybatis.mapper中的异常错误
- LogicDeleteException() - 异常错误 的构造器tk.mybatis.mapper.LogicDeleteException
- LogicDeleteException(String) - 异常错误 的构造器tk.mybatis.mapper.LogicDeleteException
- LogicDeleteException(String, Throwable) - 异常错误 的构造器tk.mybatis.mapper.LogicDeleteException
- LogicDeleteException(Throwable) - 异常错误 的构造器tk.mybatis.mapper.LogicDeleteException
- lowercase - tk.mybatis.mapper.code.Style
M
- mapperClass - 类 中的变量tk.mybatis.mapper.mapperhelper.MapperTemplate
- 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
- mapperHelper - 类 中的变量tk.mybatis.mapper.mapperhelper.MapperTemplate
- MapperHelper - tk.mybatis.mapper.mapperhelper中的类
-
处理主要逻辑,最关键的一个类
- MapperHelper() - 类 的构造器tk.mybatis.mapper.mapperhelper.MapperHelper
-
默认构造方法
- MapperHelper(Properties) - 类 的构造器tk.mybatis.mapper.mapperhelper.MapperHelper
-
带配置的构造方法
- MapperTemplate - tk.mybatis.mapper.mapperhelper中的类
-
通用Mapper模板类,扩展通用Mapper时需要继承该类
- MapperTemplate(Class<?>, MapperHelper) - 类 的构造器tk.mybatis.mapper.mapperhelper.MapperTemplate
- MetaObjectUtil - tk.mybatis.mapper.util中的类
-
来自 分页插件 PageHelper
- MetaObjectUtil() - 类 的构造器tk.mybatis.mapper.util.MetaObjectUtil
- method - 类 中的静态变量tk.mybatis.mapper.util.MetaObjectUtil
- methodMap - 类 中的变量tk.mybatis.mapper.mapperhelper.MapperTemplate
- MsUtil - tk.mybatis.mapper.util中的类
- MsUtil() - 类 的构造器tk.mybatis.mapper.util.MsUtil
- MYSQL - tk.mybatis.mapper.code.IdentityDialect
N
- NameStyle - tk.mybatis.mapper.annotation中的注释类型
-
名字转换样式,注解的优先级高于全局配置
- newSelectKeyMappedStatement(MappedStatement, EntityColumn, Class<?>, Boolean, String) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SelectKeyHelper
-
新建SelectKey节点
- nextVersion() - 注释类型 中的方法tk.mybatis.mapper.annotation.Version
-
下一个版本号的算法,默认算法支持 Integer 和 Long,在原基础上 +1
- nextVersion(Class<? extends NextVersion>, Object) - 类 中的静态方法tk.mybatis.mapper.version.VersionUtil
-
获取下一个版本
- nextVersion(Object) - 类 中的方法tk.mybatis.mapper.version.DefaultNextVersion
- nextVersion(T) - 接口 中的方法tk.mybatis.mapper.version.NextVersion
-
返回下一个版本
- NextVersion<T> - tk.mybatis.mapper.version中的接口
- normal - tk.mybatis.mapper.code.Style
- notAllNullParameterCheck(Object, String) - 类 中的静态方法tk.mybatis.mapper.util.OGNL
-
检查 paremeter 对象中指定的 fields 是否全是 null,如果是则抛出异常
- notAllNullParameterCheck(String, Set<EntityColumn>) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
-
不是所有参数都是 null 的检查
- notDeletedValue() - 注释类型 中的方法tk.mybatis.mapper.annotation.LogicDelete
- notEmpty(Object[], String) - 类 中的静态方法tk.mybatis.mapper.util.Assert
- notEmpty(String, String) - 类 中的静态方法tk.mybatis.mapper.util.Assert
- notEmpty(Collection<T>, String) - 类 中的静态方法tk.mybatis.mapper.util.Assert
- notEmpty(Map<K, V>, String) - 类 中的静态方法tk.mybatis.mapper.util.Assert
- notEmptyCollectionCheck(Object, String) - 类 中的静态方法tk.mybatis.mapper.util.OGNL
-
校验集合类型参数不能为空
- notNull - 类 中的变量tk.mybatis.mapper.entity.Example.GeneratedCriteria
- notNull - 类 中的变量tk.mybatis.mapper.entity.Example
- notNull(T, String) - 类 中的静态方法tk.mybatis.mapper.util.Assert
- notSelect(String...) - 类 中的方法tk.mybatis.mapper.entity.Example.Builder
- NULL - tk.mybatis.mapper.code.IdentityDialect
- NULL() - 类 的构造器tk.mybatis.mapper.genid.GenId.NULL
- NULL() - 类 的构造器tk.mybatis.mapper.gensql.GenSql.NULL
O
- OGNL - tk.mybatis.mapper.util中的类
-
OGNL静态方法
- OGNL() - 类 的构造器tk.mybatis.mapper.util.OGNL
- or() - 类 中的方法tk.mybatis.mapper.entity.Example
- or(Example.Criteria) - 类 中的方法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
- orBetween(String, Object, Object) - 类 中的方法tk.mybatis.mapper.util.Sqls
- orCondition(String) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
-
手写条件
- orCondition(String, Object) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
-
手写左边条件,右边用value值
- order() - 注释类型 中的方法tk.mybatis.mapper.annotation.KeySql
-
和 sql 可以配合使用,默认使用全局配置中的 ORDER
- Order - tk.mybatis.mapper.annotation中的注释类型
- ORDER - tk.mybatis.mapper.code中的枚举
-
执行 SQL 的时机
- orderBy(String) - 类 中的方法tk.mybatis.mapper.entity.Example
- orderBy(String) - 类 中的方法tk.mybatis.mapper.entity.Example.OrderBy
- orderBy(String...) - 类 中的方法tk.mybatis.mapper.entity.Example.Builder
- OrderBy(Example, Map<String, EntityColumn>) - 类 的构造器tk.mybatis.mapper.entity.Example.OrderBy
- ORDERBY - 类 中的变量tk.mybatis.mapper.entity.Example
- orderByAsc(String...) - 类 中的方法tk.mybatis.mapper.entity.Example.Builder
- orderByClause - 类 中的变量tk.mybatis.mapper.entity.Example
- orderByDefault(Class<?>) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
-
获取默认的orderBy,通过注解设置的
- orderByDesc(String...) - 类 中的方法tk.mybatis.mapper.entity.Example.Builder
- oredCriteria - 类 中的变量tk.mybatis.mapper.entity.Example
- orEqualTo(Object) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
-
将此对象的不为空的字段参数作为相等查询条件
- orEqualTo(String, Object) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
- orEqualTo(String, Object) - 类 中的方法tk.mybatis.mapper.util.Sqls
- orGreaterThan(String, Object) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
- orGreaterThan(String, Object) - 类 中的方法tk.mybatis.mapper.util.Sqls
- orGreaterThanOrEqualTo(String, Object) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
- orGreaterThanOrEqualTo(String, Object) - 类 中的方法tk.mybatis.mapper.util.Sqls
- orIn(String, Iterable) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
- orIn(String, Iterable) - 类 中的方法tk.mybatis.mapper.util.Sqls
- orIsNotNull(String) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
- orIsNotNull(String) - 类 中的方法tk.mybatis.mapper.util.Sqls
- orIsNull(String) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
- orIsNull(String) - 类 中的方法tk.mybatis.mapper.util.Sqls
- orLessThan(String, Object) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
- orLessThan(String, Object) - 类 中的方法tk.mybatis.mapper.util.Sqls
- orLessThanOrEqualTo(String, Object) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
- orLessThanOrEqualTo(String, Object) - 类 中的方法tk.mybatis.mapper.util.Sqls
- orLike(String, String) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
- orLike(String, String) - 类 中的方法tk.mybatis.mapper.util.Sqls
- orNotBetween(String, Object, Object) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
- orNotBetween(String, Object, Object) - 类 中的方法tk.mybatis.mapper.util.Sqls
- orNotEqualTo(String, Object) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
- orNotEqualTo(String, Object) - 类 中的方法tk.mybatis.mapper.util.Sqls
- orNotIn(String, Iterable) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
- orNotIn(String, Iterable) - 类 中的方法tk.mybatis.mapper.util.Sqls
- orNotLike(String, String) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
- orNotLike(String, String) - 类 中的方法tk.mybatis.mapper.util.Sqls
- orWhere(SqlsCriteria) - 类 中的方法tk.mybatis.mapper.entity.Example.Builder
- orWhere(Sqls) - 类 中的方法tk.mybatis.mapper.entity.Example.Builder
P
- PREFIX - 类 中的静态变量tk.mybatis.mapper.entity.Config
- priority() - 注释类型 中的方法tk.mybatis.mapper.annotation.Order
-
优先级, 值小的优先
- processAfter(Executor, MappedStatement, Statement, Object) - 类 中的方法tk.mybatis.mapper.mapperhelper.SelectKeyGenerator
- 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
-
配置指定的接口
- processField(EntityTable, EntityField, Config, Style) - 类 中的方法tk.mybatis.mapper.mapperhelper.resolve.DefaultEntityResolve
-
处理字段
- processGeneratedValue(EntityTable, EntityColumn, GeneratedValue) - 类 中的方法tk.mybatis.mapper.mapperhelper.resolve.DefaultEntityResolve
-
处理 GeneratedValue 注解
- processKeyGenerator(EntityTable, EntityField, EntityColumn) - 类 中的方法tk.mybatis.mapper.mapperhelper.resolve.DefaultEntityResolve
-
处理主键策略
- processKeySql(EntityTable, EntityColumn, KeySql) - 类 中的方法tk.mybatis.mapper.mapperhelper.resolve.DefaultEntityResolve
-
处理 KeySql 注解
- processMappedStatement(MappedStatement) - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperHelper
-
处理 MappedStatement
- processOrderBy(EntityTable, EntityField, EntityColumn) - 类 中的方法tk.mybatis.mapper.mapperhelper.resolve.DefaultEntityResolve
-
处理排序
- propertyMap - 类 中的变量tk.mybatis.mapper.entity.EntityTable
- propertyMap - 类 中的变量tk.mybatis.mapper.entity.Example.Builder
- propertyMap - 类 中的变量tk.mybatis.mapper.entity.Example.GeneratedCriteria
- propertyMap - 类 中的变量tk.mybatis.mapper.entity.Example.OrderBy
- propertyMap - 类 中的变量tk.mybatis.mapper.entity.Example
R
- registerMapper(Class<?>) - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperHelper
-
注册通用Mapper接口
- registerMapper(String) - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperHelper
-
注册通用Mapper接口
- RegisterMapper - tk.mybatis.mapper.annotation中的注释类型
-
自动注册 Mapper 接口标记
- registerPrimitiveTypes() - 类 中的静态方法tk.mybatis.mapper.util.SimpleTypeUtil
-
注册 8 种基本类型
- registerSimpleType(Class<?>) - 类 中的静态方法tk.mybatis.mapper.util.SimpleTypeUtil
-
注册新的类型
- registerSimpleType(String) - 类 中的静态方法tk.mybatis.mapper.util.SimpleTypeUtil
-
注册新的类型
- resolveEntity(Class<?>, Config) - 类 中的方法tk.mybatis.mapper.mapperhelper.resolve.DefaultEntityResolve
- resolveEntity(Class<?>, Config) - 接口 中的方法tk.mybatis.mapper.mapperhelper.resolve.EntityResolve
-
解析类为 EntityTable
S
- SAFE_DELETE_ERROR - 类 中的静态变量tk.mybatis.mapper.util.OGNL
- SAFE_DELETE_EXCEPTION - 类 中的静态变量tk.mybatis.mapper.util.OGNL
- select(String...) - 类 中的方法tk.mybatis.mapper.entity.Example.Builder
- SELECT_KEY_SUFFIX - 类 中的静态变量tk.mybatis.mapper.mapperhelper.SelectKeyGenerator
- selectAllColumns(Class<?>) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
-
select xxx,xxx...
- selectColumns - 类 中的变量tk.mybatis.mapper.entity.Example
- selectCount(Class<?>) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
-
select count(x)
- selectCountExists(Class<?>) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
-
select case when count(x) > 0 then 1 else 0 end
- selectDistinct(String...) - 类 中的方法tk.mybatis.mapper.entity.Example.Builder
- SelectKeyGenerator - tk.mybatis.mapper.mapperhelper中的类
- SelectKeyGenerator(MappedStatement, boolean) - 类 的构造器tk.mybatis.mapper.mapperhelper.SelectKeyGenerator
- SelectKeyHelper - tk.mybatis.mapper.mapperhelper中的类
-
创建 selectKey
- SelectKeyHelper() - 类 的构造器tk.mybatis.mapper.mapperhelper.SelectKeyHelper
- selectProperties(String...) - 类 中的方法tk.mybatis.mapper.entity.Example
-
指定要查询的属性列 - 这里会自动映射到表字段
- setAndOr(String) - 类 中的方法tk.mybatis.mapper.entity.Example.Criterion
- setAndOr(String) - 类 中的方法tk.mybatis.mapper.entity.Example.GeneratedCriteria
- setAndOr(String) - 类 中的方法tk.mybatis.mapper.util.Sqls.Criteria
- setBaseSelect(String) - 类 中的方法tk.mybatis.mapper.entity.EntityTable
- setBefore(boolean) - 类 中的方法tk.mybatis.mapper.entity.Config
- setBEFORE(boolean) - 类 中的方法tk.mybatis.mapper.entity.Config
- setBlob(boolean) - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
- 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配置
- setConfig(Config) - 类 中的方法tk.mybatis.mapper.session.Configuration
-
使用 Config 配置
- setCountProperty(String) - 类 中的方法tk.mybatis.mapper.entity.Example
-
指定 count(property) 查询属性
- setDistinct(boolean) - 类 中的方法tk.mybatis.mapper.entity.Example.Builder
- setDistinct(boolean) - 类 中的方法tk.mybatis.mapper.entity.Example
- setEnableMethodAnnotation(boolean) - 类 中的方法tk.mybatis.mapper.entity.Config
- setEntityClassColumns(LinkedHashSet<EntityColumn>) - 类 中的方法tk.mybatis.mapper.entity.EntityTable
- setEntityClassPKColumns(LinkedHashSet<EntityColumn>) - 类 中的方法tk.mybatis.mapper.entity.EntityTable
- setEntityField(EntityField) - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
- setEnumAsSimpleType(boolean) - 类 中的方法tk.mybatis.mapper.entity.Config
- setForUpdate(boolean) - 类 中的方法tk.mybatis.mapper.entity.Example.Builder
- setForUpdate(boolean) - 类 中的方法tk.mybatis.mapper.entity.Example
- setGenerator(String) - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
- setGenIdClass(Class<? extends GenId>) - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
- setId(boolean) - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
- setIdentity(boolean) - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
- setIdentity(String) - 类 中的方法tk.mybatis.mapper.entity.Config
- setIDENTITY(String) - 类 中的方法tk.mybatis.mapper.entity.Config
-
主键自增回写方法,默认值MYSQL,详细说明请看文档
- 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(String) - 类 中的方法tk.mybatis.mapper.entity.EntityTable
- setKeyColumns(List<String>) - 类 中的方法tk.mybatis.mapper.entity.EntityTable
- setKeyProperties(String) - 类 中的方法tk.mybatis.mapper.entity.EntityTable
- setKeyProperties(List<String>) - 类 中的方法tk.mybatis.mapper.entity.EntityTable
- setKeyProperties(Set<EntityColumn>, MappedStatement) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.EntityHelper
-
通过反射设置MappedStatement的keyProperties字段值
- setMapperHelper(MapperHelper) - 类 中的方法tk.mybatis.mapper.session.Configuration
-
直接注入 mapperHelper
- setMapperProperties(Properties) - 类 中的方法tk.mybatis.mapper.session.Configuration
-
使用属性方式配置
- setMappers(List<Class>) - 类 中的方法tk.mybatis.mapper.entity.Config
- setName(String) - 类 中的方法tk.mybatis.mapper.entity.EntityTable
- setNotEmpty(boolean) - 类 中的方法tk.mybatis.mapper.entity.Config
- setOrder(String) - 类 中的方法tk.mybatis.mapper.entity.Config
-
主键自增回写方法执行顺序,默认AFTER,可选值为(BEFORE|AFTER)
- setOrder(ORDER) - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
- setOrderBy(String) - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
- setOrderByClause(String) - 类 中的方法tk.mybatis.mapper.entity.EntityTable
- setOrderByClause(String) - 类 中的方法tk.mybatis.mapper.entity.Example
- setOrderPriority(int) - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
- setProperties(Properties) - 类 中的方法tk.mybatis.mapper.entity.Config
-
配置属性
- setProperties(Properties) - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperHelper
-
配置属性
- setProperty(String) - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
- setResolveClass(Class<? extends EntityResolve>) - 类 中的方法tk.mybatis.mapper.entity.Config
- setResultType(MappedStatement, Class<?>) - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperTemplate
-
设置返回值类型 - 为了让typeHandler在select时有效,改为设置resultMap
- setSafeDelete(boolean) - 类 中的方法tk.mybatis.mapper.entity.Config
- setSafeUpdate(boolean) - 类 中的方法tk.mybatis.mapper.entity.Config
- 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 - setSqlSource(MappedStatement) - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperTemplate
-
重新设置SqlSource
- setSqlSource(MappedStatement, SqlSource) - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperTemplate
-
重新设置SqlSource
- setSqlSource(MappedStatement, MapperTemplate) - 类 中的方法tk.mybatis.mapper.mapperhelper.MapperHelper
-
重新设置SqlSource
- setStyle(Style) - 类 中的方法tk.mybatis.mapper.entity.Config
- setTable(Table) - 类 中的方法tk.mybatis.mapper.entity.EntityTable
- setTable(EntityTable) - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
- setTableName(String) - 类 中的方法tk.mybatis.mapper.entity.Example.Builder
- setTableName(String) - 类 中的方法tk.mybatis.mapper.entity.Example
-
设置表名
- setTypeHandler(Class<? extends TypeHandler<?>>) - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
- setUpdatable(boolean) - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
- setUseJavaType(boolean) - 类 中的方法tk.mybatis.mapper.entity.Config
- setUseJavaType(boolean) - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
- setUseSimpleType(boolean) - 类 中的方法tk.mybatis.mapper.entity.Config
- setWrapKeyword(String) - 类 中的方法tk.mybatis.mapper.entity.Config
- SimpleTypeUtil - tk.mybatis.mapper.util中的类
-
参考 org.apache.ibatis.type.SimpleTypeRegistry
- SimpleTypeUtil() - 类 的构造器tk.mybatis.mapper.util.SimpleTypeUtil
- sql() - 注释类型 中的方法tk.mybatis.mapper.annotation.KeySql
-
取主键的 SQL
- SqlHelper - tk.mybatis.mapper.mapperhelper中的类
-
拼常用SQL的工具类
- SqlHelper() - 类 的构造器tk.mybatis.mapper.mapperhelper.SqlHelper
- SqlReservedWords - tk.mybatis.mapper.util中的类
-
This class contains a somewhat comprehensive list of SQL reserved words.
- Sqls - tk.mybatis.mapper.util中的类
- Sqls.Criteria - tk.mybatis.mapper.util中的类
- Sqls.Criterion - tk.mybatis.mapper.util中的类
- SqlsCriteria - tk.mybatis.mapper.entity中的接口
- SQLSERVER - tk.mybatis.mapper.code.IdentityDialect
- 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
- SYBASE - tk.mybatis.mapper.code.IdentityDialect
T
- table - 类 中的变量tk.mybatis.mapper.entity.Example.Builder
- 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.entity - 程序包 tk.mybatis.mapper.entity
- tk.mybatis.mapper.genid - 程序包 tk.mybatis.mapper.genid
- tk.mybatis.mapper.gensql - 程序包 tk.mybatis.mapper.gensql
- tk.mybatis.mapper.mapperhelper - 程序包 tk.mybatis.mapper.mapperhelper
- tk.mybatis.mapper.mapperhelper.resolve - 程序包 tk.mybatis.mapper.mapperhelper.resolve
- tk.mybatis.mapper.provider - 程序包 tk.mybatis.mapper.provider
- tk.mybatis.mapper.session - 程序包 tk.mybatis.mapper.session
- tk.mybatis.mapper.util - 程序包 tk.mybatis.mapper.util
- tk.mybatis.mapper.version - 程序包 tk.mybatis.mapper.version
- toLowerAscii(char) - 类 中的静态方法tk.mybatis.mapper.util.StringUtil
- toString() - 类 中的方法tk.mybatis.mapper.entity.EntityColumn
- toUpperAscii(char) - 类 中的静态方法tk.mybatis.mapper.util.StringUtil
- typeHandler() - 注释类型 中的方法tk.mybatis.mapper.annotation.ColumnType
U
- underlineToCamelhump(String) - 类 中的静态方法tk.mybatis.mapper.util.StringUtil
-
将下划线风格替换为驼峰风格
- updateByExampleWhereClause() - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
-
Example-Update中的where结构,用于多个参数时,Example带@Param("example")注解时
- updateSetColumns(Class<?>, String, boolean, boolean) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
-
update set列
- updateSetColumnsIgnoreVersion(Class<?>, String, boolean, boolean) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
-
update set列,不考虑乐观锁注解 @Version
- updateTable(Class<?>, String) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
-
update tableName - 动态表名
- updateTable(Class<?>, String, String) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
-
update tableName - 动态表名
- uppercase - tk.mybatis.mapper.code.Style
- useGeneratedKeys() - 注释类型 中的方法tk.mybatis.mapper.annotation.KeySql
-
是否使用 JDBC 方式获取主键,优先级最高,设置为 true 后,不对其他配置校验
V
- value() - 注释类型 中的方法tk.mybatis.mapper.annotation.NameStyle
- value() - 注释类型 中的方法tk.mybatis.mapper.annotation.Order
-
升降序
- valueOf(String) - 枚举 中的静态方法tk.mybatis.mapper.code.IdentityDialect
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法tk.mybatis.mapper.code.ORDER
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举 中的静态方法tk.mybatis.mapper.code.Style
-
返回带有指定名称的该类型的枚举常量。
- values() - 枚举 中的静态方法tk.mybatis.mapper.code.IdentityDialect
-
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
- values() - 枚举 中的静态方法tk.mybatis.mapper.code.ORDER
-
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
- values() - 枚举 中的静态方法tk.mybatis.mapper.code.Style
-
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
- Version - tk.mybatis.mapper.annotation中的注释类型
- VersionException - tk.mybatis.mapper.version中的异常错误
- VersionException() - 异常错误 的构造器tk.mybatis.mapper.version.VersionException
- VersionException(String) - 异常错误 的构造器tk.mybatis.mapper.version.VersionException
- VersionException(String, Throwable) - 异常错误 的构造器tk.mybatis.mapper.version.VersionException
- VersionException(Throwable) - 异常错误 的构造器tk.mybatis.mapper.version.VersionException
- VersionUtil - tk.mybatis.mapper.version中的类
- VersionUtil() - 类 的构造器tk.mybatis.mapper.version.VersionUtil
W
- where(SqlsCriteria) - 类 中的方法tk.mybatis.mapper.entity.Example.Builder
- where(Sqls) - 类 中的方法tk.mybatis.mapper.entity.Example.Builder
- whereAllIfColumns(Class<?>, boolean) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
-
where所有列的条件,会判断是否!
- whereAllIfColumns(Class<?>, boolean, boolean) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
-
where所有列的条件,会判断是否!
- whereLogicDelete(Class<?>, boolean) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
-
逻辑删除的where条件,没有逻辑删除注解则返回空字符串
AND column = value - wherePKColumns(Class<?>) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
-
where主键条件
- wherePKColumns(Class<?>, boolean) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
-
where主键条件
- wherePKColumns(Class<?>, String, boolean) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
-
where主键条件
- whereVersion(Class<?>) - 类 中的静态方法tk.mybatis.mapper.mapperhelper.SqlHelper
-
乐观锁字段条件
所有类 所有程序包