public class DataCompareUtils extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static Result<Boolean> |
isFieldEquals(Field f0,
Field f1)
Is field equals result.
|
static Result<Boolean> |
isRecordsEquals(TableRecords beforeImage,
TableRecords afterImage)
Is records equals result.
|
static Result<Boolean> |
isRowsEquals(TableMeta tableMetaData,
List<Row> oldRows,
List<Row> newRows)
Is rows equals result.
|
static Map<String,Map<String,Field>> |
rowListToMap(List<Row> rowList,
List<String> primaryKeyList)
Row list to map map.
|
public static Result<Boolean> isFieldEquals(Field f0, Field f1)
f0 - the f 0f1 - the f 1public static Result<Boolean> isRecordsEquals(TableRecords beforeImage, TableRecords afterImage)
beforeImage - the before imageafterImage - the after imagepublic static Result<Boolean> isRowsEquals(TableMeta tableMetaData, List<Row> oldRows, List<Row> newRows)
tableMetaData - the table meta dataoldRows - the old rowsnewRows - the new rowsCopyright © 2022 Seata. All rights reserved.