类 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
  • 构造器详细资料

    • MysqlCompareTableInfo

      public MysqlCompareTableInfo(@NonNull @NonNull String name, @NonNull @NonNull String schema)
  • 方法详细资料

    • needModify

      public boolean needModify()
      判断该修改参数,是不是可用,如果除了name,其他值均没有设置过,则无效,反之有效
      指定者:
      needModify 在类中 org.dromara.autotable.core.strategy.CompareTableInfo
    • validateFailedMessage

      public String validateFailedMessage()
      指定者:
      validateFailedMessage 在类中 org.dromara.autotable.core.strategy.CompareTableInfo
    • addNewColumnMetadata

      public void addNewColumnMetadata(MysqlColumnMetadata mysqlColumnMetadata)
    • addEditColumnMetadata

      public void addEditColumnMetadata(MysqlColumnMetadata mysqlColumnMetadata)
    • resetPrimary

      public void resetPrimary(List<MysqlColumnMetadata> primaries)
      重设主键