类 MysqlCompareTableInfo
java.lang.Object
org.dromara.autotable.core.strategy.CompareTableInfo
org.dromara.autotable.strategy.mysql.data.MysqlCompareTableInfo
public class MysqlCompareTableInfo
extends org.dromara.autotable.core.strategy.CompareTableInfo
- 作者:
- don
-
嵌套类概要
嵌套类修饰符和类型类说明static enumstatic class -
字段概要
从类继承的字段 org.dromara.autotable.core.strategy.CompareTableInfo
name, schema -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidaddEditColumnMetadata(MysqlColumnMetadata mysqlColumnMetadata) voidaddNewColumnMetadata(MysqlColumnMetadata mysqlColumnMetadata) boolean判断该修改参数,是不是可用,如果除了name,其他值均没有设置过,则无效,反之有效voidresetPrimary(List<MysqlColumnMetadata> primaries) 重设主键从类继承的方法 org.dromara.autotable.core.strategy.CompareTableInfo
getName, getSchema
-
构造器详细资料
-
MysqlCompareTableInfo
-
-
方法详细资料
-
needModify
public boolean needModify()判断该修改参数,是不是可用,如果除了name,其他值均没有设置过,则无效,反之有效- 指定者:
needModify在类中org.dromara.autotable.core.strategy.CompareTableInfo
-
validateFailedMessage
- 指定者:
validateFailedMessage在类中org.dromara.autotable.core.strategy.CompareTableInfo
-
addNewColumnMetadata
-
addEditColumnMetadata
-
resetPrimary
重设主键
-