索引
常量字段值|所有程序包|所有类和接口
A
- ADD - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.mysql.data.MysqlCompareTableInfo.ModifyType
-
新增
- addColumnComment(String, String) - 类中的方法 com.tangzc.autotable.core.strategy.pgsql.data.PgsqlCompareTableInfo
- addDropColumns(Set<String>) - 类中的方法 com.tangzc.autotable.core.strategy.pgsql.data.PgsqlCompareTableInfo
- addDropIndexes(Set<String>) - 类中的方法 com.tangzc.autotable.core.strategy.pgsql.data.PgsqlCompareTableInfo
- addEditColumnMetadata(MysqlColumnMetadata) - 类中的方法 com.tangzc.autotable.core.strategy.mysql.data.MysqlCompareTableInfo
- addIndexComment(String, String) - 类中的方法 com.tangzc.autotable.core.strategy.pgsql.data.PgsqlCompareTableInfo
- addModifyColumn(ColumnMetadata) - 类中的方法 com.tangzc.autotable.core.strategy.pgsql.data.PgsqlCompareTableInfo
- addModifyIndex(IndexMetadata) - 类中的方法 com.tangzc.autotable.core.strategy.pgsql.data.PgsqlCompareTableInfo
- addNewColumn(ColumnMetadata) - 类中的方法 com.tangzc.autotable.core.strategy.pgsql.data.PgsqlCompareTableInfo
- addNewColumnMetadata(MysqlColumnMetadata) - 类中的方法 com.tangzc.autotable.core.strategy.mysql.data.MysqlCompareTableInfo
- addNewIndex(IndexMetadata) - 类中的方法 com.tangzc.autotable.core.strategy.pgsql.data.PgsqlCompareTableInfo
- addNewPrimary(List<ColumnMetadata>) - 类中的方法 com.tangzc.autotable.core.strategy.pgsql.data.PgsqlCompareTableInfo
- addStrategy(IStrategy<? extends TableMetadata, ? extends CompareTableInfo, ?>) - 类中的静态方法 com.tangzc.autotable.core.AutoTableGlobalConfig
- addTypeMapping(String, Class<?>, DefaultTypeEnumInterface) - 接口中的静态方法 com.tangzc.autotable.core.converter.JavaTypeToDatabaseTypeConverter
-
添加类型映射
- addTypeMapping(String, Map<Class<?>, DefaultTypeEnumInterface>) - 接口中的静态方法 com.tangzc.autotable.core.converter.JavaTypeToDatabaseTypeConverter
-
添加类型映射
- after - 枚举 中的枚举常量 com.tangzc.autotable.core.config.PropertyConfig.SuperInsertPosition
-
在子类的后面
- after(Class<?>) - 接口中的方法 com.tangzc.autotable.core.callback.RunStateCallback
-
执行后
- afterCreateTable(String, TableMetadata) - 接口中的方法 com.tangzc.autotable.core.callback.CreateTableFinishCallback
-
建表后回调
- afterModifyTable(String, TableMetadata, CompareTableInfo) - 接口中的方法 com.tangzc.autotable.core.callback.ModifyTableFinishCallback
-
修改表后回调
- analyseClass(Class<?>) - 接口中的方法 com.tangzc.autotable.core.strategy.IStrategy
-
分析Bean,得到元数据信息
- analyseClass(Class<?>) - 类中的方法 com.tangzc.autotable.core.strategy.mysql.MysqlStrategy
- analyseClass(Class<?>) - 类中的方法 com.tangzc.autotable.core.strategy.pgsql.PgsqlStrategy
- analyseClass(Class<?>) - 类中的方法 com.tangzc.autotable.core.strategy.sqlite.SqliteStrategy
- autoIncrement - 类中的变量 com.tangzc.autotable.core.strategy.ColumnMetadata
-
主键是否自增
- AutoTableAnnotationFinder - com.tangzc.autotable.core中的接口
- AutoTableAnnotationInterceptor - com.tangzc.autotable.core.interceptor中的接口
-
自动表注解扫描拦截器
- AutoTableBootstrap - com.tangzc.autotable.core中的类
-
启动时进行处理的实现类
- AutoTableBootstrap() - 类的构造器 com.tangzc.autotable.core.AutoTableBootstrap
- AutoTableExecuteSqlLog - com.tangzc.autotable.core.recordsql中的类
-
记录自动建表执行的SQL
- AutoTableGlobalConfig - com.tangzc.autotable.core中的类
-
全局配置
- AutoTableGlobalConfig() - 类的构造器 com.tangzc.autotable.core.AutoTableGlobalConfig
- AutoTableOrmFrameAdapter - com.tangzc.autotable.core中的接口
B
- Banner - com.tangzc.autotable.core中的类
-
启动时打印的banner
- Banner() - 类的构造器 com.tangzc.autotable.core.Banner
- BeanClassUtil - com.tangzc.autotable.core.utils中的类
- BeanClassUtil() - 类的构造器 com.tangzc.autotable.core.utils.BeanClassUtil
- before - 枚举 中的枚举常量 com.tangzc.autotable.core.config.PropertyConfig.SuperInsertPosition
-
在子类的前面
- before(Class<?>) - 接口中的方法 com.tangzc.autotable.core.callback.RunStateCallback
-
执行前
- beforeCreateTable(String, TableMetadata) - 接口中的方法 com.tangzc.autotable.core.interceptor.CreateTableInterceptor
-
建表前拦截
- beforeModifyTable(String, TableMetadata, CompareTableInfo) - 接口中的方法 com.tangzc.autotable.core.interceptor.ModifyTableInterceptor
-
修改表前拦截
- BIGINT - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.mysql.data.MySqlDefaultTypeEnum
- BINARY - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.mysql.data.MySqlDefaultTypeEnum
- BIT - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.mysql.data.MySqlDefaultTypeEnum
-
二进制
- BIT - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.pgsql.data.PgsqlDefaultTypeEnum
-
二进制
- BLOB - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.mysql.data.MySqlDefaultTypeEnum
- BLOB - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.pgsql.data.PgsqlDefaultTypeEnum
- BLOB - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.sqlite.data.SqliteDefaultTypeEnum
- BOOL - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.pgsql.data.PgsqlDefaultTypeEnum
-
布尔
- build(Class<?>) - 类中的方法 com.tangzc.autotable.core.builder.DefaultTableMetadataBuilder
- build(Class<?>) - 类中的静态方法 com.tangzc.autotable.core.strategy.mysql.builder.MysqlTableMetadataBuilder
- build(Class<?>, Field, int) - 类中的方法 com.tangzc.autotable.core.builder.ColumnMetadataBuilder
- buildFromClass(Class<?>, IndexRepeatChecker) - 类中的方法 com.tangzc.autotable.core.builder.IndexMetadataBuilder
- buildFromField(Class<?>, List<Field>, IndexRepeatChecker) - 类中的方法 com.tangzc.autotable.core.builder.IndexMetadataBuilder
- buildIndexMetadata(Class<?>, TableIndex) - 类中的方法 com.tangzc.autotable.core.builder.IndexMetadataBuilder
- buildIndexMetadata(Class<?>, Field) - 类中的方法 com.tangzc.autotable.core.builder.IndexMetadataBuilder
- buildIndexSql(String, List<IndexMetadata>) - 类中的静态方法 com.tangzc.autotable.core.strategy.sqlite.builder.CreateTableSqlBuilder
-
CREATE UNIQUE INDEX "main"."
- buildList(Class<?>, List<Field>) - 类中的方法 com.tangzc.autotable.core.builder.ColumnMetadataBuilder
- buildList(Class<?>, List<Field>) - 类中的方法 com.tangzc.autotable.core.builder.IndexMetadataBuilder
- buildSql(ColumnMetadata) - 类中的静态方法 com.tangzc.autotable.core.strategy.pgsql.builder.ColumnSqlBuilder
-
生成字段相关的SQL片段
- buildSql(ColumnMetadata, boolean, boolean) - 类中的静态方法 com.tangzc.autotable.core.strategy.sqlite.builder.ColumnSqlBuilder
-
生成字段相关的SQL片段 "id" INTEGER NOT NULL AUTOINCREMENT, -- 主键 "name" TEXT(200) NOT NULL DEFAULT '', -- 姓名 "age" INTEGER(2), -- 年龄 "address" TEXT(500) DEFAULT 济南市, -- 地址 "card_id" INTEGER(11) NOT NULL, -- 身份证id "card_number" text(30) NOT NULL -- 身份证号码
- buildSql(DefaultTableMetadata) - 类中的静态方法 com.tangzc.autotable.core.strategy.pgsql.builder.CreateTableSqlBuilder
-
构建创建新表的SQL
- buildSql(MysqlColumnMetadata) - 类中的静态方法 com.tangzc.autotable.core.strategy.mysql.builder.ColumnSqlBuilder
-
生成字段相关的SQL片段
- buildSql(MysqlCompareTableInfo) - 类中的静态方法 com.tangzc.autotable.core.strategy.mysql.builder.ModifyTableSqlBuilder
-
构建创建新表的SQL
- buildSql(MysqlTableMetadata) - 类中的静态方法 com.tangzc.autotable.core.strategy.mysql.builder.CreateTableSqlBuilder
-
构建创建新表的SQL
- buildSql(PgsqlCompareTableInfo) - 类中的静态方法 com.tangzc.autotable.core.strategy.pgsql.builder.ModifyTableSqlBuilder
-
构建创建新表的SQL
- BuildTableMetadataInterceptor - com.tangzc.autotable.core.interceptor中的接口
-
表信息拦截器 注解构建完表元信息后,执行拦截器
- buildTableSql(String, String, List<ColumnMetadata>) - 类中的静态方法 com.tangzc.autotable.core.strategy.sqlite.builder.CreateTableSqlBuilder
-
构建创建新表的SQL
- BYTEA - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.pgsql.data.PgsqlDefaultTypeEnum
-
字节
C
- camelToUnderline(String) - 类中的静态方法 com.tangzc.autotable.core.utils.StringUtils
-
字符串驼峰转下划线格式
- CHAR - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.mysql.data.MySqlDefaultTypeEnum
-
字符串
- CHAR - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.pgsql.data.PgsqlDefaultTypeEnum
-
字符串
- CHAR_STRING_TYPE - 类中的静态变量 com.tangzc.autotable.core.strategy.mysql.data.MysqlTypeHelper
- check(Class<?>, Field, MysqlColumnMetadata) - 接口中的方法 com.tangzc.autotable.core.strategy.mysql.ParamValidChecker.IColumnChecker
-
校验
- checkColumnParam(Class<?>, Field, MysqlColumnMetadata) - 类中的静态方法 com.tangzc.autotable.core.strategy.mysql.ParamValidChecker
-
字段参数校验
- checkTableNotExist(String, String) - 接口中的方法 com.tangzc.autotable.core.strategy.IStrategy
-
检查表是否存在
- ClassScanner - com.tangzc.autotable.core.utils中的类
-
基于注解扫描java类
- ClassScanner() - 类的构造器 com.tangzc.autotable.core.utils.ClassScanner
- cleanDatasourceName() - 类中的静态方法 com.tangzc.autotable.core.dynamicds.DatasourceNameManager
- cleanSqlSessionFactory() - 类中的静态方法 com.tangzc.autotable.core.dynamicds.SqlSessionFactoryManager
- clearDataSource(String) - 接口中的方法 com.tangzc.autotable.core.dynamicds.IDataSourceHandler
-
清除当前数据源
- clearDataSource(String) - 类中的方法 com.tangzc.autotable.core.dynamicds.impl.DefaultDataSourceHandler
- CLOB - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.pgsql.data.PgsqlDefaultTypeEnum
- column - 类中的变量 com.tangzc.autotable.core.strategy.IndexMetadata.IndexColumnParam
-
字段名称
- ColumnMetadata - com.tangzc.autotable.core.strategy中的类
-
用于存放创建表的字段信息
- ColumnMetadata() - 类的构造器 com.tangzc.autotable.core.strategy.ColumnMetadata
- columnMetadataBuilder - 类中的变量 com.tangzc.autotable.core.builder.DefaultTableMetadataBuilder
- ColumnMetadataBuilder - com.tangzc.autotable.core.builder中的类
-
用于存放创建表的字段信息
- ColumnMetadataBuilder(String) - 类的构造器 com.tangzc.autotable.core.builder.ColumnMetadataBuilder
- ColumnPositionHelper - com.tangzc.autotable.core.strategy.mysql中的类
- ColumnPositionHelper() - 类的构造器 com.tangzc.autotable.core.strategy.mysql.ColumnPositionHelper
- ColumnPositionHelper.InformationSchemaColumnPosition - com.tangzc.autotable.core.strategy.mysql中的类
- columns - 类中的变量 com.tangzc.autotable.core.strategy.IndexMetadata
-
索引字段
- ColumnSqlBuilder - com.tangzc.autotable.core.strategy.mysql.builder中的类
- ColumnSqlBuilder - com.tangzc.autotable.core.strategy.pgsql.builder中的类
-
列相关的SQL生成器
- ColumnSqlBuilder - com.tangzc.autotable.core.strategy.sqlite.builder中的类
- ColumnSqlBuilder() - 类的构造器 com.tangzc.autotable.core.strategy.mysql.builder.ColumnSqlBuilder
- ColumnSqlBuilder() - 类的构造器 com.tangzc.autotable.core.strategy.pgsql.builder.ColumnSqlBuilder
- ColumnSqlBuilder() - 类的构造器 com.tangzc.autotable.core.strategy.sqlite.builder.ColumnSqlBuilder
- com.tangzc.autotable.core - 程序包 com.tangzc.autotable.core
- com.tangzc.autotable.core.builder - 程序包 com.tangzc.autotable.core.builder
- com.tangzc.autotable.core.callback - 程序包 com.tangzc.autotable.core.callback
- com.tangzc.autotable.core.config - 程序包 com.tangzc.autotable.core.config
- com.tangzc.autotable.core.constants - 程序包 com.tangzc.autotable.core.constants
- com.tangzc.autotable.core.converter - 程序包 com.tangzc.autotable.core.converter
- com.tangzc.autotable.core.dynamicds - 程序包 com.tangzc.autotable.core.dynamicds
- com.tangzc.autotable.core.dynamicds.impl - 程序包 com.tangzc.autotable.core.dynamicds.impl
- com.tangzc.autotable.core.interceptor - 程序包 com.tangzc.autotable.core.interceptor
- com.tangzc.autotable.core.recordsql - 程序包 com.tangzc.autotable.core.recordsql
- com.tangzc.autotable.core.strategy - 程序包 com.tangzc.autotable.core.strategy
- com.tangzc.autotable.core.strategy.mysql - 程序包 com.tangzc.autotable.core.strategy.mysql
-
MySQL策略实现
- com.tangzc.autotable.core.strategy.mysql.builder - 程序包 com.tangzc.autotable.core.strategy.mysql.builder
- com.tangzc.autotable.core.strategy.mysql.data - 程序包 com.tangzc.autotable.core.strategy.mysql.data
- com.tangzc.autotable.core.strategy.mysql.data.dbdata - 程序包 com.tangzc.autotable.core.strategy.mysql.data.dbdata
- com.tangzc.autotable.core.strategy.mysql.mapper - 程序包 com.tangzc.autotable.core.strategy.mysql.mapper
- com.tangzc.autotable.core.strategy.pgsql - 程序包 com.tangzc.autotable.core.strategy.pgsql
-
PgSQL策略实现
- com.tangzc.autotable.core.strategy.pgsql.builder - 程序包 com.tangzc.autotable.core.strategy.pgsql.builder
- com.tangzc.autotable.core.strategy.pgsql.data - 程序包 com.tangzc.autotable.core.strategy.pgsql.data
- com.tangzc.autotable.core.strategy.pgsql.data.dbdata - 程序包 com.tangzc.autotable.core.strategy.pgsql.data.dbdata
- com.tangzc.autotable.core.strategy.pgsql.mapper - 程序包 com.tangzc.autotable.core.strategy.pgsql.mapper
- com.tangzc.autotable.core.strategy.sqlite - 程序包 com.tangzc.autotable.core.strategy.sqlite
-
SQLite策略实现
- com.tangzc.autotable.core.strategy.sqlite.builder - 程序包 com.tangzc.autotable.core.strategy.sqlite.builder
- com.tangzc.autotable.core.strategy.sqlite.data - 程序包 com.tangzc.autotable.core.strategy.sqlite.data
- com.tangzc.autotable.core.strategy.sqlite.data.dbdata - 程序包 com.tangzc.autotable.core.strategy.sqlite.data.dbdata
- com.tangzc.autotable.core.strategy.sqlite.mapper - 程序包 com.tangzc.autotable.core.strategy.sqlite.mapper
- com.tangzc.autotable.core.utils - 程序包 com.tangzc.autotable.core.utils
- comment - 类中的变量 com.tangzc.autotable.core.strategy.ColumnMetadata
-
字段的备注
- comment - 类中的变量 com.tangzc.autotable.core.strategy.IndexMetadata
-
索引注释
- comment - 类中的变量 com.tangzc.autotable.core.strategy.TableMetadata
-
注释
- compareTable(DefaultTableMetadata) - 类中的方法 com.tangzc.autotable.core.strategy.pgsql.PgsqlStrategy
- compareTable(DefaultTableMetadata) - 类中的方法 com.tangzc.autotable.core.strategy.sqlite.SqliteStrategy
- compareTable(MysqlTableMetadata) - 类中的方法 com.tangzc.autotable.core.strategy.mysql.MysqlStrategy
- compareTable(TABLE_META) - 接口中的方法 com.tangzc.autotable.core.strategy.IStrategy
-
对比表与bean的差异
- CompareTableInfo - com.tangzc.autotable.core.strategy中的类
-
比对表与实体的数据模型接口
- CompareTableInfo(String, String) - 类的构造器 com.tangzc.autotable.core.strategy.CompareTableInfo
- convert(String, Class<?>, Field) - 接口中的方法 com.tangzc.autotable.core.converter.JavaTypeToDatabaseTypeConverter
-
java转数据库类型
- create - 枚举 中的枚举常量 com.tangzc.autotable.core.RunMode
-
系统启动时,会先将所有实体标注的表删除掉,然后重新建表
- createMode(TABLE_META) - 接口中的方法 com.tangzc.autotable.core.strategy.IStrategy
-
创建模式 1.
- createTable(DefaultTableMetadata) - 类中的方法 com.tangzc.autotable.core.strategy.pgsql.PgsqlStrategy
- createTable(DefaultTableMetadata) - 类中的方法 com.tangzc.autotable.core.strategy.sqlite.SqliteStrategy
- createTable(MysqlTableMetadata) - 类中的方法 com.tangzc.autotable.core.strategy.mysql.MysqlStrategy
- createTable(Class<?>) - 接口中的方法 com.tangzc.autotable.core.strategy.IStrategy
-
获取创建表的SQL
- createTable(TABLE_META) - 接口中的方法 com.tangzc.autotable.core.strategy.IStrategy
-
生成创建表SQL
- CreateTableFinishCallback - com.tangzc.autotable.core.callback中的接口
-
建表回调
- CreateTableInterceptor - com.tangzc.autotable.core.interceptor中的接口
-
建表之前拦截器
- CreateTableSqlBuilder - com.tangzc.autotable.core.strategy.mysql.builder中的类
- CreateTableSqlBuilder - com.tangzc.autotable.core.strategy.pgsql.builder中的类
- CreateTableSqlBuilder - com.tangzc.autotable.core.strategy.sqlite.builder中的类
- CreateTableSqlBuilder() - 类的构造器 com.tangzc.autotable.core.strategy.mysql.builder.CreateTableSqlBuilder
- CreateTableSqlBuilder() - 类的构造器 com.tangzc.autotable.core.strategy.pgsql.builder.CreateTableSqlBuilder
- CreateTableSqlBuilder() - 类的构造器 com.tangzc.autotable.core.strategy.sqlite.builder.CreateTableSqlBuilder
- custom - 枚举 中的枚举常量 com.tangzc.autotable.core.config.PropertyConfig.RecordSqlProperties.TypeEnum
-
自定义
- customBuild(ColumnMetadata, Class<?>, Field, int) - 类中的方法 com.tangzc.autotable.core.builder.ColumnMetadataBuilder
- customBuild(ColumnMetadata, Class<?>, Field, int) - 类中的方法 com.tangzc.autotable.core.strategy.mysql.builder.MysqlColumnMetadataBuilder
- customFieldTypeHandler(Class<?>, Field) - 接口中的方法 com.tangzc.autotable.core.AutoTableOrmFrameAdapter
-
三方框架定义的字段类型,通常是某些特殊注解或者枚举,定义为字符串类型
D
- databaseDialect - 类中的变量 com.tangzc.autotable.core.builder.ColumnMetadataBuilder
- databaseDialect() - 接口中的方法 com.tangzc.autotable.core.strategy.IStrategy
-
策略对应的数据库方言,与数据库驱动中的接口
DatabaseMetaData.getDatabaseProductName()实现返回值一致 - databaseDialect() - 类中的方法 com.tangzc.autotable.core.strategy.mysql.MysqlStrategy
- databaseDialect() - 类中的方法 com.tangzc.autotable.core.strategy.pgsql.PgsqlStrategy
- databaseDialect() - 类中的方法 com.tangzc.autotable.core.strategy.sqlite.SqliteStrategy
- DatabaseDialect - com.tangzc.autotable.core.constants中的接口
- DatabaseTypeAndLength - com.tangzc.autotable.core.converter中的类
-
统一的数据类型描述对象
- DatabaseTypeAndLength(String, Integer, Integer, List<String>) - 类的构造器 com.tangzc.autotable.core.converter.DatabaseTypeAndLength
- DatasourceNameManager - com.tangzc.autotable.core.dynamicds中的类
-
记录数据源名称
- DatasourceNameManager() - 类的构造器 com.tangzc.autotable.core.dynamicds.DatasourceNameManager
- DATE - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.mysql.data.MySqlDefaultTypeEnum
- DATE - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.pgsql.data.PgsqlDefaultTypeEnum
- DATE_TIME_TYPE - 类中的静态变量 com.tangzc.autotable.core.strategy.mysql.data.MysqlTypeHelper
- DATETIME - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.mysql.data.MySqlDefaultTypeEnum
- DATETIME_REGEX - 类中的静态变量 com.tangzc.autotable.core.utils.StringUtils
- db - 枚举 中的枚举常量 com.tangzc.autotable.core.config.PropertyConfig.RecordSqlProperties.TypeEnum
-
记录到数据库
- DB2 - 接口中的静态变量 com.tangzc.autotable.core.constants.DatabaseDialect
- DECIMAL - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.mysql.data.MySqlDefaultTypeEnum
- DECIMAL - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.pgsql.data.PgsqlDefaultTypeEnum
- DefaultDataSourceHandler - com.tangzc.autotable.core.dynamicds.impl中的类
- DefaultDataSourceHandler() - 类的构造器 com.tangzc.autotable.core.dynamicds.impl.DefaultDataSourceHandler
- DefaultTableMetadata - com.tangzc.autotable.core.strategy中的类
- DefaultTableMetadata(Class<?>, String, String, String) - 类的构造器 com.tangzc.autotable.core.strategy.DefaultTableMetadata
- DefaultTableMetadataBuilder - com.tangzc.autotable.core.builder中的类
- DefaultTableMetadataBuilder(ColumnMetadataBuilder, IndexMetadataBuilder) - 类的构造器 com.tangzc.autotable.core.builder.DefaultTableMetadataBuilder
- DefaultTypeEnumInterface - com.tangzc.autotable.core.converter中的接口
-
数据库数据类型接口
- defaultValue - 类中的变量 com.tangzc.autotable.core.strategy.ColumnMetadata
-
字段默认值
- defaultValueType - 类中的变量 com.tangzc.autotable.core.strategy.ColumnMetadata
-
字段默认值类型
- DOUBLE - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.mysql.data.MySqlDefaultTypeEnum
- dropTable(String, String) - 接口中的方法 com.tangzc.autotable.core.strategy.IStrategy
-
根据表名删除表,生成删除表的SQL
- dropTable(String, String) - 类中的方法 com.tangzc.autotable.core.strategy.mysql.MysqlStrategy
- dropTable(String, String) - 类中的方法 com.tangzc.autotable.core.strategy.pgsql.PgsqlStrategy
- dropTable(String, String) - 类中的方法 com.tangzc.autotable.core.strategy.sqlite.SqliteStrategy
E
- encryptIndexName(String, String, String) - 类中的方法 com.tangzc.autotable.core.builder.IndexMetadataBuilder
- entityClass - 类中的变量 com.tangzc.autotable.core.strategy.TableMetadata
-
实体类
- ENUM - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.mysql.data.MySqlDefaultTypeEnum
-
枚举
- ENUM_OR_SET_TYPE - 类中的静态变量 com.tangzc.autotable.core.strategy.mysql.data.MysqlTypeHelper
- executeCreateTable(TABLE_META) - 接口中的方法 com.tangzc.autotable.core.strategy.IStrategy
-
执行创建表
- executeReturn(Function<MAPPER, R>) - 接口中的方法 com.tangzc.autotable.core.strategy.IStrategy
-
获取mapper执行mapper的方法
- executeSql(TABLE_META, List<String>) - 接口中的方法 com.tangzc.autotable.core.strategy.IStrategy
-
执行SQL
- exist(Class<?>, Class<A>) - 接口中的方法 com.tangzc.autotable.core.AutoTableAnnotationFinder
-
判断是否存在注解
- exist(Field, Class<A>) - 接口中的方法 com.tangzc.autotable.core.AutoTableAnnotationFinder
-
判断是否存在注解
- exist(Method, Class<A>) - 接口中的方法 com.tangzc.autotable.core.AutoTableAnnotationFinder
-
判断是否存在注解
F
- file - 枚举 中的枚举常量 com.tangzc.autotable.core.config.PropertyConfig.RecordSqlProperties.TypeEnum
-
记录到文件
- fillColumnMetadataList(Class<?>, DefaultTableMetadata, List<Field>) - 类中的方法 com.tangzc.autotable.core.builder.DefaultTableMetadataBuilder
- fillIndexMetadataList(Class<?>, DefaultTableMetadata, List<Field>) - 类中的方法 com.tangzc.autotable.core.builder.DefaultTableMetadataBuilder
- filter(String) - 类中的方法 com.tangzc.autotable.core.utils.IndexRepeatChecker
-
索引重复检测过滤器
- find(Class<?>, Class<A>) - 接口中的方法 com.tangzc.autotable.core.AutoTableAnnotationFinder
-
查找注解
- find(Field, Class<A>) - 接口中的方法 com.tangzc.autotable.core.AutoTableAnnotationFinder
-
查找注解
- find(Method, Class<A>) - 接口中的方法 com.tangzc.autotable.core.AutoTableAnnotationFinder
-
查找注解
- findTableByTableName(String) - 接口中的方法 com.tangzc.autotable.core.strategy.mysql.mapper.MysqlTablesMapper
-
根据表名查询表在库中是否存在
- findTableEnsembleByTableName(String) - 接口中的方法 com.tangzc.autotable.core.strategy.mysql.mapper.MysqlTablesMapper
-
根据表名查询库中该表的字段结构等信息
- FLOAT - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.mysql.data.MySqlDefaultTypeEnum
-
小数
- FLOAT_TYPE - 类中的静态变量 com.tangzc.autotable.core.strategy.mysql.data.MysqlTypeHelper
- FLOAT4 - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.pgsql.data.PgsqlDefaultTypeEnum
-
小数
- FLOAT8 - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.pgsql.data.PgsqlDefaultTypeEnum
G
- generateChangePosition(List<InformationSchemaColumn>, List<MysqlColumnMetadata>) - 类中的静态方法 com.tangzc.autotable.core.strategy.mysql.ColumnPositionHelper
- getAddColumnCommentSql(String, String, String, Map<String, String>, Map<String, String>) - 类中的静态方法 com.tangzc.autotable.core.strategy.pgsql.builder.CreateTableSqlBuilder
- getAllStrategy() - 类中的静态方法 com.tangzc.autotable.core.AutoTableGlobalConfig
- getClasses(String, Function<Class<?>, Boolean>) - 类中的静态方法 com.tangzc.autotable.core.utils.ClassScanner
- getColumnComment(Field, Class<?>) - 接口中的方法 com.tangzc.autotable.core.AutoTableOrmFrameAdapter
-
获取字段注释
- getColumnParams(Class<?>, TableIndex) - 类中的方法 com.tangzc.autotable.core.builder.IndexMetadataBuilder
- getColumnType(Field) - 类中的静态方法 com.tangzc.autotable.core.utils.TableBeanUtils
- getComment(Field, Class<?>) - 类中的静态方法 com.tangzc.autotable.core.utils.TableBeanUtils
- getCreateIndexSql(String, String, List<IndexMetadata>) - 类中的静态方法 com.tangzc.autotable.core.strategy.pgsql.builder.CreateTableSqlBuilder
-
CREATE UNIQUE INDEX "uni_name" ON "表名" ( "name" );
- getDatabaseDialect(String) - 接口中的方法 com.tangzc.autotable.core.dynamicds.IDataSourceHandler
-
自动获取当前数据源的方言
- getDatabaseTypeAndLength(String, Class<?>, Field) - 接口中的方法 com.tangzc.autotable.core.converter.JavaTypeToDatabaseTypeConverter
-
获取数据库类型
- getDatasourceName() - 类中的静态方法 com.tangzc.autotable.core.dynamicds.DatasourceNameManager
- getDataSourceName(Class<?>) - 接口中的方法 com.tangzc.autotable.core.dynamicds.IDataSourceHandler
-
获取指定类的数据库数据源
- getDataSourceName(Class<?>) - 类中的方法 com.tangzc.autotable.core.dynamicds.impl.DefaultDataSourceHandler
- getDataTypeFormat() - 类中的方法 com.tangzc.autotable.core.strategy.pgsql.data.dbdata.PgsqlDbColumn
- getDefaultDecimalLength() - 接口中的方法 com.tangzc.autotable.core.converter.DefaultTypeEnumInterface
-
默认小数点后长度
- getDefaultIndexName(Class<?>, Field) - 类中的方法 com.tangzc.autotable.core.builder.IndexMetadataBuilder
- getDefaultLength() - 接口中的方法 com.tangzc.autotable.core.converter.DefaultTypeEnumInterface
-
默认类型长度
- getDefaultValue(DatabaseTypeAndLength, ColumnDefault) - 类中的方法 com.tangzc.autotable.core.builder.ColumnMetadataBuilder
- getDefaultValue(DatabaseTypeAndLength, ColumnDefault) - 类中的方法 com.tangzc.autotable.core.strategy.mysql.builder.MysqlColumnMetadataBuilder
- getDefaultValue(DatabaseTypeAndLength, ColumnDefault) - 类中的方法 com.tangzc.autotable.core.strategy.pgsql.builder.PgsqlColumnMetadataBuilder
- getDefaultValue(DatabaseTypeAndLength, ColumnDefault) - 类中的方法 com.tangzc.autotable.core.strategy.sqlite.builder.SqliteColumnMetadataBuilder
- getDefaultValue(Field) - 类中的静态方法 com.tangzc.autotable.core.utils.TableBeanUtils
- getEnumValues(Class<?>) - 接口中的方法 com.tangzc.autotable.core.AutoTableOrmFrameAdapter
-
获取枚举值,默认是枚举的名字
- getField(Class<?>, String) - 类中的静态方法 com.tangzc.autotable.core.utils.BeanClassUtil
-
查找类下指定的字段,如果当前类没有,那就去它的父类寻找
- getFieldType(Class<?>, Field) - 类中的静态方法 com.tangzc.autotable.core.utils.TableBeanUtils
- getFileName(AutoTableExecuteSqlLog) - 类中的方法 com.tangzc.autotable.core.recordsql.RecordSqlFileHandler
- getFilePath(String, AutoTableExecuteSqlLog) - 类中的方法 com.tangzc.autotable.core.recordsql.RecordSqlFileHandler
- getFullType(DatabaseTypeAndLength) - 类中的静态方法 com.tangzc.autotable.core.strategy.mysql.data.MysqlTypeHelper
- getFullType(DatabaseTypeAndLength) - 类中的静态方法 com.tangzc.autotable.core.strategy.pgsql.data.PgsqlTypeHelper
- getFullType(DatabaseTypeAndLength, boolean) - 类中的静态方法 com.tangzc.autotable.core.strategy.sqlite.SqliteTypeHelper
- getIndex(Field) - 类中的静态方法 com.tangzc.autotable.core.utils.TableBeanUtils
- getIndexName(Class<?>, TableIndex) - 类中的方法 com.tangzc.autotable.core.builder.IndexMetadataBuilder
- getIndexName(Class<?>, Field, Index) - 类中的方法 com.tangzc.autotable.core.builder.IndexMetadataBuilder
- getIndexSql(IndexMetadata) - 类中的静态方法 com.tangzc.autotable.core.strategy.mysql.builder.CreateTableSqlBuilder
- getIndexSql(String, IndexMetadata) - 类中的静态方法 com.tangzc.autotable.core.strategy.sqlite.builder.CreateTableSqlBuilder
-
CREATE INDEX "main"."
- getMapperClass() - 接口中的方法 com.tangzc.autotable.core.strategy.IStrategy
-
从接口泛型上读取MapperClass
- getPrimaryKeySql(List<String>) - 类中的静态方法 com.tangzc.autotable.core.strategy.mysql.builder.CreateTableSqlBuilder
- getRealColumnName(Class<?>, Field) - 接口中的方法 com.tangzc.autotable.core.AutoTableOrmFrameAdapter
-
获取字段名
- getRealColumnName(Class<?>, Field) - 类中的静态方法 com.tangzc.autotable.core.utils.TableBeanUtils
-
根据注解顺序和配置,获取字段对应的数据库字段名
- getRealColumnName(Class<?>, String) - 类中的静态方法 com.tangzc.autotable.core.utils.TableBeanUtils
-
根据注解顺序和配置,获取字段对应的数据库字段名
- getSqlSessionFactory() - 类中的静态方法 com.tangzc.autotable.core.dynamicds.SqlSessionFactoryManager
- getStrategy(String) - 类中的静态方法 com.tangzc.autotable.core.AutoTableGlobalConfig
- getTableComment(Class<?>) - 接口中的方法 com.tangzc.autotable.core.AutoTableOrmFrameAdapter
-
获取表注释
- getTableComment(Class<?>) - 类中的方法 com.tangzc.autotable.core.builder.DefaultTableMetadataBuilder
- getTableComment(Class<?>) - 类中的静态方法 com.tangzc.autotable.core.utils.TableBeanUtils
- getTableIndexes(Class<?>) - 类中的静态方法 com.tangzc.autotable.core.utils.TableBeanUtils
- getTableName(Class<?>) - 接口中的方法 com.tangzc.autotable.core.AutoTableOrmFrameAdapter
-
获取表名
- getTableName(Class<?>) - 类中的方法 com.tangzc.autotable.core.builder.DefaultTableMetadataBuilder
- getTableName(Class<?>) - 类中的静态方法 com.tangzc.autotable.core.utils.TableBeanUtils
-
获取bean上的表名
- getTableProperties(String, String, String, String) - 类中的静态方法 com.tangzc.autotable.core.strategy.mysql.builder.CreateTableSqlBuilder
- getTableSchema(Class<?>) - 接口中的方法 com.tangzc.autotable.core.AutoTableOrmFrameAdapter
-
获取表schema
- getTableSchema(Class<?>) - 类中的方法 com.tangzc.autotable.core.builder.DefaultTableMetadataBuilder
- getTableSchema(Class<?>) - 类中的方法 com.tangzc.autotable.core.strategy.pgsql.builder.PgsqlTableMetadataBuilder
- getTableSchema(Class<?>) - 类中的静态方法 com.tangzc.autotable.core.utils.TableBeanUtils
-
获取bean上的schema
- getTypeAndLength(String, Class<?>, Field) - 类中的方法 com.tangzc.autotable.core.builder.ColumnMetadataBuilder
- getTypeAndLength(String, Class<?>, Field) - 类中的方法 com.tangzc.autotable.core.strategy.mysql.builder.MysqlColumnMetadataBuilder
- getTypeAndLength(String, Class<?>, Field) - 类中的方法 com.tangzc.autotable.core.strategy.sqlite.builder.SqliteColumnMetadataBuilder
- getTypeName() - 接口中的方法 com.tangzc.autotable.core.converter.DefaultTypeEnumInterface
-
类型名称
H
- H2 - 接口中的静态变量 com.tangzc.autotable.core.constants.DatabaseDialect
- handleAnalysis(Set<Class<?>>, BiConsumer<String, Set<Class<?>>>) - 接口中的方法 com.tangzc.autotable.core.dynamicds.IDataSourceHandler
-
开始分析处理模型 处理ignore and repeat表
- hasText(String) - 类中的静态方法 com.tangzc.autotable.core.utils.StringUtils
I
- IDataSourceHandler - com.tangzc.autotable.core.dynamicds中的接口
- IndexColumnParam() - 类的构造器 com.tangzc.autotable.core.strategy.IndexMetadata.IndexColumnParam
- IndexMetadata - com.tangzc.autotable.core.strategy中的类
-
索引的元信息描述
- IndexMetadata() - 类的构造器 com.tangzc.autotable.core.strategy.IndexMetadata
- IndexMetadata.IndexColumnParam - com.tangzc.autotable.core.strategy中的类
- indexMetadataBuilder - 类中的变量 com.tangzc.autotable.core.builder.DefaultTableMetadataBuilder
- IndexMetadataBuilder - com.tangzc.autotable.core.builder中的类
- IndexMetadataBuilder() - 类的构造器 com.tangzc.autotable.core.builder.IndexMetadataBuilder
- IndexRepeatChecker - com.tangzc.autotable.core.utils中的类
-
检测索引重复
- IndexRepeatChecker() - 类的构造器 com.tangzc.autotable.core.utils.IndexRepeatChecker
- InformationSchemaColumn - com.tangzc.autotable.core.strategy.mysql.data.dbdata中的类
-
用于查询表中字段结构详细信息 该对象,主要被用于判断列自身信息的变化,不包含主键和索引的判断
- InformationSchemaColumn() - 类的构造器 com.tangzc.autotable.core.strategy.mysql.data.dbdata.InformationSchemaColumn
- InformationSchemaColumnPosition() - 类的构造器 com.tangzc.autotable.core.strategy.mysql.ColumnPositionHelper.InformationSchemaColumnPosition
- InformationSchemaStatistics - com.tangzc.autotable.core.strategy.mysql.data.dbdata中的类
-
数据库表主键以及索引的信息
- InformationSchemaStatistics() - 类的构造器 com.tangzc.autotable.core.strategy.mysql.data.dbdata.InformationSchemaStatistics
- InformationSchemaTable - com.tangzc.autotable.core.strategy.mysql.data.dbdata中的类
-
数据库表查询的表信息
- InformationSchemaTable() - 类的构造器 com.tangzc.autotable.core.strategy.mysql.data.dbdata.InformationSchemaTable
- INT - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.mysql.data.MySqlDefaultTypeEnum
-
整数,从8.0.17版本开始,TINYINT,SMALLINT,MEDIUMINT,INT,andBIGINT类型的显示宽度将失效
- INT2 - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.pgsql.data.PgsqlDefaultTypeEnum
-
整数
- INT4 - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.pgsql.data.PgsqlDefaultTypeEnum
- INT8 - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.pgsql.data.PgsqlDefaultTypeEnum
- INTEGER - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.sqlite.data.SqliteDefaultTypeEnum
- INTEGER_TYPE - 类中的静态变量 com.tangzc.autotable.core.strategy.mysql.data.MysqlTypeHelper
- intercept(String, TableMetadata) - 接口中的方法 com.tangzc.autotable.core.interceptor.BuildTableMetadataInterceptor
-
拦截器
- intercept(Set<Class<? extends Annotation>>, Set<Class<? extends Annotation>>) - 接口中的方法 com.tangzc.autotable.core.interceptor.AutoTableAnnotationInterceptor
-
拦截器,包含和排斥取交集,即:如果既包含又排斥,则会排除
- isAutoIncrement() - 类中的方法 com.tangzc.autotable.core.strategy.mysql.data.dbdata.InformationSchemaColumn
- isAutoIncrement(Field, Class<?>) - 接口中的方法 com.tangzc.autotable.core.AutoTableOrmFrameAdapter
-
判断是否是自增的主键
- isAutoIncrement(Field, Class<?>) - 类中的静态方法 com.tangzc.autotable.core.utils.TableBeanUtils
- isBoolean(DatabaseTypeAndLength) - 类中的静态方法 com.tangzc.autotable.core.strategy.mysql.data.MysqlTypeHelper
- isBoolean(DatabaseTypeAndLength) - 类中的静态方法 com.tangzc.autotable.core.strategy.pgsql.data.PgsqlTypeHelper
- isCharString(DatabaseTypeAndLength) - 类中的静态方法 com.tangzc.autotable.core.strategy.mysql.data.MysqlTypeHelper
- isCharString(DatabaseTypeAndLength) - 类中的静态方法 com.tangzc.autotable.core.strategy.pgsql.data.PgsqlTypeHelper
- isDateTime(DatabaseTypeAndLength) - 类中的静态方法 com.tangzc.autotable.core.strategy.mysql.data.MysqlTypeHelper
- isEnum(DatabaseTypeAndLength) - 类中的静态方法 com.tangzc.autotable.core.strategy.mysql.data.MysqlTypeHelper
- isFloatNumber(DatabaseTypeAndLength) - 类中的静态方法 com.tangzc.autotable.core.strategy.mysql.data.MysqlTypeHelper
- isIgnoreField(Field, Class<?>) - 接口中的方法 com.tangzc.autotable.core.AutoTableOrmFrameAdapter
-
拓展判断是否是忽略的字段
- isIncludeField(Field, Class<?>) - 类中的静态方法 com.tangzc.autotable.core.utils.TableBeanUtils
- isInteger(DatabaseTypeAndLength) - 类中的静态方法 com.tangzc.autotable.core.strategy.sqlite.SqliteTypeHelper
- isNoLengthNumber(DatabaseTypeAndLength) - 类中的静态方法 com.tangzc.autotable.core.strategy.mysql.data.MysqlTypeHelper
- isNotNull() - 类中的方法 com.tangzc.autotable.core.strategy.mysql.data.dbdata.InformationSchemaColumn
- isNotNull(Field, Class<?>) - 类中的静态方法 com.tangzc.autotable.core.utils.TableBeanUtils
- isNumber(DatabaseTypeAndLength) - 类中的静态方法 com.tangzc.autotable.core.strategy.mysql.data.MysqlTypeHelper
- isPrimary(Field, Class<?>) - 接口中的方法 com.tangzc.autotable.core.AutoTableOrmFrameAdapter
-
判断是否是主键
- isPrimary(Field, Class<?>) - 类中的静态方法 com.tangzc.autotable.core.utils.TableBeanUtils
- isText(DatabaseTypeAndLength) - 类中的静态方法 com.tangzc.autotable.core.strategy.sqlite.SqliteTypeHelper
- isTime(DatabaseTypeAndLength) - 类中的静态方法 com.tangzc.autotable.core.strategy.pgsql.data.PgsqlTypeHelper
- IStrategy<TABLE_META,
COMPARE_TABLE_INFO, - com.tangzc.autotable.core.strategy中的接口MAPPER>
J
- JAVA_TO_DB_TYPE_MAPPING - 接口中的静态变量 com.tangzc.autotable.core.converter.JavaTypeToDatabaseTypeConverter
- JavaTypeToDatabaseTypeConverter - com.tangzc.autotable.core.converter中的接口
-
自定义java转数据库的类型转换器
- JSON - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.mysql.data.MySqlDefaultTypeEnum
-
json
L
- listAllFieldForColumn(Class<?>) - 类中的静态方法 com.tangzc.autotable.core.utils.BeanClassUtil
-
查询某个类下所有的列的字段
- log - 接口中的静态变量 com.tangzc.autotable.core.converter.JavaTypeToDatabaseTypeConverter
- log - 接口中的静态变量 com.tangzc.autotable.core.dynamicds.IDataSourceHandler
- log - 接口中的静态变量 com.tangzc.autotable.core.strategy.IStrategy
- LONGBLOB - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.mysql.data.MySqlDefaultTypeEnum
- LONGTEXT - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.mysql.data.MySqlDefaultTypeEnum
M
- main(String[]) - 类中的静态方法 com.tangzc.autotable.core.strategy.mysql.ColumnPositionHelper
- MEDIUMBLOB - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.mysql.data.MySqlDefaultTypeEnum
- MEDIUMINT - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.mysql.data.MySqlDefaultTypeEnum
- MEDIUMTEXT - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.mysql.data.MySqlDefaultTypeEnum
- MODIFY - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.mysql.data.MysqlCompareTableInfo.ModifyType
-
修改
- modifyTable(MysqlCompareTableInfo) - 类中的方法 com.tangzc.autotable.core.strategy.mysql.MysqlStrategy
- modifyTable(PgsqlCompareTableInfo) - 类中的方法 com.tangzc.autotable.core.strategy.pgsql.PgsqlStrategy
- modifyTable(SqliteCompareTableInfo) - 类中的方法 com.tangzc.autotable.core.strategy.sqlite.SqliteStrategy
- modifyTable(COMPARE_TABLE_INFO) - 接口中的方法 com.tangzc.autotable.core.strategy.IStrategy
-
生成修改表SQL
- ModifyTableFinishCallback - com.tangzc.autotable.core.callback中的接口
-
修改表回调
- ModifyTableInterceptor - com.tangzc.autotable.core.interceptor中的接口
-
修改表前拦截器
- ModifyTableSqlBuilder - com.tangzc.autotable.core.strategy.mysql.builder中的类
- ModifyTableSqlBuilder - com.tangzc.autotable.core.strategy.pgsql.builder中的类
- ModifyTableSqlBuilder() - 类的构造器 com.tangzc.autotable.core.strategy.mysql.builder.ModifyTableSqlBuilder
- ModifyTableSqlBuilder() - 类的构造器 com.tangzc.autotable.core.strategy.pgsql.builder.ModifyTableSqlBuilder
- MONEY - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.pgsql.data.PgsqlDefaultTypeEnum
- MySQL - 接口中的静态变量 com.tangzc.autotable.core.constants.DatabaseDialect
- MysqlColumnMetadata - com.tangzc.autotable.core.strategy.mysql.data中的类
-
mysql有部分特殊注解,继承ColumnMetadata,拓展额外信息
- MysqlColumnMetadata() - 类的构造器 com.tangzc.autotable.core.strategy.mysql.data.MysqlColumnMetadata
- MysqlColumnMetadataBuilder - com.tangzc.autotable.core.strategy.mysql.builder中的类
-
用于存放创建表的字段信息
- MysqlColumnMetadataBuilder() - 类的构造器 com.tangzc.autotable.core.strategy.mysql.builder.MysqlColumnMetadataBuilder
- MysqlCompareTableInfo - com.tangzc.autotable.core.strategy.mysql.data中的类
- MysqlCompareTableInfo(String, String) - 类的构造器 com.tangzc.autotable.core.strategy.mysql.data.MysqlCompareTableInfo
- MysqlCompareTableInfo.ModifyType - com.tangzc.autotable.core.strategy.mysql.data中的枚举
- MysqlCompareTableInfo.MysqlModifyColumnMetadata - com.tangzc.autotable.core.strategy.mysql.data中的类
- MysqlConfig() - 类的构造器 com.tangzc.autotable.core.config.PropertyConfig.MysqlConfig
- MySqlDefaultTypeEnum - com.tangzc.autotable.core.strategy.mysql.data中的枚举
-
用于配置Mysql数据库中类型,并且该类型需要设置几个长度 这里配置多少个类型决定了,创建表能使用多少类型 例如:varchar(1) decimal(5,2) datetime
- MysqlModifyColumnMetadata() - 类的构造器 com.tangzc.autotable.core.strategy.mysql.data.MysqlCompareTableInfo.MysqlModifyColumnMetadata
- MysqlStrategy - com.tangzc.autotable.core.strategy.mysql中的类
-
项目启动时自动扫描配置的目录中的model,根据配置的规则自动创建或更新表 该逻辑只适用于mysql,其他数据库尚且需要另外扩展,因为sql的语法不同
- MysqlStrategy() - 类的构造器 com.tangzc.autotable.core.strategy.mysql.MysqlStrategy
- MysqlTableMetadata - com.tangzc.autotable.core.strategy.mysql.data中的类
- MysqlTableMetadata(Class<?>, String, String) - 类的构造器 com.tangzc.autotable.core.strategy.mysql.data.MysqlTableMetadata
- MysqlTableMetadataBuilder - com.tangzc.autotable.core.strategy.mysql.builder中的类
- MysqlTableMetadataBuilder() - 类的构造器 com.tangzc.autotable.core.strategy.mysql.builder.MysqlTableMetadataBuilder
- MysqlTablesMapper - com.tangzc.autotable.core.strategy.mysql.mapper中的接口
-
创建更新表结构的Mapper
- MysqlTypeHelper - com.tangzc.autotable.core.strategy.mysql.data中的类
- MysqlTypeHelper() - 类的构造器 com.tangzc.autotable.core.strategy.mysql.data.MysqlTypeHelper
N
- name - 类中的变量 com.tangzc.autotable.core.strategy.ColumnMetadata
-
列名: 不可变,变了意味着新列
- name - 类中的变量 com.tangzc.autotable.core.strategy.CompareTableInfo
-
表名: 不可变,变了意味着新表
- name - 类中的变量 com.tangzc.autotable.core.strategy.IndexMetadata
-
索引名称
- needModify() - 类中的方法 com.tangzc.autotable.core.strategy.CompareTableInfo
-
是否需要修改表,即表与模型是否存在差异
- needModify() - 类中的方法 com.tangzc.autotable.core.strategy.mysql.data.MysqlCompareTableInfo
-
判断该修改参数,是不是可用,如果除了name,其他值均没有设置过,则无效,反之有效
- needModify() - 类中的方法 com.tangzc.autotable.core.strategy.pgsql.data.PgsqlCompareTableInfo
- needModify() - 类中的方法 com.tangzc.autotable.core.strategy.sqlite.data.SqliteCompareTableInfo
- needStringCompatibility(DatabaseTypeAndLength) - 类中的静态方法 com.tangzc.autotable.core.strategy.mysql.data.MysqlTypeHelper
- newColumnMetadata() - 类中的方法 com.tangzc.autotable.core.builder.ColumnMetadataBuilder
- newColumnMetadata() - 类中的方法 com.tangzc.autotable.core.strategy.mysql.builder.MysqlColumnMetadataBuilder
- newIndexMetadata() - 类中的方法 com.tangzc.autotable.core.builder.IndexMetadataBuilder
- none - 枚举 中的枚举常量 com.tangzc.autotable.core.RunMode
-
系统不做任何处理
- noText(String) - 类中的静态方法 com.tangzc.autotable.core.utils.StringUtils
- notNull - 类中的变量 com.tangzc.autotable.core.strategy.ColumnMetadata
-
字段是否非空
- NUMBER_REGEX - 类中的静态变量 com.tangzc.autotable.core.utils.StringUtils
- NUMERIC - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.pgsql.data.PgsqlDefaultTypeEnum
O
- of(Class<?>, String, String, String, long, long) - 类中的静态方法 com.tangzc.autotable.core.recordsql.AutoTableExecuteSqlLog
- Oracle - 接口中的静态变量 com.tangzc.autotable.core.constants.DatabaseDialect
P
- ParamValidChecker - com.tangzc.autotable.core.strategy.mysql中的类
-
参数校验器
- ParamValidChecker() - 类的构造器 com.tangzc.autotable.core.strategy.mysql.ParamValidChecker
- ParamValidChecker.IColumnChecker - com.tangzc.autotable.core.strategy.mysql中的接口
-
字段参数校验
- PgsqlColumnMetadataBuilder - com.tangzc.autotable.core.strategy.pgsql.builder中的类
-
用于存放创建表的字段信息
- PgsqlColumnMetadataBuilder() - 类的构造器 com.tangzc.autotable.core.strategy.pgsql.builder.PgsqlColumnMetadataBuilder
- PgsqlCompareTableInfo - com.tangzc.autotable.core.strategy.pgsql.data中的类
- PgsqlCompareTableInfo(String, String) - 类的构造器 com.tangzc.autotable.core.strategy.pgsql.data.PgsqlCompareTableInfo
- PgsqlDbColumn - com.tangzc.autotable.core.strategy.pgsql.data.dbdata中的类
-
pgsql数据库,字段信息
- PgsqlDbColumn() - 类的构造器 com.tangzc.autotable.core.strategy.pgsql.data.dbdata.PgsqlDbColumn
- PgsqlDbIndex - com.tangzc.autotable.core.strategy.pgsql.data.dbdata中的类
-
pgsql数据库,索引信息
- PgsqlDbIndex() - 类的构造器 com.tangzc.autotable.core.strategy.pgsql.data.dbdata.PgsqlDbIndex
- PgsqlDbPrimary - com.tangzc.autotable.core.strategy.pgsql.data.dbdata中的类
-
pgsql数据库,索引信息
- PgsqlDbPrimary() - 类的构造器 com.tangzc.autotable.core.strategy.pgsql.data.dbdata.PgsqlDbPrimary
- PgsqlDefaultTypeEnum - com.tangzc.autotable.core.strategy.pgsql.data中的枚举
- PgsqlStrategy - com.tangzc.autotable.core.strategy.pgsql中的类
- PgsqlStrategy() - 类的构造器 com.tangzc.autotable.core.strategy.pgsql.PgsqlStrategy
- PgsqlTableMetadataBuilder - com.tangzc.autotable.core.strategy.pgsql.builder中的类
- PgsqlTableMetadataBuilder() - 类的构造器 com.tangzc.autotable.core.strategy.pgsql.builder.PgsqlTableMetadataBuilder
- PgsqlTablesMapper - com.tangzc.autotable.core.strategy.pgsql.mapper中的接口
-
创建更新表结构的Mapper
- PgsqlTypeHelper - com.tangzc.autotable.core.strategy.pgsql.data中的类
- PgsqlTypeHelper() - 类的构造器 com.tangzc.autotable.core.strategy.pgsql.data.PgsqlTypeHelper
- PostgreSQL - 接口中的静态变量 com.tangzc.autotable.core.constants.DatabaseDialect
- primary - 类中的变量 com.tangzc.autotable.core.strategy.ColumnMetadata
-
字段是否是主键
- print() - 类中的静态方法 com.tangzc.autotable.core.Banner
- PropertyConfig - com.tangzc.autotable.core.config中的类
- PropertyConfig() - 类的构造器 com.tangzc.autotable.core.config.PropertyConfig
- PropertyConfig.MysqlConfig - com.tangzc.autotable.core.config中的类
- PropertyConfig.RecordSqlProperties - com.tangzc.autotable.core.config中的类
- PropertyConfig.RecordSqlProperties.TypeEnum - com.tangzc.autotable.core.config中的枚举
- PropertyConfig.SuperInsertPosition - com.tangzc.autotable.core.config中的枚举
Q
- queryBuildIndexSql(String) - 接口中的方法 com.tangzc.autotable.core.strategy.sqlite.mapper.SqliteTablesMapper
-
查询建表语句
- queryBuildTableSql(String) - 接口中的方法 com.tangzc.autotable.core.strategy.sqlite.mapper.SqliteTablesMapper
-
查询建表语句
- queryTablePrimaryAndIndex(String) - 接口中的方法 com.tangzc.autotable.core.strategy.mysql.mapper.MysqlTablesMapper
-
查询指定表的所有主键和索引信息
R
- REAL - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.sqlite.data.SqliteDefaultTypeEnum
- RebuildIndex() - 类的构造器 com.tangzc.autotable.core.strategy.sqlite.data.SqliteCompareTableInfo.RebuildIndex
- record(AutoTableExecuteSqlLog) - 类中的方法 com.tangzc.autotable.core.recordsql.RecordSqlDbHandler
- record(AutoTableExecuteSqlLog) - 类中的方法 com.tangzc.autotable.core.recordsql.RecordSqlFileHandler
- record(AutoTableExecuteSqlLog) - 接口中的方法 com.tangzc.autotable.core.recordsql.RecordSqlHandler
-
记录sql
- record(List<AutoTableExecuteSqlLog>) - 类中的静态方法 com.tangzc.autotable.core.recordsql.RecordSqlService
- RecordSqlDbHandler - com.tangzc.autotable.core.recordsql中的类
- RecordSqlDbHandler() - 类的构造器 com.tangzc.autotable.core.recordsql.RecordSqlDbHandler
- RecordSqlFileHandler - com.tangzc.autotable.core.recordsql中的类
- RecordSqlFileHandler() - 类的构造器 com.tangzc.autotable.core.recordsql.RecordSqlFileHandler
- RecordSqlHandler - com.tangzc.autotable.core.recordsql中的接口
- RecordSqlProperties() - 类的构造器 com.tangzc.autotable.core.config.PropertyConfig.RecordSqlProperties
- RecordSqlService - com.tangzc.autotable.core.recordsql中的类
- RecordSqlService() - 类的构造器 com.tangzc.autotable.core.recordsql.RecordSqlService
- replace(String, String) - 类中的方法 com.tangzc.autotable.core.utils.StringConnectHelper
- replace(String, Supplier<String>) - 类中的方法 com.tangzc.autotable.core.utils.StringConnectHelper
- resetPrimary(List<MysqlColumnMetadata>) - 类中的方法 com.tangzc.autotable.core.strategy.mysql.data.MysqlCompareTableInfo
-
重设主键
- RunMode - com.tangzc.autotable.core中的枚举
-
执行模式
- RunStateCallback - com.tangzc.autotable.core.callback中的接口
-
单个表执行前后回调
S
- scan(String[], Set<Class<? extends Annotation>>, Set<Class<? extends Annotation>>) - 类中的静态方法 com.tangzc.autotable.core.utils.ClassScanner
- scannerAnnotations() - 接口中的方法 com.tangzc.autotable.core.AutoTableOrmFrameAdapter
-
扫描注解
- schema - 类中的变量 com.tangzc.autotable.core.strategy.CompareTableInfo
-
schema
- schema - 类中的变量 com.tangzc.autotable.core.strategy.TableMetadata
-
schema
- selectPrimaryKeyName(String, String) - 接口中的方法 com.tangzc.autotable.core.strategy.pgsql.mapper.PgsqlTablesMapper
-
查询表下的主键信息
- selectTableDescription(String, String) - 接口中的方法 com.tangzc.autotable.core.strategy.pgsql.mapper.PgsqlTablesMapper
-
查询表名注释
- selectTableFieldDetail(String, String) - 接口中的方法 com.tangzc.autotable.core.strategy.pgsql.mapper.PgsqlTablesMapper
-
查询所有字段信息
- selectTableIndexesDetail(String, String) - 接口中的方法 com.tangzc.autotable.core.strategy.pgsql.mapper.PgsqlTablesMapper
-
查询所有索引信息
- SET - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.mysql.data.MySqlDefaultTypeEnum
- setDatasourceName(String) - 类中的静态方法 com.tangzc.autotable.core.dynamicds.DatasourceNameManager
- setSqlSessionFactory(SqlSessionFactory) - 类中的静态方法 com.tangzc.autotable.core.dynamicds.SqlSessionFactoryManager
- SMALLINT - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.mysql.data.MySqlDefaultTypeEnum
- sort - 类中的变量 com.tangzc.autotable.core.strategy.IndexMetadata.IndexColumnParam
-
索引排序
- SQLite - 接口中的静态变量 com.tangzc.autotable.core.constants.DatabaseDialect
- SqliteColumnMetadataBuilder - com.tangzc.autotable.core.strategy.sqlite.builder中的类
-
用于存放创建表的字段信息
- SqliteColumnMetadataBuilder() - 类的构造器 com.tangzc.autotable.core.strategy.sqlite.builder.SqliteColumnMetadataBuilder
- SqliteCompareTableInfo - com.tangzc.autotable.core.strategy.sqlite.data中的类
- SqliteCompareTableInfo(String, String) - 类的构造器 com.tangzc.autotable.core.strategy.sqlite.data.SqliteCompareTableInfo
- SqliteCompareTableInfo.RebuildIndex - com.tangzc.autotable.core.strategy.sqlite.data中的类
- SqliteDefaultTypeEnum - com.tangzc.autotable.core.strategy.sqlite.data中的枚举
- SqliteMaster - com.tangzc.autotable.core.strategy.sqlite.data.dbdata中的类
-
sqlite记录表和索引元信息的表
- SqliteMaster() - 类的构造器 com.tangzc.autotable.core.strategy.sqlite.data.dbdata.SqliteMaster
- SqliteStrategy - com.tangzc.autotable.core.strategy.sqlite中的类
- SqliteStrategy() - 类的构造器 com.tangzc.autotable.core.strategy.sqlite.SqliteStrategy
- SqliteTableMetadataBuilder - com.tangzc.autotable.core.strategy.sqlite.builder中的类
- SqliteTableMetadataBuilder() - 类的构造器 com.tangzc.autotable.core.strategy.sqlite.builder.SqliteTableMetadataBuilder
- SqliteTablesMapper - com.tangzc.autotable.core.strategy.sqlite.mapper中的接口
-
创建更新表结构的Mapper
- SqliteTypeHelper - com.tangzc.autotable.core.strategy.sqlite中的类
- SqliteTypeHelper() - 类的构造器 com.tangzc.autotable.core.strategy.sqlite.SqliteTypeHelper
- SQLServer - 接口中的静态变量 com.tangzc.autotable.core.constants.DatabaseDialect
- SqlSessionFactoryManager - com.tangzc.autotable.core.dynamicds中的类
- SqlSessionFactoryManager() - 类的构造器 com.tangzc.autotable.core.dynamicds.SqlSessionFactoryManager
- start() - 类中的静态方法 com.tangzc.autotable.core.AutoTableBootstrap
- start(Class<?>) - 接口中的方法 com.tangzc.autotable.core.strategy.IStrategy
-
开始分析实体集合
- start(TABLE_META) - 接口中的方法 com.tangzc.autotable.core.strategy.IStrategy
-
开始分析实体
- StringConnectHelper - com.tangzc.autotable.core.utils中的类
-
字符串拼接工具类
- StringConnectHelper() - 类的构造器 com.tangzc.autotable.core.utils.StringConnectHelper
- StringUtils - com.tangzc.autotable.core.utils中的类
-
字符串工具类
- StringUtils() - 类的构造器 com.tangzc.autotable.core.utils.StringUtils
T
- TableBeanUtils - com.tangzc.autotable.core.utils中的类
- TableBeanUtils() - 类的构造器 com.tangzc.autotable.core.utils.TableBeanUtils
- TableMetadata - com.tangzc.autotable.core.strategy中的类
-
Bean的基础信息元数据
- TableMetadata(Class<?>, String, String, String) - 类的构造器 com.tangzc.autotable.core.strategy.TableMetadata
- tableName - 类中的变量 com.tangzc.autotable.core.strategy.TableMetadata
-
表名
- TEXT - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.mysql.data.MySqlDefaultTypeEnum
- TEXT - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.pgsql.data.PgsqlDefaultTypeEnum
- TEXT - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.sqlite.data.SqliteDefaultTypeEnum
- TIME - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.mysql.data.MySqlDefaultTypeEnum
- TIME - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.pgsql.data.PgsqlDefaultTypeEnum
-
日期
- TIMESTAMP - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.mysql.data.MySqlDefaultTypeEnum
- TIMESTAMP - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.pgsql.data.PgsqlDefaultTypeEnum
- TINYBLOB - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.mysql.data.MySqlDefaultTypeEnum
- TINYINT - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.mysql.data.MySqlDefaultTypeEnum
- TINYTEXT - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.mysql.data.MySqlDefaultTypeEnum
- toString() - 类中的方法 com.tangzc.autotable.core.utils.StringConnectHelper
- type - 类中的变量 com.tangzc.autotable.core.strategy.ColumnMetadata
-
字段类型
- type - 类中的变量 com.tangzc.autotable.core.strategy.IndexMetadata
-
索引类型
- typeMapping() - 接口中的方法 com.tangzc.autotable.core.strategy.IStrategy
-
java字段类型与数据库类型映射关系
- typeMapping() - 类中的方法 com.tangzc.autotable.core.strategy.mysql.MysqlStrategy
- typeMapping() - 类中的方法 com.tangzc.autotable.core.strategy.pgsql.PgsqlStrategy
- typeMapping() - 类中的方法 com.tangzc.autotable.core.strategy.sqlite.SqliteStrategy
U
- update - 枚举 中的枚举常量 com.tangzc.autotable.core.RunMode
-
系统启动时,会自动判断哪些表是新建的,哪些字段要新增修改,哪些索引/约束要新增删除等
- updateMode(TABLE_META) - 接口中的方法 com.tangzc.autotable.core.strategy.IStrategy
-
更新模式 1.
- useDataSource(String) - 接口中的方法 com.tangzc.autotable.core.dynamicds.IDataSourceHandler
-
切换指定的数据源
- useDataSource(String) - 类中的方法 com.tangzc.autotable.core.dynamicds.impl.DefaultDataSourceHandler
V
- validate - 枚举 中的枚举常量 com.tangzc.autotable.core.RunMode
-
系统启动时,会检查数据库中的表与java实体类是否匹配。
- validateFailedMessage() - 类中的方法 com.tangzc.autotable.core.strategy.CompareTableInfo
-
验证模式下失败的信息
- validateFailedMessage() - 类中的方法 com.tangzc.autotable.core.strategy.mysql.data.MysqlCompareTableInfo
- validateFailedMessage() - 类中的方法 com.tangzc.autotable.core.strategy.pgsql.data.PgsqlCompareTableInfo
- validateFailedMessage() - 类中的方法 com.tangzc.autotable.core.strategy.sqlite.data.SqliteCompareTableInfo
- validateFinish(boolean, String, CompareTableInfo) - 接口中的方法 com.tangzc.autotable.core.callback.ValidateFinishCallback
-
验证完回调
- ValidateFinishCallback - com.tangzc.autotable.core.callback中的接口
-
验证完回调
- validateMode(TABLE_META) - 接口中的方法 com.tangzc.autotable.core.strategy.IStrategy
-
检查数据库数据模型与实体是否一致 1.
- VALUE - 接口中的静态变量 com.tangzc.autotable.core.constants.Version
- valueOf(String) - 枚举中的静态方法 com.tangzc.autotable.core.config.PropertyConfig.RecordSqlProperties.TypeEnum
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举中的静态方法 com.tangzc.autotable.core.config.PropertyConfig.SuperInsertPosition
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举中的静态方法 com.tangzc.autotable.core.RunMode
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举中的静态方法 com.tangzc.autotable.core.strategy.mysql.data.MysqlCompareTableInfo.ModifyType
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举中的静态方法 com.tangzc.autotable.core.strategy.mysql.data.MySqlDefaultTypeEnum
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举中的静态方法 com.tangzc.autotable.core.strategy.pgsql.data.PgsqlDefaultTypeEnum
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举中的静态方法 com.tangzc.autotable.core.strategy.sqlite.data.SqliteDefaultTypeEnum
-
返回带有指定名称的该类型的枚举常量。
- values() - 枚举中的静态方法 com.tangzc.autotable.core.config.PropertyConfig.RecordSqlProperties.TypeEnum
-
返回包含该枚举类型的常量的数组, 顺序与声明这些常量的顺序相同
- values() - 枚举中的静态方法 com.tangzc.autotable.core.config.PropertyConfig.SuperInsertPosition
-
返回包含该枚举类型的常量的数组, 顺序与声明这些常量的顺序相同
- values() - 枚举中的静态方法 com.tangzc.autotable.core.RunMode
-
返回包含该枚举类型的常量的数组, 顺序与声明这些常量的顺序相同
- values() - 枚举中的静态方法 com.tangzc.autotable.core.strategy.mysql.data.MysqlCompareTableInfo.ModifyType
-
返回包含该枚举类型的常量的数组, 顺序与声明这些常量的顺序相同
- values() - 枚举中的静态方法 com.tangzc.autotable.core.strategy.mysql.data.MySqlDefaultTypeEnum
-
返回包含该枚举类型的常量的数组, 顺序与声明这些常量的顺序相同
- values() - 枚举中的静态方法 com.tangzc.autotable.core.strategy.pgsql.data.PgsqlDefaultTypeEnum
-
返回包含该枚举类型的常量的数组, 顺序与声明这些常量的顺序相同
- values() - 枚举中的静态方法 com.tangzc.autotable.core.strategy.sqlite.data.SqliteDefaultTypeEnum
-
返回包含该枚举类型的常量的数组, 顺序与声明这些常量的顺序相同
- VARBINARY - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.mysql.data.MySqlDefaultTypeEnum
- VARCHAR - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.mysql.data.MySqlDefaultTypeEnum
- VARCHAR - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.pgsql.data.PgsqlDefaultTypeEnum
- Version - com.tangzc.autotable.core.constants中的接口
W
- withSchemaName(String, String) - 类中的静态方法 com.tangzc.autotable.core.strategy.pgsql.PgsqlStrategy
Y
- YEAR - 枚举 中的枚举常量 com.tangzc.autotable.core.strategy.mysql.data.MySqlDefaultTypeEnum
-
日期
常量字段值|所有程序包|所有类和接口