- generateResultMapId(ProviderContext, String) - Method in class io.mybatis.provider.EntityTable
-
- GenericEntityClassFinder - Class in io.mybatis.provider.defaults
-
根据泛型,从返回值、参数、接口泛型参数来判断对应的实体类类型
- GenericEntityClassFinder() - Constructor for class io.mybatis.provider.defaults.GenericEntityClassFinder
-
- GenericTypeResolver - Class in io.mybatis.provider.defaults
-
源码来自 https://github.com/mybatis/mybatis-3,在此基础上仅添加了一个 resolveMapperTypes 方法
- genId - Variable in class io.mybatis.provider.EntityColumn
-
主键策略3,优先级3:Java 方式生成主键,可以和发号器一类的服务配合使用
- GenId<T> - Interface in io.mybatis.provider.keysql
-
通过接口生成主键
- genId(EntityTable, EntityColumn) - Method in interface io.mybatis.provider.keysql.GenId
-
- genId(EntityTable, EntityColumn) - Method in class io.mybatis.provider.keysql.GenId.NULL
-
- genId(Object) - Method in class io.mybatis.provider.keysql.GenIdKeyGenerator
-
- GenId.NULL - Class in io.mybatis.provider.keysql
-
- genIdExecuteBefore - Variable in class io.mybatis.provider.EntityColumn
-
- genIdFirstTime(Object) - Method in class io.mybatis.provider.keysql.GenIdKeyGenerator
-
只有第一次需要 executeBefore 时,此时已经漏掉了 processBefore 的执行时机,这里需要额外执行一次
- GenIdKeyGenerator - Class in io.mybatis.provider.keysql
-
生成主键
- GenIdKeyGenerator(GenId<?>, EntityTable, EntityColumn, Configuration, boolean) - Constructor for class io.mybatis.provider.keysql.GenIdKeyGenerator
-
- GenIdSqlSource - Class in io.mybatis.provider.keysql
-
当需要插入前生成主键时,通过封装 SqlSource,实现在执行前生成主键
- GenIdSqlSource(SqlSource, GenIdKeyGenerator) - Constructor for class io.mybatis.provider.keysql.GenIdSqlSource
-
- genResultMap(Configuration, ProviderContext, String) - Method in class io.mybatis.provider.EntityTable
-
- get(Object) - Method in class io.mybatis.provider.EntityField
-
反射获取字段值
- getAnnotation(Class<T>) - Method in class io.mybatis.provider.EntityField
-
获取字段上的指定注解信息
- getAnnotations() - Method in class io.mybatis.provider.defaults.AnnotationSqlWrapper
-
- getAnnotations() - Method in class io.mybatis.provider.EntityField
-
获取字段上的全部注解信息
- getBoundSql(Object) - Method in class io.mybatis.provider.keysql.GenIdSqlSource
-
- getConfigKey() - Method in class io.mybatis.provider.config.ProviderUserConfig
-
- getConfigName() - Method in class io.mybatis.provider.config.ProviderUserConfig
-
- getConfigName() - Method in class io.mybatis.provider.config.ProviderVersionConfig
-
- getDeclaringClass() - Method in class io.mybatis.provider.EntityField
-
- getDefaultStyle() - Static method in interface io.mybatis.provider.Style
-
获取默认样式处理
- getEntity() - Method in class io.mybatis.provider.SqlCache
-
- getEntityClassByMapperMethodAndMapperType(Class<?>, Method) - Method in class io.mybatis.provider.defaults.GenericEntityClassFinder
-
根据方法所在接口泛型获取,只有定义在泛型接口中的方法才能通过泛型获取,定义的最终使用类中的无法通过泛型获取
- getEntityClassByMapperMethodParamTypes(Class<?>, Method) - Method in class io.mybatis.provider.defaults.GenericEntityClassFinder
-
根据方法参数获取
- getEntityClassByMapperMethodReturnType(Class<?>, Method) - Method in class io.mybatis.provider.defaults.GenericEntityClassFinder
-
根据方法返回值获取
- getEntityClassByMapperType(Class<?>) - Method in class io.mybatis.provider.defaults.GenericEntityClassFinder
-
根据接口泛型获取,当前方法只根据接口泛型获取实体类,和当前执行的方法无关,是优先级最低的一种情况
- getEntityClassByType(Type) - Method in class io.mybatis.provider.defaults.GenericEntityClassFinder
-
根据 type 获取可能的实体类型
- getEntityClassByTypes(Type[]) - Method in class io.mybatis.provider.defaults.GenericEntityClassFinder
-
遍历 types 获取可能的实体类型
- getEntityTableFactoryChain() - Static method in class io.mybatis.provider.SqlScriptWrapper.Instance
-
获取处理实体的工厂链
- getInstances() - Static method in class io.mybatis.provider.EntityClassFinder.EntityClassFinderInstance
-
通过 SPI 获取扩展的实现或使用默认实现
- getInstances(Class<T>) - Static method in class io.mybatis.provider.util.ServiceLoaderUtil
-
获取实现
- getName() - Method in class io.mybatis.provider.EntityField
-
- getOrder() - Method in class io.mybatis.provider.defaults.CachingEntityTableFactory
-
- getOrder() - Method in interface io.mybatis.provider.Order
-
- getParameterName(Parameter) - Method in class io.mybatis.provider.defaults.AnnotationSqlWrapper
-
获取参数名
- getProp(String) - Method in class io.mybatis.provider.EntityProps
-
获取属性值
- getProp(String, String) - Method in class io.mybatis.provider.EntityProps
-
获取属性值
- getPropBoolean(String) - Method in class io.mybatis.provider.EntityProps
-
获取布尔值
- getPropBoolean(String, Boolean) - Method in class io.mybatis.provider.EntityProps
-
获取布尔值
- getPropInt(String) - Method in class io.mybatis.provider.EntityProps
-
获取整型值
- getPropInt(String, Integer) - Method in class io.mybatis.provider.EntityProps
-
获取整型值
- getProviderContext() - Method in class io.mybatis.provider.SqlCache
-
- getReturnType(Method, Class<?>) - Static method in class io.mybatis.provider.defaults.GenericTypeResolver
-
方法来自 MapperAnnotationBuilder.getReturnType(Method)
- getSql(EntityTable) - Method in interface io.mybatis.provider.SqlScript
-
生成对应的 SQL,支持动态标签
- getSql(EntityTable) - Method in interface io.mybatis.provider.SqlScript.SqlScript2
-
- getSql(EntityTable, SqlScript) - Method in interface io.mybatis.provider.SqlScript.SqlScript2
-
生成对应的 SQL,支持动态标签
- getSqlScript() - Method in class io.mybatis.provider.SqlCache
-
该方法延迟到最终生成 SqlSource 时才执行
- getStyle(String) - Static method in interface io.mybatis.provider.Style
-
获取样式
- getStyle() - Method in interface io.mybatis.provider.Style
-
获取样式名,如默认提供的 normal, underline, lower, upper, upperUnderline
- getStyle() - Method in class io.mybatis.provider.style.LowerStyle
-
- getStyle() - Method in class io.mybatis.provider.style.LowerUnderscoreStyle
-
- getStyle() - Method in class io.mybatis.provider.style.NormalStyle
-
- getStyle() - Method in class io.mybatis.provider.style.UpperStyle
-
- getStyle() - Method in class io.mybatis.provider.style.UpperUnderscoreStyle
-
- getTarget() - Method in class io.mybatis.provider.defaults.AnnotationSqlWrapper
-
- getType() - Method in class io.mybatis.provider.defaults.AnnotationSqlWrapper
-
- getType() - Method in class io.mybatis.provider.EntityField
-
- getTypeHandlerInstance(Class<?>, Class<?>) - Method in class io.mybatis.provider.EntityTable
-
实例化TypeHandler
- getVersionKey() - Method in class io.mybatis.provider.config.ProviderVersionConfig
-
- getWithLR() - Method in interface io.mybatis.provider.SqlScript.LRSupplier
-
- groupByColumn() - Method in class io.mybatis.provider.EntityTable
-
- groupByColumnList() - Method in class io.mybatis.provider.EntityTable
-
- groupByColumns() - Method in class io.mybatis.provider.EntityTable
-
所有 GROUP BY 到的字段,默认为空,当使用 GROUP BY 列时,必须使用当前方法返回的列