跳过导航链接
A C D F G H I L M O P S U V W 

A

addFilter(String, Object...) - 类 中的方法com.github.yuxiaobin.mybatis.gm.GeneralEntityWrapper
已过时。
instead use where(String sqlWhere, Object... params),and(String sqlAnd, Object... params)...
addFilterIfNeed(boolean, String, Object...) - 类 中的方法com.github.yuxiaobin.mybatis.gm.GeneralEntityWrapper
已过时。
instead use where(String sqlWhere, Object... params),and(String sqlAnd, Object... params)...
addKeyWord(String...) - 类 中的方法com.github.yuxiaobin.mybatis.gm.mapper.GeneralMapperSqlInjector
 
addKeyWords(Collection<String>) - 类 中的方法com.github.yuxiaobin.mybatis.gm.mapper.GeneralMapperSqlInjector
 
and(String, Object...) - 类 中的方法com.github.yuxiaobin.mybatis.gm.GeneralEntityWrapper
Code:
ew.and("col1=18").and("col2={0}", 20)
SQL:
AND col1=18 AND col2=20
andNew(String, Object...) - 类 中的方法com.github.yuxiaobin.mybatis.gm.GeneralEntityWrapper
Use () to separate sql segment.
asParam(String, Object) - 类 中的方法com.github.yuxiaobin.mybatis.gm.GeneralMapper
Put GeneralEntityWrapper.paramNameValuePairs to paramMap if obj is GeneralEntityWrapper.

C

checkBeanType(Class<?>) - 类 中的方法com.github.yuxiaobin.mybatis.gm.processer.MybatisGeneralEntityProcessor
Preprocess for class filtering.
checkFieldValueNotNull() - 类 中的方法com.github.yuxiaobin.mybatis.gm.GeneralEntityWrapper
Get corresponding class and check property values NOT null.
CLOSE_TOKEN - 类 中的静态变量com.github.yuxiaobin.mybatis.gm.GeneralEntityWrapper
 
com.github.yuxiaobin.mybatis.gm - 程序包 com.github.yuxiaobin.mybatis.gm
 
com.github.yuxiaobin.mybatis.gm.conf - 程序包 com.github.yuxiaobin.mybatis.gm.conf
 
com.github.yuxiaobin.mybatis.gm.enums - 程序包 com.github.yuxiaobin.mybatis.gm.enums
 
com.github.yuxiaobin.mybatis.gm.exceptions - 程序包 com.github.yuxiaobin.mybatis.gm.exceptions
 
com.github.yuxiaobin.mybatis.gm.intcpt - 程序包 com.github.yuxiaobin.mybatis.gm.intcpt
 
com.github.yuxiaobin.mybatis.gm.mapper - 程序包 com.github.yuxiaobin.mybatis.gm.mapper
 
com.github.yuxiaobin.mybatis.gm.plus - 程序包 com.github.yuxiaobin.mybatis.gm.plus
 
com.github.yuxiaobin.mybatis.gm.processer - 程序包 com.github.yuxiaobin.mybatis.gm.processer
 
com.github.yuxiaobin.mybatis.gm.utils - 程序包 com.github.yuxiaobin.mybatis.gm.utils
 
convertKeyWords4Property(String) - 类 中的方法com.github.yuxiaobin.mybatis.gm.mapper.GeneralMapperSqlInjector
 
createParameterHandler(MappedStatement, Object, BoundSql) - 类 中的方法com.github.yuxiaobin.mybatis.gm.plus.GeneralMybatisXMLLanguageDriver
 

D

DBColumnTypes - com.github.yuxiaobin.mybatis.gm.enums中的枚举
数据库类型跟java类型的枚举
DBKeywords() - 类 的构造器com.github.yuxiaobin.mybatis.gm.conf.DBKeywordsConfig.DBKeywords
 
DBKeywordsConfig - com.github.yuxiaobin.mybatis.gm.conf中的类
 
DBKeywordsConfig() - 类 的构造器com.github.yuxiaobin.mybatis.gm.conf.DBKeywordsConfig
 
DBKeywordsConfig.DBKeywords - com.github.yuxiaobin.mybatis.gm.conf中的类
 
deleteBatchIds(List<?>, Class<?>) - 类 中的方法com.github.yuxiaobin.mybatis.gm.GeneralMapper
删除(根据ID 批量删除)
deleteByEW(GeneralEntityWrapper<?>) - 类 中的方法com.github.yuxiaobin.mybatis.gm.GeneralMapper
根据EntityWrapper条件删除记录
deleteById(Object, Class<?>) - 类 中的方法com.github.yuxiaobin.mybatis.gm.GeneralMapper
根据 ID 删除
deleteByMap(Map<String, Object>, Class<?>) - 类 中的方法com.github.yuxiaobin.mybatis.gm.GeneralMapper
根据 columnMap 条件,删除记录
deleteSelective(Object) - 类 中的方法com.github.yuxiaobin.mybatis.gm.GeneralMapper
根据 entity 条件,删除记录

F

formatSqlIfNeed(boolean, String, Object...) - 类 中的方法com.github.yuxiaobin.mybatis.gm.GeneralEntityWrapper
Format SQL for methods: EntityWrapper.where/and/or...

G

GeneralBatchInsertInterceptor - com.github.yuxiaobin.mybatis.gm.intcpt中的类
Mybatis Physical Pagination Intercetptor.
GeneralBatchInsertInterceptor() - 类 的构造器com.github.yuxiaobin.mybatis.gm.intcpt.GeneralBatchInsertInterceptor
 
GeneralEntitySubTypesHolder - com.github.yuxiaobin.mybatis.gm.plus中的类
用来存实体和对应子类的匹配关系 Map.key=子类的class Map.value=真正实体类的class
GeneralEntitySubTypesHolder() - 类 的构造器com.github.yuxiaobin.mybatis.gm.plus.GeneralEntitySubTypesHolder
 
GeneralEntityWrapper<T> - com.github.yuxiaobin.mybatis.gm中的类
This object is used to solve EntityWrapper.where/and/or...
GeneralEntityWrapper() - 类 的构造器com.github.yuxiaobin.mybatis.gm.GeneralEntityWrapper
 
GeneralEntityWrapper(T, String) - 类 的构造器com.github.yuxiaobin.mybatis.gm.GeneralEntityWrapper
 
GeneralEntityWrapper(T) - 类 的构造器com.github.yuxiaobin.mybatis.gm.GeneralEntityWrapper
 
GeneralJdbcReflectionUtil - com.github.yuxiaobin.mybatis.gm.utils中的类
 
GeneralJdbcReflectionUtil() - 类 的构造器com.github.yuxiaobin.mybatis.gm.utils.GeneralJdbcReflectionUtil
 
GeneralJdbcReflectionUtil.DBType - com.github.yuxiaobin.mybatis.gm.utils中的枚举
 
GeneralMapper - com.github.yuxiaobin.mybatis.gm中的类
 
GeneralMapper() - 类 的构造器com.github.yuxiaobin.mybatis.gm.GeneralMapper
 
GeneralMapper(SqlSessionFactory) - 类 的构造器com.github.yuxiaobin.mybatis.gm.GeneralMapper
 
GeneralMapperBootstrapConfiguration - com.github.yuxiaobin.mybatis.gm.conf中的类
 
GeneralMapperBootstrapConfiguration() - 类 的构造器com.github.yuxiaobin.mybatis.gm.conf.GeneralMapperBootstrapConfiguration
 
GeneralMapperSqlInjector - com.github.yuxiaobin.mybatis.gm.mapper中的类
Single Table CURD SQL Injector
GeneralMapperSqlInjector() - 类 的构造器com.github.yuxiaobin.mybatis.gm.mapper.GeneralMapperSqlInjector
 
GeneralMapperSqlInjector.ExtraSqlMethod - com.github.yuxiaobin.mybatis.gm.mapper中的枚举
 
GeneralMybatisParameterHandler - com.github.yuxiaobin.mybatis.gm.plus中的类
This Class is used to populate Primary Key for INSERT method for IdType.UUID /IdType.ID_WORKER.
GeneralMybatisParameterHandler(MappedStatement, Object, BoundSql) - 类 的构造器com.github.yuxiaobin.mybatis.gm.plus.GeneralMybatisParameterHandler
 
GeneralMybatisXMLLanguageDriver - com.github.yuxiaobin.mybatis.gm.plus中的类
自定义XMLLanguageDriver
GeneralMybatisXMLLanguageDriver() - 类 的构造器com.github.yuxiaobin.mybatis.gm.plus.GeneralMybatisXMLLanguageDriver
 
GeneralPaginationInterceptor - com.github.yuxiaobin.mybatis.gm.intcpt中的类
Mybatis Physical Pagination Intercetptor.
GeneralPaginationInterceptor(GeneralSqlChangeInterceptor[]) - 类 的构造器com.github.yuxiaobin.mybatis.gm.intcpt.GeneralPaginationInterceptor
 
GeneralSqlChangeInterceptor - com.github.yuxiaobin.mybatis.gm.intcpt中的接口
By default, for mybatis plugins, only Interceptor for StatementHandler allows to inner change the executed sql.
generalSqlInjector(DataSource, DBKeywordsConfig.DBKeywords) - 类 中的方法com.github.yuxiaobin.mybatis.gm.conf.GeneralMapperBootstrapConfiguration
 
GeneralSqlSessionFactoryBean - com.github.yuxiaobin.mybatis.gm中的类
暴露get方法,用来解析通配符的包名(com.github.yuxiaobin.*.persistent) Expose get method for typeAliasesPackage, so that can parse package path with *(wildcard support: com.github.yuxiaobin.*.persistent) 初始化sessionFactory的时候,使用该类型.
GeneralSqlSessionFactoryBean() - 类 的构造器com.github.yuxiaobin.mybatis.gm.GeneralSqlSessionFactoryBean
 
generateNamespace(Class<?>) - 类 中的静态方法com.github.yuxiaobin.mybatis.gm.processer.MybatisGeneralEntityProcessor
 
get(Class<?>) - 类 中的静态方法com.github.yuxiaobin.mybatis.gm.plus.GeneralEntitySubTypesHolder
 
get32UUID() - 类 中的静态方法com.github.yuxiaobin.mybatis.gm.plus.GeneralMybatisParameterHandler
获取去掉"-" UUID
getCorrespondingEntityClass(Class<?>) - 类 中的方法com.github.yuxiaobin.mybatis.gm.GeneralMapper
V1.8: Update
generalmapper helps to scan sub-entities.
getDb() - 枚举 中的方法com.github.yuxiaobin.mybatis.gm.utils.GeneralJdbcReflectionUtil.DBType
 
getDBKeywords() - 类 中的方法com.github.yuxiaobin.mybatis.gm.conf.DBKeywordsConfig
 
getDBType(String) - 枚举 中的静态方法com.github.yuxiaobin.mybatis.gm.utils.GeneralJdbcReflectionUtil.DBType
获取数据库类型(默认 MySql)
getDbType(String) - 类 中的静态方法com.github.yuxiaobin.mybatis.gm.utils.GeneralJdbcReflectionUtil
根据连接地址判断数据库类型
getDesc() - 枚举 中的方法com.github.yuxiaobin.mybatis.gm.mapper.GeneralMapperSqlInjector.ExtraSqlMethod
 
getKeywords() - 类 中的方法com.github.yuxiaobin.mybatis.gm.conf.DBKeywordsConfig.DBKeywords
 
getMethod() - 枚举 中的方法com.github.yuxiaobin.mybatis.gm.mapper.GeneralMapperSqlInjector.ExtraSqlMethod
 
getParameters(Object) - 类 中的静态方法com.github.yuxiaobin.mybatis.gm.plus.GeneralMybatisParameterHandler
处理正常批量插入逻辑 org.apache.ibatis.session.defaults.DefaultSqlSession$StrictMap 该类方法 wrapCollection 实现 StrictMap 封装逻辑
getParamNameValuePairs() - 类 中的方法com.github.yuxiaobin.mybatis.gm.GeneralEntityWrapper
 
getPkg() - 枚举 中的方法com.github.yuxiaobin.mybatis.gm.enums.DBColumnTypes
 
getRealTarget(Object) - 类 中的静态方法com.github.yuxiaobin.mybatis.gm.utils.MybatisPluginUtil
获得真正的处理对象,可能多层代理.
getSql() - 枚举 中的方法com.github.yuxiaobin.mybatis.gm.mapper.GeneralMapperSqlInjector.ExtraSqlMethod
 
getSqlSegment() - 类 中的方法com.github.yuxiaobin.mybatis.gm.GeneralEntityWrapper
Plus Injected Sql will use EntityWrapper.sqlSegment in sql script

Refer to AutoSqlInjector.sqlWhereEntityWrapper()

If ew.entity is an empty object, sql structure:
select col1, col2 from tbl_entity #{sqlSegment}, sqlSegment should start with "WHERE";
If ew.entity has property values, sql structure:
select col1, col2 from tbl_entity where col1=#{propertyVal1} #{sqlSegment}, sqlSegment should start with "AND"
getType() - 枚举 中的方法com.github.yuxiaobin.mybatis.gm.enums.DBColumnTypes
 
getTypeAliasesPackage() - 类 中的方法com.github.yuxiaobin.mybatis.gm.GeneralSqlSessionFactoryBean
 

H

having(String, Object...) - 类 中的方法com.github.yuxiaobin.mybatis.gm.GeneralEntityWrapper
Code:
eg: ew.groupBy("id,name").having("id={0}",22).and("password is not null")
SQL:
group by id, name having id=22 and password is not null

I

inject(Configuration, MapperBuilderAssistant, Class<?>, Class<?>, TableInfo) - 类 中的方法com.github.yuxiaobin.mybatis.gm.mapper.GeneralMapperSqlInjector
CRUD sql inject
injectDeleteByEWSql(Class<?>, Class<?>, TableInfo) - 类 中的方法com.github.yuxiaobin.mybatis.gm.mapper.GeneralMapperSqlInjector
删除满足条件的记录
Delete by EntityWrapper
条件:EntityWrapper
insert(Object) - 类 中的方法com.github.yuxiaobin.mybatis.gm.GeneralMapper
插入一条记录 Insert one record.
insertBatch(List<?>) - 类 中的方法com.github.yuxiaobin.mybatis.gm.GeneralMapper
插入(批量) Insert batch(current version only support mysql/oracle)
insertSelective(Object) - 类 中的方法com.github.yuxiaobin.mybatis.gm.GeneralMapper
插入一条记录(选择字段, null 字段不插入) Insert one record, null column will be ignored(if DB column has default value, then value of the DB record will be the default value)
intercept(Invocation) - 类 中的方法com.github.yuxiaobin.mybatis.gm.intcpt.GeneralBatchInsertInterceptor
 
intercept(Invocation) - 类 中的方法com.github.yuxiaobin.mybatis.gm.intcpt.GeneralPaginationInterceptor
 
intercept(String) - 接口 中的方法com.github.yuxiaobin.mybatis.gm.intcpt.GeneralSqlChangeInterceptor
 

L

logger - 类 中的静态变量com.github.yuxiaobin.mybatis.gm.mapper.GeneralMapperSqlInjector
 

M

mybatisEntityProcessor(GeneralMapperSqlInjector) - 类 中的方法com.github.yuxiaobin.mybatis.gm.conf.GeneralMapperBootstrapConfiguration
 
MybatisGeneralEntityProcessor - com.github.yuxiaobin.mybatis.gm.processer中的类
This class is used to inject SQL for entity.
MybatisGeneralEntityProcessor(GeneralMapperSqlInjector) - 类 的构造器com.github.yuxiaobin.mybatis.gm.processer.MybatisGeneralEntityProcessor
 
MybatisPluginUtil - com.github.yuxiaobin.mybatis.gm.utils中的类
 
MybatisPluginUtil() - 类 的构造器com.github.yuxiaobin.mybatis.gm.utils.MybatisPluginUtil
 

O

onApplicationEvent(ApplicationEvent) - 类 中的方法com.github.yuxiaobin.mybatis.gm.processer.MybatisGeneralEntityProcessor
Scan sub-types for Entity.
OPEN_TOKEN - 类 中的静态变量com.github.yuxiaobin.mybatis.gm.GeneralEntityWrapper
 
or(String, Object...) - 类 中的方法com.github.yuxiaobin.mybatis.gm.GeneralEntityWrapper
Code:
ew.or("col1=18").or("col2={0}", 20)
SQL:
OR col1=18 OR col2=20
orNew(String, Object...) - 类 中的方法com.github.yuxiaobin.mybatis.gm.GeneralEntityWrapper
Code:
ew.or("col1=18").orNew("col2={0} and col3={0}", 20)
SQL:
OR col1=18 OR ( col2=20 and col3=20 )

P

parseTypeAliasPackage(String) - 类 中的静态方法com.github.yuxiaobin.mybatis.gm.processer.MybatisGeneralEntityProcessor
Allow to define the parse strategy for package scan.
plugin(Object) - 类 中的方法com.github.yuxiaobin.mybatis.gm.intcpt.GeneralBatchInsertInterceptor
 
plugin(Object) - 类 中的方法com.github.yuxiaobin.mybatis.gm.intcpt.GeneralPaginationInterceptor
 
populateKeys(TableInfo, MappedStatement, Object) - 类 中的静态方法com.github.yuxiaobin.mybatis.gm.plus.GeneralMybatisParameterHandler
填充主键 ID
postProcessAfterInitialization(Object, String) - 类 中的方法com.github.yuxiaobin.mybatis.gm.processer.MybatisGeneralEntityProcessor
优先选择mybatis-plus配置进行动态扫描注入
postProcessBeforeInitialization(Object, String) - 类 中的方法com.github.yuxiaobin.mybatis.gm.processer.MybatisGeneralEntityProcessor
 
processBatchGeneral(MappedStatement, Object) - 类 中的静态方法com.github.yuxiaobin.mybatis.gm.plus.GeneralMybatisParameterHandler
 
put(Class<?>, Class<?>) - 类 中的静态方法com.github.yuxiaobin.mybatis.gm.plus.GeneralEntitySubTypesHolder
 

S

selectBatchIds(List<?>, Class<T>) - 类 中的方法com.github.yuxiaobin.mybatis.gm.GeneralMapper
查询(根据ID 批量查询)
selectById(Object, Class<T>) - 类 中的方法com.github.yuxiaobin.mybatis.gm.GeneralMapper
根据 ID 查询
selectByMap(Map<String, Object>, Class<T>) - 类 中的方法com.github.yuxiaobin.mybatis.gm.GeneralMapper
查询(根据 columnMap 条件)
selectCount(Object) - 类 中的方法com.github.yuxiaobin.mybatis.gm.GeneralMapper
根据 entity 条件,查询总记录数
selectCountByEW(GeneralEntityWrapper<T>) - 类 中的方法com.github.yuxiaobin.mybatis.gm.GeneralMapper
Select count by entityWrapper.
selectList(GeneralEntityWrapper<T>) - 类 中的方法com.github.yuxiaobin.mybatis.gm.GeneralMapper
根据 entity 条件,查询全部记录
selectOne(T) - 类 中的方法com.github.yuxiaobin.mybatis.gm.GeneralMapper
根据 entity 条件,查询一条记录
selectPage(Pagination, GeneralEntityWrapper<T>) - 类 中的方法com.github.yuxiaobin.mybatis.gm.GeneralMapper
根据 entity 条件,查询全部记录(并翻页)
setDBType(DBType) - 类 中的方法com.github.yuxiaobin.mybatis.gm.mapper.GeneralMapperSqlInjector
 
setKeywords(List<String>) - 类 中的方法com.github.yuxiaobin.mybatis.gm.conf.DBKeywordsConfig.DBKeywords
 
setProperties(Properties) - 类 中的方法com.github.yuxiaobin.mybatis.gm.intcpt.GeneralBatchInsertInterceptor
 
setProperties(Properties) - 类 中的方法com.github.yuxiaobin.mybatis.gm.intcpt.GeneralPaginationInterceptor
 
setSqlSessionFactory(SqlSessionFactory) - 类 中的方法com.github.yuxiaobin.mybatis.gm.GeneralMapper
 
setTypeAliasesPackage(String) - 类 中的方法com.github.yuxiaobin.mybatis.gm.GeneralSqlSessionFactoryBean
 
SqlChangeException - com.github.yuxiaobin.mybatis.gm.exceptions中的异常错误
 
SqlChangeException() - 异常错误 的构造器com.github.yuxiaobin.mybatis.gm.exceptions.SqlChangeException
 
SqlChangeException(String, Throwable, boolean, boolean) - 异常错误 的构造器com.github.yuxiaobin.mybatis.gm.exceptions.SqlChangeException
 
SqlChangeException(String, Throwable) - 异常错误 的构造器com.github.yuxiaobin.mybatis.gm.exceptions.SqlChangeException
 
SqlChangeException(String) - 异常错误 的构造器com.github.yuxiaobin.mybatis.gm.exceptions.SqlChangeException
 
SqlChangeException(Throwable) - 异常错误 的构造器com.github.yuxiaobin.mybatis.gm.exceptions.SqlChangeException
 
sqlSelectColumns(TableInfo, boolean) - 类 中的方法com.github.yuxiaobin.mybatis.gm.mapper.GeneralMapperSqlInjector
 

U

update(Object, Object) - 类 中的方法com.github.yuxiaobin.mybatis.gm.GeneralMapper
根据 whereEntity 条件,更新记录
updateBatchById(List<?>) - 类 中的方法com.github.yuxiaobin.mybatis.gm.GeneralMapper
根据ID 批量更新
updateById(Object) - 类 中的方法com.github.yuxiaobin.mybatis.gm.GeneralMapper
根据 ID 修改
updateSelective(Object, Object) - 类 中的方法com.github.yuxiaobin.mybatis.gm.GeneralMapper
根据 whereEntity 条件,选择更新记录 Update record(s) by where entity(by property values which is not null)
updateSelectiveById(Object) - 类 中的方法com.github.yuxiaobin.mybatis.gm.GeneralMapper
根据 ID 选择修改(NULL value fields will be ignored)

V

valueOf(String) - 枚举 中的静态方法com.github.yuxiaobin.mybatis.gm.enums.DBColumnTypes
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.github.yuxiaobin.mybatis.gm.mapper.GeneralMapperSqlInjector.ExtraSqlMethod
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.github.yuxiaobin.mybatis.gm.utils.GeneralJdbcReflectionUtil.DBType
返回带有指定名称的该类型的枚举常量。
values() - 枚举 中的静态方法com.github.yuxiaobin.mybatis.gm.enums.DBColumnTypes
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.github.yuxiaobin.mybatis.gm.mapper.GeneralMapperSqlInjector.ExtraSqlMethod
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.github.yuxiaobin.mybatis.gm.utils.GeneralJdbcReflectionUtil.DBType
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。

W

where(String, Object...) - 类 中的方法com.github.yuxiaobin.mybatis.gm.GeneralEntityWrapper
ew.where("col_1>{0} and col_1<{1}", Object val1, Object val2);


eg:
ew.where("name='Bob'").where("id=#{value1}",123).where("age>#{value2}", 18);
OR
ew.where("name='Bob'").where("id={0}",123).where("age>{1}", 18);
sql:
where (name='Bob' and id=#{value1} and age>#{value2})
The values of "value1" and "value2" will be passed to mybatis via Map param.
wrapResult(List<T>, Class<?>) - 类 中的方法com.github.yuxiaobin.mybatis.gm.GeneralMapper
Convert EntityList to Entity Sub-class List.
wrapResult(List<T>, GeneralEntityWrapper<T>) - 类 中的方法com.github.yuxiaobin.mybatis.gm.GeneralMapper
如果用EntityVO extends Entity查询,把EntityList 包装成 EntityVOList
wrapResult(T, Class<?>) - 类 中的方法com.github.yuxiaobin.mybatis.gm.GeneralMapper
Convert Entity Result to Entity Sub-class if needed.
A C D F G H I L M O P S U V W 
跳过导航链接

Copyright © 2017. All rights reserved.