A B C D E 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
 

B

BaseDeleteMapper<T> - com.github.abel533.mapper.base中的接口
通用Mapper接口,基础删除
BaseInsertMapper<T> - com.github.abel533.mapper.base中的接口
通用Mapper接口,基础查询
BaseMapper<T> - com.github.abel533.mapper中的接口
通用Mapper接口,其他接口继承该接口即可

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

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

BaseSelectMapper<T> - com.github.abel533.mapper.base中的接口
通用Mapper接口,基础查询
BaseUpdateMapper<T> - com.github.abel533.mapper.base中的接口
通用Mapper接口,基础查询

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.generator - 程序包 com.github.abel533.generator
 
com.github.abel533.mapper - 程序包 com.github.abel533.mapper
 
com.github.abel533.mapper.base - 程序包 com.github.abel533.mapper.base
 
com.github.abel533.mapper.base.delete - 程序包 com.github.abel533.mapper.base.delete
 
com.github.abel533.mapper.base.insert - 程序包 com.github.abel533.mapper.base.insert
 
com.github.abel533.mapper.base.select - 程序包 com.github.abel533.mapper.base.select
 
com.github.abel533.mapper.base.update - 程序包 com.github.abel533.mapper.base.update
 
com.github.abel533.mapper.example - 程序包 com.github.abel533.mapper.example
 
com.github.abel533.mapper.rowbounds - 程序包 com.github.abel533.mapper.rowbounds
 
com.github.abel533.mapper.special - 程序包 com.github.abel533.mapper.special
 
com.github.abel533.mapper.sqlserver - 程序包 com.github.abel533.mapper.sqlserver
 
com.github.abel533.mapperhelper - 程序包 com.github.abel533.mapperhelper
 
com.github.abel533.provider - 程序包 com.github.abel533.provider
 
createCriteria() - 类 中的方法com.github.abel533.entity.Example
 
createCriteriaInternal() - 类 中的方法com.github.abel533.entity.Example
 
createSqlSource(MappedStatement, String) - 类 中的方法com.github.abel533.mapperhelper.MapperTemplate
 
criteria - 类 中的变量com.github.abel533.entity.Example.GeneratedCriteria
 

D

delete(T) - 接口 中的方法com.github.abel533.mapper.base.delete.DeleteMapper
 
delete(MappedStatement) - 类 中的方法com.github.abel533.provider.MapperProvider
通过条件删除
deleteByExample(Object) - 接口 中的方法com.github.abel533.mapper.example.DeleteByExampleMapper
 
deleteByExample(MappedStatement) - 类 中的方法com.github.abel533.provider.MapperProvider
根据Example删除
DeleteByExampleMapper<T> - com.github.abel533.mapper.example中的接口
通用Mapper接口,Example查询
deleteByPrimaryKey(Object) - 接口 中的方法com.github.abel533.mapper.base.delete.DeleteByPrimaryKeyMapper
 
deleteByPrimaryKey(MappedStatement) - 类 中的方法com.github.abel533.provider.MapperProvider
通过主键删除
DeleteByPrimaryKeyMapper<T> - com.github.abel533.mapper.base.delete中的接口
通用Mapper接口,删除
DeleteMapper<T> - com.github.abel533.mapper.base.delete中的接口
通用Mapper接口,删除
distinct - 类 中的变量com.github.abel533.entity.Example
 
dynamicSQL(Object) - 类 中的方法com.github.abel533.mapperhelper.MapperTemplate
 

E

EmptyMapperProvider - com.github.abel533.mapperhelper中的类
空方法Mapper接口默认MapperTemplate 如BaseSelectMapper,接口纯继承,不包含任何方法
EmptyMapperProvider(Class<?>, MapperHelper) - 类 的构造器com.github.abel533.mapperhelper.EmptyMapperProvider
 
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.EntityColumn(EntityHelper.EntityTable) - 类 的构造器com.github.abel533.mapperhelper.EntityHelper.EntityColumn
 
EntityHelper.EntityTable - com.github.abel533.mapperhelper中的类
实体对应表的配置信息
EntityHelper.EntityTable() - 类 的构造器com.github.abel533.mapperhelper.EntityHelper.EntityTable
 
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
 
ExampleMapper<T> - com.github.abel533.mapper中的接口
通用Mapper接口,Example查询
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
 

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
 
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
获取表对象
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
 
getKeyColumns() - 类 中的方法com.github.abel533.mapperhelper.EntityHelper.EntityTable
 
getKeyProperties() - 类 中的方法com.github.abel533.mapperhelper.EntityHelper.EntityTable
 
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版本号
getTable() - 类 中的方法com.github.abel533.mapperhelper.EntityHelper.EntityColumn
 
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(T) - 接口 中的方法com.github.abel533.mapper.base.insert.InsertMapper
 
insert(T) - 接口 中的方法com.github.abel533.mapper.sqlserver.InsertMapper
 
insert(MappedStatement) - 类 中的方法com.github.abel533.provider.MapperProvider
插入全部
insert(MappedStatement) - 类 中的方法com.github.abel533.provider.SqlServerProvider
插入
insertList(List<T>) - 接口 中的方法com.github.abel533.mapper.special.InsertListMapper
批量插入,支持数据库自增字段,支持回写
insertList(MappedStatement) - 类 中的方法com.github.abel533.provider.SpecialProvider
批量插入
InsertListMapper<T> - com.github.abel533.mapper.special中的接口
通用Mapper接口,特殊方法,批量插入,支持批量插入的数据库都可以使用,例如mysql,h2等
InsertMapper<T> - com.github.abel533.mapper.base.insert中的接口
通用Mapper接口,插入
InsertMapper<T> - com.github.abel533.mapper.sqlserver中的接口
通用Mapper接口,插入
insertSelective(T) - 接口 中的方法com.github.abel533.mapper.base.insert.InsertSelectiveMapper
 
insertSelective(T) - 接口 中的方法com.github.abel533.mapper.sqlserver.InsertSelectiveMapper
 
insertSelective(MappedStatement) - 类 中的方法com.github.abel533.provider.MapperProvider
插入不为null的字段
insertSelective(MappedStatement) - 类 中的方法com.github.abel533.provider.SqlServerProvider
插入不为null的字段
InsertSelectiveMapper<T> - com.github.abel533.mapper.base.insert中的接口
通用Mapper接口,插入
InsertSelectiveMapper<T> - com.github.abel533.mapper.sqlserver中的接口
通用Mapper接口,插入
insertUseGeneratedKeys(T) - 接口 中的方法com.github.abel533.mapper.special.InsertUseGeneratedKeysMapper
插入,支持数据库自增字段必须是id,支持回写
insertUseGeneratedKeys(MappedStatement) - 类 中的方法com.github.abel533.provider.SpecialProvider
插入,主键id,自增
InsertUseGeneratedKeysMapper<T> - com.github.abel533.mapper.special中的接口
通用Mapper接口,特殊方法,批量插入,支持批量插入的数据库都可以使用,例如mysql,h2等
intercept(Invocation) - 类 中的方法com.github.abel533.mapperhelper.MapperInterceptor
 
isBetweenValue() - 类 中的方法com.github.abel533.entity.Example.Criterion
 
isDistinct() - 类 中的方法com.github.abel533.entity.Example
 
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() - 类 中的方法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

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.provider中的类
Mappper实现类,基础方法实现类
MapperProvider(Class<?>, MapperHelper) - 类 的构造器com.github.abel533.provider.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字段的对象
MultipleJdbc3KeyGenerator - com.github.abel533.mapperhelper中的类
实现批量插入ID回写
MultipleJdbc3KeyGenerator() - 类 的构造器com.github.abel533.mapperhelper.MultipleJdbc3KeyGenerator
 
MySqlMapper<T> - com.github.abel533.mapper中的接口
通用Mapper接口,MySql独有的通用方法

N

newSelectKeyMappedStatement(MappedStatement, EntityHelper.EntityColumn) - 类 中的方法com.github.abel533.mapperhelper.MapperTemplate
新建SelectKey节点 - 只对mysql的自动增长有效,Oracle序列直接写到列中

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
 
processAfter(Executor, MappedStatement, Statement, Object) - 类 中的方法com.github.abel533.mapperhelper.MultipleJdbc3KeyGenerator
 
processBatch(MappedStatement, Statement, Collection<Object>) - 类 中的方法com.github.abel533.mapperhelper.MultipleJdbc3KeyGenerator
 
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接口
RowBoundsMapper<T> - com.github.abel533.mapper中的接口
通用Mapper接口,带RowBounds参数的查询 配合分页插件PageHelper可以实现物理分页 PageHelper - http://git.oschina.net/free/Mybatis_PageHelper

S

select(T) - 接口 中的方法com.github.abel533.mapper.base.select.SelectMapper
 
select(MappedStatement) - 类 中的方法com.github.abel533.provider.MapperProvider
查询
selectByExample(Object) - 接口 中的方法com.github.abel533.mapper.example.SelectByExampleMapper
 
selectByExample(MappedStatement) - 类 中的方法com.github.abel533.provider.MapperProvider
根据Example查询
selectByExampleAndRowBounds(Object, RowBounds) - 接口 中的方法com.github.abel533.mapper.rowbounds.SelectByExampleRowBoundsMapper
 
selectByExampleAndRowBounds(MappedStatement) - 类 中的方法com.github.abel533.provider.MapperProvider
根据Example查询
SelectByExampleMapper<T> - com.github.abel533.mapper.example中的接口
通用Mapper接口,Example查询
SelectByExampleRowBoundsMapper<T> - com.github.abel533.mapper.rowbounds中的接口
通用Mapper接口,查询
selectByPrimaryKey(Object) - 接口 中的方法com.github.abel533.mapper.base.select.SelectByPrimaryKeyMapper
 
selectByPrimaryKey(MappedStatement) - 类 中的方法com.github.abel533.provider.MapperProvider
根据主键进行查询
SelectByPrimaryKeyMapper<T> - com.github.abel533.mapper.base.select中的接口
通用Mapper接口,其他接口继承该接口即可

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

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

selectByRowBounds(T, RowBounds) - 接口 中的方法com.github.abel533.mapper.rowbounds.SelectRowBoundsMapper
 
selectByRowBounds(MappedStatement) - 类 中的方法com.github.abel533.provider.MapperProvider
查询
selectCount(T) - 接口 中的方法com.github.abel533.mapper.base.select.SelectCountMapper
 
selectCount(MappedStatement) - 类 中的方法com.github.abel533.provider.MapperProvider
查询总数
selectCountByExample(Object) - 接口 中的方法com.github.abel533.mapper.example.SelectCountByExampleMapper
 
selectCountByExample(MappedStatement) - 类 中的方法com.github.abel533.provider.MapperProvider
根据Example查询总数
SelectCountByExampleMapper<T> - com.github.abel533.mapper.example中的接口
通用Mapper接口,Example查询
SelectCountMapper<T> - com.github.abel533.mapper.base.select中的接口
通用Mapper接口,查询
SelectMapper<T> - com.github.abel533.mapper.base.select中的接口
通用Mapper接口,查询
selectOne(T) - 接口 中的方法com.github.abel533.mapper.base.select.SelectOneMapper
 
selectOne(MappedStatement) - 类 中的方法com.github.abel533.provider.MapperProvider
查询
SelectOneMapper<T> - com.github.abel533.mapper.base.select中的接口
通用Mapper接口,查询
SelectRowBoundsMapper<T> - com.github.abel533.mapper.rowbounds中的接口
通用Mapper接口,查询
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
 
setKeyColumns(String) - 类 中的方法com.github.abel533.mapperhelper.EntityHelper.EntityTable
 
setKeyProperties(String) - 类 中的方法com.github.abel533.mapperhelper.EntityHelper.EntityTable
 
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,同时判断如果是Jdbc3KeyGenerator,就设置为MultipleJdbc3KeyGenerator
setSqlSource(MappedStatement) - 类 中的方法com.github.abel533.mapperhelper.MapperTemplate
重新设置SqlSource
setTable(EntityHelper.EntityTable) - 类 中的方法com.github.abel533.mapperhelper.EntityHelper.EntityColumn
 
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("-", "")
SpecialProvider - com.github.abel533.provider中的类
Mappper实现类,特殊方法实现类
SpecialProvider(Class<?>, MapperHelper) - 类 的构造器com.github.abel533.provider.SpecialProvider
 
sqlMapDeleteByPrimaryKeyElementGenerated(XmlElement, IntrospectedTable) - 类 中的方法com.github.abel533.generator.MapperPlugin
 
sqlMapInsertElementGenerated(XmlElement, IntrospectedTable) - 类 中的方法com.github.abel533.generator.MapperPlugin
 
sqlMapInsertSelectiveElementGenerated(XmlElement, IntrospectedTable) - 类 中的方法com.github.abel533.generator.MapperPlugin
 
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
 
SqlServerMapper<T> - com.github.abel533.mapper中的接口
通用Mapper接口,SqlServerMapper独有的通用方法
SqlServerProvider - com.github.abel533.provider中的类
Mappper实现类,特殊方法实现类
SqlServerProvider(Class<?>, MapperHelper) - 类 的构造器com.github.abel533.provider.SqlServerProvider
 
supportMethod(String) - 类 中的方法com.github.abel533.mapperhelper.EmptyMapperProvider
 
supportMethod(String) - 类 中的方法com.github.abel533.mapperhelper.MapperTemplate
是否支持该通用方法

T

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

U

underlineToCamelhump(String) - 类 中的静态方法com.github.abel533.mapperhelper.EntityHelper
将下划线风格替换为驼峰风格
updateByExample(T, Object) - 接口 中的方法com.github.abel533.mapper.example.UpdateByExampleMapper
 
updateByExample(MappedStatement) - 类 中的方法com.github.abel533.provider.MapperProvider
根据Example更新
UpdateByExampleMapper<T> - com.github.abel533.mapper.example中的接口
通用Mapper接口,Example查询
updateByExampleSelective(T, Object) - 接口 中的方法com.github.abel533.mapper.example.UpdateByExampleSelectiveMapper
 
updateByExampleSelective(MappedStatement) - 类 中的方法com.github.abel533.provider.MapperProvider
根据Example更新非null字段
UpdateByExampleSelectiveMapper<T> - com.github.abel533.mapper.example中的接口
通用Mapper接口,Example查询
updateByExampleWhereClause(Configuration) - 类 中的方法com.github.abel533.mapperhelper.MapperTemplate
Example-Update中的where结构
updateByPrimaryKey(T) - 接口 中的方法com.github.abel533.mapper.base.update.UpdateByPrimaryKeyMapper
 
updateByPrimaryKey(MappedStatement) - 类 中的方法com.github.abel533.provider.MapperProvider
通过主键更新全部字段
UpdateByPrimaryKeyMapper<T> - com.github.abel533.mapper.base.update中的接口
通用Mapper接口,更新
updateByPrimaryKeySelective(T) - 接口 中的方法com.github.abel533.mapper.base.update.UpdateByPrimaryKeySelectiveMapper
 
updateByPrimaryKeySelective(MappedStatement) - 类 中的方法com.github.abel533.provider.MapperProvider
通过主键更新不为null的字段
UpdateByPrimaryKeySelectiveMapper<T> - com.github.abel533.mapper.base.update中的接口
通用Mapper接口,更新

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 G H I M N O P R S T U V 

Copyright © 2015. All rights reserved.