A B C D E F G H I M N O P R S T U V 

A

addClassComment(InnerClass, IntrospectedTable) - 类 中的方法com.github.abel533.generator.MapperCommentGenerator
Example使用
addClassComment(InnerClass, IntrospectedTable, boolean) - 类 中的方法com.github.abel533.generator.MapperCommentGenerator
Example使用
addComment(XmlElement) - 类 中的方法com.github.abel533.generator.MapperCommentGenerator
xml中的注释
addConfigurationProperties(Properties) - 类 中的方法com.github.abel533.generator.MapperCommentGenerator
 
addCriterion(String) - 类 中的方法com.github.abel533.entity.Example.GeneratedCriteria
 
addCriterion(String, Object, String) - 类 中的方法com.github.abel533.entity.Example.GeneratedCriteria
 
addCriterion(String, Object, Object, String) - 类 中的方法com.github.abel533.entity.Example.GeneratedCriteria
 
addEnumComment(InnerEnum, IntrospectedTable) - 类 中的方法com.github.abel533.generator.MapperCommentGenerator
 
addFieldComment(Field, IntrospectedTable, IntrospectedColumn) - 类 中的方法com.github.abel533.generator.MapperCommentGenerator
给字段添加数据库备注
addFieldComment(Field, IntrospectedTable) - 类 中的方法com.github.abel533.generator.MapperCommentGenerator
Example使用
addGeneralMethodComment(Method, IntrospectedTable) - 类 中的方法com.github.abel533.generator.MapperCommentGenerator
 
addGetterComment(Method, IntrospectedTable, IntrospectedColumn) - 类 中的方法com.github.abel533.generator.MapperCommentGenerator
getter方法注释
addJavadocTag(JavaElement, boolean) - 类 中的方法com.github.abel533.generator.MapperCommentGenerator
删除标记
addJavaFileComment(CompilationUnit) - 类 中的方法com.github.abel533.generator.MapperCommentGenerator
 
addMethodMap(String, Method) - 类 中的方法com.github.abel533.mapperhelper.MapperTemplate
添加映射方法
addRootComment(XmlElement) - 类 中的方法com.github.abel533.generator.MapperCommentGenerator
 
addSetterComment(Method, IntrospectedTable, IntrospectedColumn) - 类 中的方法com.github.abel533.generator.MapperCommentGenerator
setter方法注释
andBetween(String, Object, Object) - 类 中的方法com.github.abel533.entity.Example.GeneratedCriteria
 
andEqualTo(String, Object) - 类 中的方法com.github.abel533.entity.Example.GeneratedCriteria
 
andGreaterThan(String, Object) - 类 中的方法com.github.abel533.entity.Example.GeneratedCriteria
 
andGreaterThanOrEqualTo(String, Object) - 类 中的方法com.github.abel533.entity.Example.GeneratedCriteria
 
andIn(String, List<Object>) - 类 中的方法com.github.abel533.entity.Example.GeneratedCriteria
 
andIsNotNull(String) - 类 中的方法com.github.abel533.entity.Example.GeneratedCriteria
 
andIsNull(String) - 类 中的方法com.github.abel533.entity.Example.GeneratedCriteria
 
andLessThan(String, Object) - 类 中的方法com.github.abel533.entity.Example.GeneratedCriteria
 
andLessThanOrEqualTo(String, Object) - 类 中的方法com.github.abel533.entity.Example.GeneratedCriteria
 
andLike(String, String) - 类 中的方法com.github.abel533.entity.Example.GeneratedCriteria
 
andNotBetween(String, Object, Object) - 类 中的方法com.github.abel533.entity.Example.GeneratedCriteria
 
andNotEqualTo(String, Object) - 类 中的方法com.github.abel533.entity.Example.GeneratedCriteria
 
andNotIn(String, List<Object>) - 类 中的方法com.github.abel533.entity.Example.GeneratedCriteria
 
andNotLike(String, String) - 类 中的方法com.github.abel533.entity.Example.GeneratedCriteria
 
applyOrderBy(SQL, MetaObject, String) - 类 中的方法com.github.abel533.entity.BaseProvider
Example条件
applyWhere(SQL, MetaObject) - 类 中的方法com.github.abel533.entity.BaseProvider
Example条件
applyWherePk(SQL, MetaObject, Set<EntityHelper.EntityColumn>, String) - 类 中的方法com.github.abel533.entity.BaseProvider
根据主键查询

B

BaseProvider - com.github.abel533.entity中的类
基础类
BaseProvider() - 类 的构造器com.github.abel533.entity.BaseProvider
 

C

camelhumpToUnderline(String) - 类 中的静态方法com.github.abel533.mapperhelper.EntityHelper
将驼峰风格替换为下划线风格
clear() - 类 中的方法com.github.abel533.entity.Example
 
clientDeleteByPrimaryKeyMethodGenerated(Method, TopLevelClass, IntrospectedTable) - 类 中的方法com.github.abel533.generator.MapperPlugin
 
clientDeleteByPrimaryKeyMethodGenerated(Method, Interface, IntrospectedTable) - 类 中的方法com.github.abel533.generator.MapperPlugin
 
clientGenerated(Interface, TopLevelClass, IntrospectedTable) - 类 中的方法com.github.abel533.generator.MapperPlugin
生成的Mapper接口
clientInsertMethodGenerated(Method, TopLevelClass, IntrospectedTable) - 类 中的方法com.github.abel533.generator.MapperPlugin
 
clientInsertMethodGenerated(Method, Interface, IntrospectedTable) - 类 中的方法com.github.abel533.generator.MapperPlugin
 
clientInsertSelectiveMethodGenerated(Method, TopLevelClass, IntrospectedTable) - 类 中的方法com.github.abel533.generator.MapperPlugin
 
clientInsertSelectiveMethodGenerated(Method, Interface, IntrospectedTable) - 类 中的方法com.github.abel533.generator.MapperPlugin
 
clientSelectAllMethodGenerated(Method, Interface, IntrospectedTable) - 类 中的方法com.github.abel533.generator.MapperPlugin
 
clientSelectAllMethodGenerated(Method, TopLevelClass, IntrospectedTable) - 类 中的方法com.github.abel533.generator.MapperPlugin
 
clientSelectByPrimaryKeyMethodGenerated(Method, TopLevelClass, IntrospectedTable) - 类 中的方法com.github.abel533.generator.MapperPlugin
 
clientSelectByPrimaryKeyMethodGenerated(Method, Interface, IntrospectedTable) - 类 中的方法com.github.abel533.generator.MapperPlugin
 
clientUpdateByPrimaryKeySelectiveMethodGenerated(Method, TopLevelClass, IntrospectedTable) - 类 中的方法com.github.abel533.generator.MapperPlugin
 
clientUpdateByPrimaryKeySelectiveMethodGenerated(Method, Interface, IntrospectedTable) - 类 中的方法com.github.abel533.generator.MapperPlugin
 
clientUpdateByPrimaryKeyWithBLOBsMethodGenerated(Method, TopLevelClass, IntrospectedTable) - 类 中的方法com.github.abel533.generator.MapperPlugin
 
clientUpdateByPrimaryKeyWithBLOBsMethodGenerated(Method, Interface, IntrospectedTable) - 类 中的方法com.github.abel533.generator.MapperPlugin
 
clientUpdateByPrimaryKeyWithoutBLOBsMethodGenerated(Method, TopLevelClass, IntrospectedTable) - 类 中的方法com.github.abel533.generator.MapperPlugin
 
clientUpdateByPrimaryKeyWithoutBLOBsMethodGenerated(Method, Interface, IntrospectedTable) - 类 中的方法com.github.abel533.generator.MapperPlugin
 
com.github.abel533.entity - 程序包 com.github.abel533.entity
 
com.github.abel533.entity.mapper - 程序包 com.github.abel533.entity.mapper
 
com.github.abel533.generator - 程序包 com.github.abel533.generator
 
com.github.abel533.mapper - 程序包 com.github.abel533.mapper
 
com.github.abel533.mapperhelper - 程序包 com.github.abel533.mapperhelper
 
com.github.abel533.sql - 程序包 com.github.abel533.sql
 
CommonMapper - com.github.abel533.entity.mapper中的接口
这个仍然是接口类,不需要被继承,可以直接用
CommonProvider - com.github.abel533.entity中的类
 
CommonProvider() - 类 的构造器com.github.abel533.entity.CommonProvider
 
count(Map<String, Object>) - 类 中的方法com.github.abel533.entity.CommonProvider
查询,入参可以是Entity.class或new Entity()
count(T) - 类 中的方法com.github.abel533.entity.EntityMapper
根据参数进行查询总数,record可以是Class
count(T) - 接口 中的方法com.github.abel533.entity.mapper.CommonMapper
根据参数进行查询总数,record可以是Class
countByExample(Map<String, Object>) - 类 中的方法com.github.abel533.entity.CommonProvider
 
countByExample(Class<T>, Object) - 类 中的方法com.github.abel533.entity.EntityMapper
通过Example类来查询count
countByExample(Example) - 类 中的方法com.github.abel533.entity.EntityMapper
通过Example类来查询count
countByExample(Class<T>, Object) - 接口 中的方法com.github.abel533.entity.mapper.CommonMapper
通过Example类来查询count
createCriteria() - 类 中的方法com.github.abel533.entity.Example
 
createCriteriaInternal() - 类 中的方法com.github.abel533.entity.Example
 
criteria - 类 中的变量com.github.abel533.entity.Example.GeneratedCriteria
 

D

delete(Map<String, Object>) - 类 中的方法com.github.abel533.entity.CommonProvider
通过查询条件删除
delete(T) - 类 中的方法com.github.abel533.entity.EntityMapper
根据条件进行删除,条件不能为空,并且必须有至少一个条件才能删除
该方法不能直接删除全部数据
delete(T) - 接口 中的方法com.github.abel533.entity.mapper.CommonMapper
根据条件进行删除,条件不能为空,并且必须有至少一个条件才能删除
该方法不能直接删除全部数据
delete(T) - 接口 中的方法com.github.abel533.mapper.Mapper
 
delete(MappedStatement) - 类 中的方法com.github.abel533.mapper.MapperProvider
通过条件删除
delete(String) - 类 中的方法com.github.abel533.sql.SqlMapper
删除数据
delete(String, Object) - 类 中的方法com.github.abel533.sql.SqlMapper
删除数据
deleteByExample(Map<String, Object>) - 类 中的方法com.github.abel533.entity.CommonProvider
 
deleteByExample(Class<T>, Object) - 类 中的方法com.github.abel533.entity.EntityMapper
通过Example删除
deleteByExample(Example) - 类 中的方法com.github.abel533.entity.EntityMapper
通过Example删除
deleteByExample(Class<T>, Object) - 接口 中的方法com.github.abel533.entity.mapper.CommonMapper
通过Example删除
deleteByExample(Object) - 接口 中的方法com.github.abel533.mapper.Mapper
 
deleteByExample(MappedStatement) - 类 中的方法com.github.abel533.mapper.MapperProvider
根据Example删除
deleteByPrimaryKey(Map<String, Object>) - 类 中的方法com.github.abel533.entity.CommonProvider
通过主键删除
deleteByPrimaryKey(Class<T>, Object) - 类 中的方法com.github.abel533.entity.EntityMapper
根据主键进行删除,主键不能为null或空
deleteByPrimaryKey(Class<T>, Object) - 接口 中的方法com.github.abel533.entity.mapper.CommonMapper
根据主键进行删除,主键不能为null或空
deleteByPrimaryKey(Object) - 接口 中的方法com.github.abel533.mapper.Mapper
 
deleteByPrimaryKey(MappedStatement) - 类 中的方法com.github.abel533.mapper.MapperProvider
通过主键删除
distinct - 类 中的变量com.github.abel533.entity.Example
 
dynamicSQL(Object) - 类 中的方法com.github.abel533.mapperhelper.MapperTemplate
 

E

entityClass - 类 中的变量com.github.abel533.entity.Example
 
EntityHelper - com.github.abel533.mapperhelper中的类
实体类工具类 - 处理实体和数据库表以及字段关键的一个类

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

EntityHelper() - 类 的构造器com.github.abel533.mapperhelper.EntityHelper
 
EntityHelper.EntityColumn - com.github.abel533.mapperhelper中的类
实体字段对应数据库列的信息
EntityHelper.EntityColumn() - 类 的构造器com.github.abel533.mapperhelper.EntityHelper.EntityColumn
 
EntityHelper.EntityTable - com.github.abel533.mapperhelper中的类
实体对应表的配置信息
EntityHelper.EntityTable() - 类 的构造器com.github.abel533.mapperhelper.EntityHelper.EntityTable
 
EntityMapper - com.github.abel533.entity中的类
封装的CommonMapper,实际上只对select方法做了处理

该类起名Mapper结尾只是为了表面上看着统一,实际上和普通的Mapper不是一类东西

EntityMapper(CommonMapper) - 类 的构造器com.github.abel533.entity.EntityMapper
 
equals(Object) - 类 中的方法com.github.abel533.mapperhelper.EntityHelper.EntityColumn
 
Example - com.github.abel533.entity中的类
通用的Example查询对象
Example(Class<?>) - 类 的构造器com.github.abel533.entity.Example
默认exists为true
Example(Class<?>, boolean) - 类 的构造器com.github.abel533.entity.Example
带exists参数的构造方法
Example.Criteria - com.github.abel533.entity中的类
 
Example.Criteria(Map<String, EntityHelper.EntityColumn>) - 类 的构造器com.github.abel533.entity.Example.Criteria
 
Example.Criteria(Map<String, EntityHelper.EntityColumn>, boolean) - 类 的构造器com.github.abel533.entity.Example.Criteria
 
Example.Criterion - com.github.abel533.entity中的类
 
Example.Criterion(String) - 类 的构造器com.github.abel533.entity.Example.Criterion
 
Example.Criterion(String, Object, String) - 类 的构造器com.github.abel533.entity.Example.Criterion
 
Example.Criterion(String, Object) - 类 的构造器com.github.abel533.entity.Example.Criterion
 
Example.Criterion(String, Object, Object, String) - 类 的构造器com.github.abel533.entity.Example.Criterion
 
Example.Criterion(String, Object, Object) - 类 的构造器com.github.abel533.entity.Example.Criterion
 
Example.GeneratedCriteria - com.github.abel533.entity中的类
 
Example.GeneratedCriteria(Map<String, EntityHelper.EntityColumn>) - 类 的构造器com.github.abel533.entity.Example.GeneratedCriteria
 
Example.GeneratedCriteria(Map<String, EntityHelper.EntityColumn>, boolean) - 类 的构造器com.github.abel533.entity.Example.GeneratedCriteria
 
ExampleValidSqlNode(Configuration) - 类 中的方法com.github.abel533.mapperhelper.MapperTemplate
 
exampleWhereClause(Configuration) - 类 中的方法com.github.abel533.mapperhelper.MapperTemplate
Example查询中的where结构
exists - 类 中的变量com.github.abel533.entity.Example
 
exists - 类 中的变量com.github.abel533.entity.Example.GeneratedCriteria
 

F

forObject(Object) - 类 中的静态方法com.github.abel533.mapperhelper.MapperTemplate
反射对象,增加对低版本Mybatis的支持

G

getAliasMap() - 类 中的方法com.github.abel533.mapperhelper.EntityHelper.EntityTable
 
getAllColumns(Class<?>) - 类 中的静态方法com.github.abel533.mapperhelper.EntityHelper
获取查询的Select
getAllCriteria() - 类 中的方法com.github.abel533.entity.Example.GeneratedCriteria
 
getAllIfColumnNode(Class<?>) - 类 中的方法com.github.abel533.mapperhelper.MapperTemplate
获取所有列的where节点中的if判断列
getBEFORE() - 类 中的方法com.github.abel533.mapperhelper.MapperHelper
获取SelectKey的Order
getBEFORE() - 类 中的方法com.github.abel533.mapperhelper.MapperTemplate
 
getCatalog() - 类 中的方法com.github.abel533.mapperhelper.EntityHelper.EntityTable
 
getColumn() - 类 中的方法com.github.abel533.mapperhelper.EntityHelper.EntityColumn
 
getColumnAlias(Class<?>) - 类 中的静态方法com.github.abel533.mapperhelper.EntityHelper
获取字段映射关系
getColumnEqualsProperty(EntityHelper.EntityColumn, boolean) - 类 中的方法com.github.abel533.mapperhelper.MapperTemplate
获取 [AND] column = #{property}
getColumnParameterMappings(MappedStatement) - 类 中的方法com.github.abel533.mapperhelper.MapperTemplate
根据对象生成所有列的映射
getColumns(Class<?>) - 类 中的静态方法com.github.abel533.mapperhelper.EntityHelper
获取全部列
getCondition() - 类 中的方法com.github.abel533.entity.Example.Criterion
 
getCriteria() - 类 中的方法com.github.abel533.entity.Example.GeneratedCriteria
 
getDatabaseDialect(String) - 枚举 中的静态方法com.github.abel533.mapperhelper.MapperHelper.IdentityDialect
 
getEntity(Map<String, Object>) - 类 中的方法com.github.abel533.entity.BaseProvider
获取实体类
getEntityClass(Map<String, Object>) - 类 中的方法com.github.abel533.entity.BaseProvider
获取实体类型
getEntityClass() - 类 中的方法com.github.abel533.entity.Example
 
getEntityClassColumns() - 类 中的方法com.github.abel533.mapperhelper.EntityHelper.EntityTable
 
getEntityClassPKColumns() - 类 中的方法com.github.abel533.mapperhelper.EntityHelper.EntityTable
 
getEntityTable(Class<?>) - 类 中的静态方法com.github.abel533.mapperhelper.EntityHelper
获取表对象
getExample(Map<String, Object>) - 类 中的方法com.github.abel533.entity.BaseProvider
获取Example类 - 不在此校验是否为合法的Example类
getGenerator() - 类 中的方法com.github.abel533.mapperhelper.EntityHelper.EntityColumn
 
getIDENTITY() - 类 中的方法com.github.abel533.mapperhelper.MapperHelper
获取主键自增回写SQL
getIDENTITY() - 类 中的方法com.github.abel533.mapperhelper.MapperTemplate
 
getIdentityRetrievalStatement() - 枚举 中的方法com.github.abel533.mapperhelper.MapperHelper.IdentityDialect
 
getIfCacheIsNull(EntityHelper.EntityColumn, SqlNode) - 类 中的方法com.github.abel533.mapperhelper.MapperTemplate
返回if条件的sqlNode 一般类型:<if test="property_cache!
getIfCacheNotNull(EntityHelper.EntityColumn, SqlNode) - 类 中的方法com.github.abel533.mapperhelper.MapperTemplate
返回if条件的sqlNode 一般类型:<if test="property!
getIfIsNull(EntityHelper.EntityColumn, SqlNode) - 类 中的方法com.github.abel533.mapperhelper.MapperTemplate
返回if条件的sqlNode 一般类型:<if test="property==null">columnNode</if>
getIfNotNull(EntityHelper.EntityColumn, SqlNode) - 类 中的方法com.github.abel533.mapperhelper.MapperTemplate
返回if条件的sqlNode 一般类型:<if test="property!
getIfNotNull(EntityHelper.EntityColumn, SqlNode, boolean) - 类 中的方法com.github.abel533.mapperhelper.MapperTemplate
返回if条件的sqlNode 一般类型:<if test="property!
getJavaType() - 类 中的方法com.github.abel533.mapperhelper.EntityHelper.EntityColumn
 
getMapperClass(String) - 类 中的静态方法com.github.abel533.mapperhelper.MapperTemplate
根据msId获取接口类
getMethodName(MappedStatement) - 类 中的静态方法com.github.abel533.mapperhelper.MapperTemplate
获取执行的方法名
getMethodName(String) - 类 中的静态方法com.github.abel533.mapperhelper.MapperTemplate
获取执行的方法名
getName() - 类 中的方法com.github.abel533.mapperhelper.EntityHelper.EntityTable
 
getOrderBy() - 类 中的方法com.github.abel533.mapperhelper.EntityHelper.EntityColumn
 
getOrderByClause() - 类 中的方法com.github.abel533.entity.Example
 
getOrderByClause(Class<?>) - 类 中的静态方法com.github.abel533.mapperhelper.EntityHelper
获取默认的orderby语句
getOredCriteria() - 类 中的方法com.github.abel533.entity.Example
 
getPKColumns(Class<?>) - 类 中的静态方法com.github.abel533.mapperhelper.EntityHelper
获取主键信息
getPrefix() - 类 中的方法com.github.abel533.mapperhelper.EntityHelper.EntityTable
 
getPrefix() - 类 中的方法com.github.abel533.mapperhelper.MapperHelper
获取表前缀,带catalog或schema
getPrimaryKeyParameterMappings(MappedStatement) - 类 中的方法com.github.abel533.mapperhelper.MapperTemplate
根据对象生成主键映射
getPrimaryKeyWhere(Class<?>) - 类 中的静态方法com.github.abel533.mapperhelper.EntityHelper
获取主键的Where语句
getProperty() - 类 中的方法com.github.abel533.mapperhelper.EntityHelper.EntityColumn
 
getSchema() - 类 中的方法com.github.abel533.mapperhelper.EntityHelper.EntityTable
 
getSecondValue() - 类 中的方法com.github.abel533.entity.Example.Criterion
 
getSelectColumns(Class<?>) - 类 中的静态方法com.github.abel533.mapperhelper.EntityHelper
获取查询的Select
getSelectReturnType(MappedStatement) - 类 中的方法com.github.abel533.mapperhelper.MapperTemplate
获取返回值类型 - 实体类型
getSeqFormat() - 类 中的方法com.github.abel533.mapperhelper.MapperHelper
获取序列格式化模板
getSeqNextVal(EntityHelper.EntityColumn) - 类 中的方法com.github.abel533.mapperhelper.MapperTemplate
获取序列下个值的表达式
getSequenceName() - 类 中的方法com.github.abel533.mapperhelper.EntityHelper.EntityColumn
 
getSpringVersion() - 类 中的方法com.github.abel533.mapperhelper.MapperHelper
获取Spring版本号
getTableName(Class<?>) - 类 中的方法com.github.abel533.mapperhelper.MapperHelper
获取表名
getTypeHandler() - 类 中的方法com.github.abel533.entity.Example.Criterion
 
getUUID() - 类 中的方法com.github.abel533.mapperhelper.MapperHelper
获取UUID生成规则
getUUID() - 类 中的方法com.github.abel533.mapperhelper.MapperTemplate
 
getValue() - 类 中的方法com.github.abel533.entity.Example.Criterion
 

H

hashCode() - 类 中的方法com.github.abel533.mapperhelper.EntityHelper.EntityColumn
 

I

initEntityNameMap(Class<?>) - 类 中的静态方法com.github.abel533.mapperhelper.EntityHelper
初始化实体属性
initMapper() - 类 中的方法com.github.abel533.mapperhelper.MapperHelper
Spring初始化方法,使用Spring时需要配置init-method="initMapper"
insert(Map<String, Object>) - 类 中的方法com.github.abel533.entity.CommonProvider
新增
insert(T) - 类 中的方法com.github.abel533.entity.EntityMapper
插入数据库,主键字段没有值的时候不会出现在sql中
如果是自增主键,会自动获取值
如果是自增主键,并且该主键属性有值,会使用主键的属性值,不会使用自增
insert(T) - 接口 中的方法com.github.abel533.entity.mapper.CommonMapper
插入数据库,主键字段没有值的时候不会出现在sql中
如果是自增主键,会自动获取值
如果是自增主键,并且该主键属性有值,会使用主键的属性值,不会使用自增
insert(T) - 接口 中的方法com.github.abel533.mapper.Mapper
 
insert(MappedStatement) - 类 中的方法com.github.abel533.mapper.MapperProvider
插入全部
insert(String) - 类 中的方法com.github.abel533.sql.SqlMapper
插入数据
insert(String, Object) - 类 中的方法com.github.abel533.sql.SqlMapper
插入数据
insertSelective(Map<String, Object>) - 类 中的方法com.github.abel533.entity.CommonProvider
新增非空字段,空字段可以使用表的默认值
insertSelective(T) - 类 中的方法com.github.abel533.entity.EntityMapper
插入非空字段,其他和上面方法类似
insertSelective(T) - 接口 中的方法com.github.abel533.entity.mapper.CommonMapper
插入非空字段,其他和上面方法类似
insertSelective(T) - 接口 中的方法com.github.abel533.mapper.Mapper
 
insertSelective(MappedStatement) - 类 中的方法com.github.abel533.mapper.MapperProvider
插入不为null的字段
intercept(Invocation) - 类 中的方法com.github.abel533.mapperhelper.MapperInterceptor
 
isBetweenValue() - 类 中的方法com.github.abel533.entity.Example.Criterion
 
isDistinct() - 类 中的方法com.github.abel533.entity.Example
 
isEmpty(String) - 类 中的方法com.github.abel533.entity.BaseProvider
 
isId() - 类 中的方法com.github.abel533.mapperhelper.EntityHelper.EntityColumn
 
isIdentity() - 类 中的方法com.github.abel533.mapperhelper.EntityHelper.EntityColumn
 
isListValue() - 类 中的方法com.github.abel533.entity.Example.Criterion
 
isMapperMethod(String) - 类 中的方法com.github.abel533.mapperhelper.MapperHelper
判断当前的接口方法是否需要进行拦截
isNotEmpty(String) - 类 中的方法com.github.abel533.entity.BaseProvider
 
isNotEmpty() - 类 中的方法com.github.abel533.mapperhelper.MapperHelper
 
isNoValue() - 类 中的方法com.github.abel533.entity.Example.Criterion
 
isSingleValue() - 类 中的方法com.github.abel533.entity.Example.Criterion
 
isSpring() - 类 中的方法com.github.abel533.mapperhelper.MapperHelper
是否为Spring4.x以上版本
isSpring4() - 类 中的方法com.github.abel533.mapperhelper.MapperHelper
是否为Spring4.x以上版本
isUppercaseAlpha(char) - 类 中的静态方法com.github.abel533.mapperhelper.EntityHelper
 
isUuid() - 类 中的方法com.github.abel533.mapperhelper.EntityHelper.EntityColumn
 
isValid() - 类 中的方法com.github.abel533.entity.Example.GeneratedCriteria
 

M

main(String[]) - 类 中的静态方法com.github.abel533.mapperhelper.EntityHelper
 
map2AliasMap(Map<String, Object>, Class<?>) - 类 中的静态方法com.github.abel533.mapperhelper.EntityHelper
map转换为Map
map2Bean(Map<String, Object>, Class<?>) - 类 中的静态方法com.github.abel533.mapperhelper.EntityHelper
map转换为bean
maplist2BeanList(List<?>, Class<?>) - 类 中的静态方法com.github.abel533.mapperhelper.EntityHelper
mapList转换为beanList
Mapper<T> - com.github.abel533.mapper中的接口
通用Mapper接口,其他接口继承该接口即可 这是一个例子,自己扩展时可以参考 项目地址 : https://github.com/abel533/Mapper
MapperCommentGenerator - com.github.abel533.generator中的类
 
MapperCommentGenerator() - 类 的构造器com.github.abel533.generator.MapperCommentGenerator
 
MapperHelper - com.github.abel533.mapperhelper中的类
处理主要逻辑,最关键的一个类 项目地址 : https://github.com/abel533/Mapper
MapperHelper() - 类 的构造器com.github.abel533.mapperhelper.MapperHelper
默认构造方法
MapperHelper(Properties) - 类 的构造器com.github.abel533.mapperhelper.MapperHelper
带配置的构造方法
MapperHelper.IdentityDialect - com.github.abel533.mapperhelper中的枚举
IDENTITY的可选值
MapperInterceptor - com.github.abel533.mapperhelper中的类
通用Mapper拦截器
MapperInterceptor() - 类 的构造器com.github.abel533.mapperhelper.MapperInterceptor
 
MapperPlugin - com.github.abel533.generator中的类
通用Mapper生成器插件
MapperPlugin() - 类 的构造器com.github.abel533.generator.MapperPlugin
 
MapperProvider - com.github.abel533.mapper中的类
Mappper实现类,可以当场一个用来参考的例子
MapperProvider(Class<?>, MapperHelper) - 类 的构造器com.github.abel533.mapper.MapperProvider
 
MapperTemplate - com.github.abel533.mapperhelper中的类
通用Mapper模板类,扩展通用Mapper时需要继承该类
MapperTemplate(Class<?>, MapperHelper) - 类 的构造器com.github.abel533.mapperhelper.MapperTemplate
 
modelBaseRecordClassGenerated(TopLevelClass, IntrospectedTable) - 类 中的方法com.github.abel533.generator.MapperPlugin
生成基础实体类
modelPrimaryKeyClassGenerated(TopLevelClass, IntrospectedTable) - 类 中的方法com.github.abel533.generator.MapperPlugin
生成实体类注解KEY对象
modelRecordWithBLOBsClassGenerated(TopLevelClass, IntrospectedTable) - 类 中的方法com.github.abel533.generator.MapperPlugin
生成带BLOB字段的对象

N

newSelectKeyMappedStatement(MappedStatement, EntityHelper.EntityColumn) - 类 中的方法com.github.abel533.mapperhelper.MapperTemplate
新建SelectKey节点 - 只对mysql的自动增长有效,Oracle序列直接写到列中
notNullKeyProperty(String, Object) - 类 中的方法com.github.abel533.entity.BaseProvider
主键字段不能为空

O

or(Example.Criteria) - 类 中的方法com.github.abel533.entity.Example
 
or() - 类 中的方法com.github.abel533.entity.Example
 
orderByClause - 类 中的变量com.github.abel533.entity.Example
 
oredCriteria - 类 中的变量com.github.abel533.entity.Example
 

P

plugin(Object) - 类 中的方法com.github.abel533.mapperhelper.MapperInterceptor
 
processConfiguration(Configuration) - 类 中的方法com.github.abel533.mapperhelper.MapperHelper
配置完成后,执行下面的操作
处理configuration中全部的MappedStatement
propertyMap - 类 中的变量com.github.abel533.entity.Example.GeneratedCriteria
 
propertyMap - 类 中的变量com.github.abel533.entity.Example
 
providerApplyWhereMethodGenerated(Method, TopLevelClass, IntrospectedTable) - 类 中的方法com.github.abel533.generator.MapperPlugin
 
providerGenerated(TopLevelClass, IntrospectedTable) - 类 中的方法com.github.abel533.generator.MapperPlugin
 
providerInsertSelectiveMethodGenerated(Method, TopLevelClass, IntrospectedTable) - 类 中的方法com.github.abel533.generator.MapperPlugin
 
providerUpdateByPrimaryKeySelectiveMethodGenerated(Method, TopLevelClass, IntrospectedTable) - 类 中的方法com.github.abel533.generator.MapperPlugin
 

R

registerMapper(Class<?>) - 类 中的方法com.github.abel533.mapperhelper.MapperHelper
注册通用Mapper接口
registerMapper(String) - 类 中的方法com.github.abel533.mapperhelper.MapperHelper
注册通用Mapper接口

S

select(Map<String, Object>) - 类 中的方法com.github.abel533.entity.CommonProvider
查询,入参可以是Entity.class或new Entity()
select(T) - 类 中的方法com.github.abel533.entity.EntityMapper
根据参数进行查询,record可以是Class
select(T) - 接口 中的方法com.github.abel533.entity.mapper.CommonMapper
根据参数进行查询,record可以是Class
select(T) - 接口 中的方法com.github.abel533.mapper.Mapper
 
select(MappedStatement) - 类 中的方法com.github.abel533.mapper.MapperProvider
查询
selectByExample(Map<String, Object>) - 类 中的方法com.github.abel533.entity.CommonProvider
 
selectByExample(Class<T>, Object) - 类 中的方法com.github.abel533.entity.EntityMapper
通过Example来查询
selectByExample(Example) - 类 中的方法com.github.abel533.entity.EntityMapper
通过Example来查询
selectByExample(Class<T>, Object) - 接口 中的方法com.github.abel533.entity.mapper.CommonMapper
通过Example来查询
selectByExample(Object) - 接口 中的方法com.github.abel533.mapper.Mapper
 
selectByExample(MappedStatement) - 类 中的方法com.github.abel533.mapper.MapperProvider
根据Example查询
selectByPrimaryKey(Map<String, Object>) - 类 中的方法com.github.abel533.entity.CommonProvider
通过主键查询,主键字段都不能为空
selectByPrimaryKey(Class<T>, Object) - 类 中的方法com.github.abel533.entity.EntityMapper
根据主键查询结果,主键不能为null或空
selectByPrimaryKey(Class<T>, Object) - 接口 中的方法com.github.abel533.entity.mapper.CommonMapper
根据主键查询结果,主键不能为null或空
selectByPrimaryKey(Object) - 接口 中的方法com.github.abel533.mapper.Mapper
 
selectByPrimaryKey(MappedStatement) - 类 中的方法com.github.abel533.mapper.MapperProvider
根据主键进行查询
selectCount(T) - 接口 中的方法com.github.abel533.mapper.Mapper
 
selectCount(MappedStatement) - 类 中的方法com.github.abel533.mapper.MapperProvider
查询总数
selectCountByExample(Object) - 接口 中的方法com.github.abel533.mapper.Mapper
 
selectCountByExample(MappedStatement) - 类 中的方法com.github.abel533.mapper.MapperProvider
根据Example查询总数
selectList(String) - 类 中的方法com.github.abel533.sql.SqlMapper
查询返回List>
selectList(String, Object) - 类 中的方法com.github.abel533.sql.SqlMapper
查询返回List>
selectList(String, Class<T>) - 类 中的方法com.github.abel533.sql.SqlMapper
查询返回指定的结果类型
selectList(String, Object, Class<T>) - 类 中的方法com.github.abel533.sql.SqlMapper
查询返回指定的结果类型
selectOne(Map<String, Object>) - 类 中的方法com.github.abel533.entity.CommonProvider
查询,入参可以是Entity.class或new Entity()
selectOne(T) - 类 中的方法com.github.abel533.entity.EntityMapper
根据参数进行查询,查询结果最多只能有一个
查询条件为属性String类型不为空,其他类型!
selectOne(T) - 接口 中的方法com.github.abel533.entity.mapper.CommonMapper
根据参数进行查询,查询结果最多只能有一个
查询条件为属性String类型不为空,其他类型!
selectOne(T) - 接口 中的方法com.github.abel533.mapper.Mapper
 
selectOne(MappedStatement) - 类 中的方法com.github.abel533.mapper.MapperProvider
查询
selectOne(String) - 类 中的方法com.github.abel533.sql.SqlMapper
查询返回一个结果,多个结果时抛出异常
selectOne(String, Object) - 类 中的方法com.github.abel533.sql.SqlMapper
查询返回一个结果,多个结果时抛出异常
selectOne(String, Class<T>) - 类 中的方法com.github.abel533.sql.SqlMapper
查询返回一个结果,多个结果时抛出异常
selectOne(String, Object, Class<T>) - 类 中的方法com.github.abel533.sql.SqlMapper
查询返回一个结果,多个结果时抛出异常
setCatalog(String) - 类 中的方法com.github.abel533.mapperhelper.MapperHelper
设置全局的catalog,默认为空,如果设置了值,操作表时的sql会是catalog.tablename
setColumn(String) - 类 中的方法com.github.abel533.mapperhelper.EntityHelper.EntityColumn
 
setContext(Context) - 类 中的方法com.github.abel533.generator.MapperPlugin
 
setDistinct(boolean) - 类 中的方法com.github.abel533.entity.Example
 
setGenerator(String) - 类 中的方法com.github.abel533.mapperhelper.EntityHelper.EntityColumn
 
setId(boolean) - 类 中的方法com.github.abel533.mapperhelper.EntityHelper.EntityColumn
 
setIdentity(boolean) - 类 中的方法com.github.abel533.mapperhelper.EntityHelper.EntityColumn
 
setIDENTITY(String) - 类 中的方法com.github.abel533.mapperhelper.MapperHelper
主键自增回写方法,默认值MYSQL,详细说明请看文档
setJavaType(Class<?>) - 类 中的方法com.github.abel533.mapperhelper.EntityHelper.EntityColumn
 
setMappers(String[]) - 类 中的方法com.github.abel533.mapperhelper.MapperHelper
方便Spring注入
setNotEmpty(boolean) - 类 中的方法com.github.abel533.mapperhelper.MapperHelper
 
setOrder(String) - 类 中的方法com.github.abel533.mapperhelper.MapperHelper
主键自增回写方法执行顺序,默认AFTER,可选值为(BEFORE|AFTER)
setOrderBy(String) - 类 中的方法com.github.abel533.mapperhelper.EntityHelper.EntityColumn
 
setOrderByClause(String) - 类 中的方法com.github.abel533.entity.Example
 
setProperties(Properties) - 类 中的方法com.github.abel533.generator.MapperPlugin
 
setProperties(Properties) - 类 中的方法com.github.abel533.mapperhelper.MapperHelper
配置属性
setProperties(Properties) - 类 中的方法com.github.abel533.mapperhelper.MapperInterceptor
 
setProperty(String) - 类 中的方法com.github.abel533.mapperhelper.EntityHelper.EntityColumn
 
setResultType(MappedStatement, Class<?>) - 类 中的方法com.github.abel533.mapperhelper.MapperTemplate
设置返回值类型
setSchema(String) - 类 中的方法com.github.abel533.mapperhelper.MapperHelper
设置全局的schema,默认为空,如果设置了值,操作表时的sql会是schema.tablename
如果同时设置了catalog,优先使用catalog.tablename
setSeqFormat(String) - 类 中的方法com.github.abel533.mapperhelper.MapperHelper
序列的获取规则,使用{num}格式化参数,默认值为{0}.nextval,针对Oracle
可选参数一共3个,对应0,1,2,分别为SequenceName,ColumnName, PropertyName
setSequenceName(String) - 类 中的方法com.github.abel533.mapperhelper.EntityHelper.EntityColumn
 
setSqlSessions(SqlSession[]) - 类 中的方法com.github.abel533.mapperhelper.MapperHelper
针对Spring注入需要处理的SqlSession
setSqlSource(MappedStatement) - 类 中的方法com.github.abel533.mapperhelper.MapperHelper
重新设置SqlSource
setSqlSource(MappedStatement, SqlSource) - 类 中的方法com.github.abel533.mapperhelper.MapperTemplate
重新设置SqlSource
setSqlSource(MappedStatement) - 类 中的方法com.github.abel533.mapperhelper.MapperTemplate
重新设置SqlSource
setTable(Table) - 类 中的方法com.github.abel533.mapperhelper.EntityHelper.EntityTable
 
setUuid(boolean) - 类 中的方法com.github.abel533.mapperhelper.EntityHelper.EntityColumn
 
setUUID(String) - 类 中的方法com.github.abel533.mapperhelper.MapperHelper
设置UUID生成策略
配置UUID生成策略需要使用OGNL表达式
默认值32位长度:@java.util.UUID@randomUUID().toString().replace("-", "")
sqlMapDeleteByPrimaryKeyElementGenerated(XmlElement, IntrospectedTable) - 类 中的方法com.github.abel533.generator.MapperPlugin
 
sqlMapInsertElementGenerated(XmlElement, IntrospectedTable) - 类 中的方法com.github.abel533.generator.MapperPlugin
 
sqlMapInsertSelectiveElementGenerated(XmlElement, IntrospectedTable) - 类 中的方法com.github.abel533.generator.MapperPlugin
 
SqlMapper - com.github.abel533.sql中的类
MyBatis执行sql工具
SqlMapper(SqlSession) - 类 的构造器com.github.abel533.sql.SqlMapper
构造方法,默认缓存MappedStatement
sqlMapSelectAllElementGenerated(XmlElement, IntrospectedTable) - 类 中的方法com.github.abel533.generator.MapperPlugin
 
sqlMapSelectByPrimaryKeyElementGenerated(XmlElement, IntrospectedTable) - 类 中的方法com.github.abel533.generator.MapperPlugin
 
sqlMapUpdateByPrimaryKeySelectiveElementGenerated(XmlElement, IntrospectedTable) - 类 中的方法com.github.abel533.generator.MapperPlugin
 
sqlMapUpdateByPrimaryKeyWithBLOBsElementGenerated(XmlElement, IntrospectedTable) - 类 中的方法com.github.abel533.generator.MapperPlugin
 
sqlMapUpdateByPrimaryKeyWithoutBLOBsElementGenerated(XmlElement, IntrospectedTable) - 类 中的方法com.github.abel533.generator.MapperPlugin
 
supportMethod(String) - 类 中的方法com.github.abel533.mapperhelper.MapperTemplate
是否支持该通用方法

T

table - 类 中的变量com.github.abel533.entity.Example
 
tableName(Class<?>) - 类 中的方法com.github.abel533.mapperhelper.MapperTemplate
获取实体类的表名
throwNullKeyException(String) - 类 中的方法com.github.abel533.entity.BaseProvider
 
toUpperAscii(char) - 类 中的静态方法com.github.abel533.mapperhelper.EntityHelper
 

U

underlineToCamelhump(String) - 类 中的静态方法com.github.abel533.mapperhelper.EntityHelper
将下划线风格替换为驼峰风格
update(String) - 类 中的方法com.github.abel533.sql.SqlMapper
更新数据
update(String, Object) - 类 中的方法com.github.abel533.sql.SqlMapper
更新数据
updateByExample(Map<String, Object>) - 类 中的方法com.github.abel533.entity.CommonProvider
 
updateByExample(T, Object) - 类 中的方法com.github.abel533.entity.EntityMapper
通过Example进行更新全部字段
updateByExample(T, Object) - 接口 中的方法com.github.abel533.entity.mapper.CommonMapper
通过Example进行更新全部字段
updateByExample(T, Object) - 接口 中的方法com.github.abel533.mapper.Mapper
 
updateByExample(MappedStatement) - 类 中的方法com.github.abel533.mapper.MapperProvider
根据Example更新
updateByExampleSelective(Map<String, Object>) - 类 中的方法com.github.abel533.entity.CommonProvider
 
updateByExampleSelective(T, Object) - 类 中的方法com.github.abel533.entity.EntityMapper
通过Example进行更新非空字段
updateByExampleSelective(T, Object) - 接口 中的方法com.github.abel533.entity.mapper.CommonMapper
通过Example进行更新非空字段
updateByExampleSelective(T, Object) - 接口 中的方法com.github.abel533.mapper.Mapper
 
updateByExampleSelective(MappedStatement) - 类 中的方法com.github.abel533.mapper.MapperProvider
根据Example更新非null字段
updateByExampleWhereClause(Configuration) - 类 中的方法com.github.abel533.mapperhelper.MapperTemplate
Example-Update中的where结构
updateByPrimaryKey(Map<String, Object>) - 类 中的方法com.github.abel533.entity.CommonProvider
通过主键更新
updateByPrimaryKey(T) - 类 中的方法com.github.abel533.entity.EntityMapper
根据主键更新全部字段,空字段也会更新数据库
updateByPrimaryKey(T) - 接口 中的方法com.github.abel533.entity.mapper.CommonMapper
根据主键更新全部字段,空字段也会更新数据库
updateByPrimaryKey(T) - 接口 中的方法com.github.abel533.mapper.Mapper
 
updateByPrimaryKey(MappedStatement) - 类 中的方法com.github.abel533.mapper.MapperProvider
通过主键更新全部字段
updateByPrimaryKeySelective(Map<String, Object>) - 类 中的方法com.github.abel533.entity.CommonProvider
通过主键更新非空字段
updateByPrimaryKeySelective(T) - 类 中的方法com.github.abel533.entity.EntityMapper
根据主键更新非空属性字段,不能给数据库数据设置null或空
updateByPrimaryKeySelective(T) - 接口 中的方法com.github.abel533.entity.mapper.CommonMapper
根据主键更新非空属性字段,不能给数据库数据设置null或空
updateByPrimaryKeySelective(T) - 接口 中的方法com.github.abel533.mapper.Mapper
 
updateByPrimaryKeySelective(MappedStatement) - 类 中的方法com.github.abel533.mapper.MapperProvider
通过主键更新不为null的字段

V

validate(List<String>) - 类 中的方法com.github.abel533.generator.MapperPlugin
 
valueOf(String) - 枚举 中的静态方法com.github.abel533.mapperhelper.MapperHelper.IdentityDialect
返回带有指定名称的该类型的枚举常量。
values() - 枚举 中的静态方法com.github.abel533.mapperhelper.MapperHelper.IdentityDialect
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
A B C D E F G H I M N O P R S T U V 

Copyright © 2015. All rights reserved.