类的使用
org.dromara.autotable.core.strategy.mysql.data.MysqlCompareTableInfo
使用MysqlCompareTableInfo的程序包
程序包
说明
MySQL策略实现
-
org.dromara.autotable.core.strategy.mysql中MysqlCompareTableInfo的使用
修饰符和类型方法说明@NonNull MysqlCompareTableInfoMysqlStrategy.compareTable(MysqlTableMetadata tableMetadata) 修饰符和类型方法说明private voidMysqlStrategy.compareColumns(MysqlTableMetadata mysqlTableMetadata, String tableName, MysqlCompareTableInfo mysqlCompareTableInfo) 对比列的不同private voidMysqlStrategy.compareIndexes(MysqlTableMetadata mysqlTableMetadata, MysqlCompareTableInfo mysqlCompareTableInfo, Map<String, List<InformationSchemaStatistics>> tableIndexes) private static voidMysqlStrategy.comparePrimary(MysqlTableMetadata mysqlTableMetadata, MysqlCompareTableInfo mysqlCompareTableInfo, List<InformationSchemaStatistics> tablePrimaries) private static voidMysqlStrategy.compareTableProperties(MysqlTableMetadata mysqlTableMetadata, InformationSchemaTable tableInformation, MysqlCompareTableInfo mysqlCompareTableInfo) MysqlStrategy.modifyTable(MysqlCompareTableInfo mysqlCompareTableInfo) -
org.dromara.autotable.core.strategy.mysql.builder中MysqlCompareTableInfo的使用
修饰符和类型方法说明static StringModifyTableSqlBuilder.buildSql(MysqlCompareTableInfo mysqlCompareTableInfo) 构建创建新表的SQL