类 LoadDbDDLDiffInfoContent
java.lang.Object
com.sh.wf.ws.data.common.LoadDbDDLInfoContent
com.sh.wf.ws.data.common.LoadDbDDLDiffInfoContent
Description: 获取当前数据库的DDL信息
Title:首亨软件 - TSS/CRM等
- 从以下版本开始:
- 2019年11月28日
-
字段概要
从类继承的字段 com.sh.wf.ws.data.common.LoadDbDDLInfoContent
tokenRet -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voiddiffColumn(String tableName, String columnName, JSONObject column1, JSONObject column2, StringBuilder retValue) 比对列voiddiffDB(JSONArray tableArray1, JSONArray tableArray2, StringBuilder retValue) 比较表voiddiffIndex(String indexName, JSONObject index1, JSONObject index2, StringBuilder retValue) 比对索引voiddiffTable(String tableName, JSONObject table1, JSONObject table2, StringBuilder retValue) 比较表列voiddiffTableIndex(String tableName, JSONObject table1, JSONObject table2, StringBuilder retValue) 比较表索引voidprocessDiff(DataCenter dc, JSONObject dataObj1, StringBuilder retValue) 从类继承的方法 com.sh.wf.ws.data.common.LoadDbDDLInfoContent
addJSONData, process, processDiff_MySQL, toFailure
-
构造器详细资料
-
LoadDbDDLDiffInfoContent
-
-
方法详细资料
-
diff
-
processDiff
public void processDiff(DataCenter dc, JSONObject dataObj1, StringBuilder retValue) throws Exception - 抛出:
Exception
-
diffDB
比较表- 参数:
tableArray1- JSONArraytableArray2- JSONArrayretValue- StringBuilder
-
diffTable
public void diffTable(String tableName, JSONObject table1, JSONObject table2, StringBuilder retValue) 比较表列- 参数:
tableName- Stringtable1- JSONObjecttable2- JSONObjectretValue- StringBuilder
-
diffTableIndex
public void diffTableIndex(String tableName, JSONObject table1, JSONObject table2, StringBuilder retValue) 比较表索引- 参数:
tableName- Stringtable1- JSONObjecttable2- JSONObjectretValue- StringBuilder
-
diffColumn
public void diffColumn(String tableName, String columnName, JSONObject column1, JSONObject column2, StringBuilder retValue) 比对列- 参数:
tableName- StringcolumnName- Stringcolumn1- JSONObjectcolumn2- JSONObjectretValue- StringBuilder
-
diffIndex
public void diffIndex(String indexName, JSONObject index1, JSONObject index2, StringBuilder retValue) 比对索引- 参数:
indexName- Stringindex1- JSONObjectindex2- JSONObjectretValue- StringBuilder
-