use of com.baidu.hugegraph.entity.schema.SchemaConflict in project incubator-hugegraph-toolchain by apache.
the class SchemaService method compareWithEachOther.
public static <T extends SchemaEntity> void compareWithEachOther(ConflictDetail detail, SchemaType type) {
List<SchemaConflict<T>> conflicts = detail.getConflicts(type);
for (int i = 0; i < conflicts.size(); i++) {
SchemaConflict<T> conflict = conflicts.get(i);
if (conflict.getStatus().isConflicted()) {
continue;
}
ConflictStatus status = compareWithOthers(i, conflicts);
conflict.setStatus(status);
}
}
Aggregations