类 LoadDbDDLDiffInfoContent

java.lang.Object
com.sh.wf.ws.data.common.LoadDbDDLInfoContent
com.sh.wf.ws.data.common.LoadDbDDLDiffInfoContent

public class LoadDbDDLDiffInfoContent extends LoadDbDDLInfoContent

Description: 获取当前数据库的DDL信息

Title:首亨软件 - TSS/CRM等

从以下版本开始:
2019年11月28日
  • 构造器详细资料

  • 方法详细资料

    • diff

      public String diff(String param)
    • processDiff

      public void processDiff(DataCenter dc, JSONObject dataObj1, StringBuilder retValue) throws Exception
      抛出:
      Exception
    • diffDB

      public void diffDB(JSONArray tableArray1, JSONArray tableArray2, StringBuilder retValue)
      比较表
      参数:
      tableArray1 - JSONArray
      tableArray2 - JSONArray
      retValue - StringBuilder
    • diffTable

      public void diffTable(String tableName, JSONObject table1, JSONObject table2, StringBuilder retValue)
      比较表列
      参数:
      tableName - String
      table1 - JSONObject
      table2 - JSONObject
      retValue - StringBuilder
    • diffTableIndex

      public void diffTableIndex(String tableName, JSONObject table1, JSONObject table2, StringBuilder retValue)
      比较表索引
      参数:
      tableName - String
      table1 - JSONObject
      table2 - JSONObject
      retValue - StringBuilder
    • diffColumn

      public void diffColumn(String tableName, String columnName, JSONObject column1, JSONObject column2, StringBuilder retValue)
      比对列
      参数:
      tableName - String
      columnName - String
      column1 - JSONObject
      column2 - JSONObject
      retValue - StringBuilder
    • diffIndex

      public void diffIndex(String indexName, JSONObject index1, JSONObject index2, StringBuilder retValue)
      比对索引
      参数:
      indexName - String
      index1 - JSONObject
      index2 - JSONObject
      retValue - StringBuilder