Package liquibase.diff.compare.core
Class CatalogComparator
java.lang.Object
liquibase.diff.compare.core.CommonCatalogSchemaComparator
liquibase.diff.compare.core.CatalogComparator
- 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
-
CatalogComparator
public CatalogComparator()
-
-
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)
-