Package liquibase.diff.compare.core
Class SchemaComparator
java.lang.Object
liquibase.diff.compare.core.CommonCatalogSchemaComparator
liquibase.diff.compare.core.SchemaComparator
- All Implemented Interfaces:
DatabaseObjectComparator
-
Field Summary
Fields inherited from interface liquibase.diff.compare.DatabaseObjectComparator
PRIORITY_DATABASE, PRIORITY_DEFAULT, PRIORITY_NONE, PRIORITY_TYPE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfindDifferences
(DatabaseObject databaseObject1, DatabaseObject databaseObject2, Database accordingTo, CompareControl compareControl, DatabaseObjectComparatorChain chain, Set<String> exclude) int
getPriority
(Class<? extends DatabaseObject> objectType, Database database) String[]
hash
(DatabaseObject databaseObject, Database accordingTo, DatabaseObjectComparatorChain chain) boolean
isSameObject
(DatabaseObject databaseObject1, DatabaseObject databaseObject2, Database accordingTo, DatabaseObjectComparatorChain chain) Methods inherited from class liquibase.diff.compare.core.CommonCatalogSchemaComparator
equalsSchemas, getComparisonSchemaOrCatalog, getReferenceSchemaOrCatalog
-
Constructor Details
-
SchemaComparator
public SchemaComparator()
-
-
Method Details
-
getPriority
-
hash
public String[] hash(DatabaseObject databaseObject, Database accordingTo, DatabaseObjectComparatorChain chain) -
isSameObject
public boolean isSameObject(DatabaseObject databaseObject1, DatabaseObject databaseObject2, Database accordingTo, DatabaseObjectComparatorChain chain) -
findDifferences
public ObjectDifferences findDifferences(DatabaseObject databaseObject1, DatabaseObject databaseObject2, Database accordingTo, CompareControl compareControl, DatabaseObjectComparatorChain chain, Set<String> exclude)
-