Package liquibase.diff.compare
Interface DatabaseObjectComparator
- All Known Implementing Classes:
CatalogComparator
,ColumnComparator
,CommonCatalogSchemaComparator
,DefaultDatabaseObjectComparator
,ForeignKeyComparator
,IndexComparator
,PrimaryKeyComparator
,SchemaComparator
,TableComparator
,UniqueConstraintComparator
public interface DatabaseObjectComparator
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
-
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)
-
Field Details
-
PRIORITY_NONE
static final int PRIORITY_NONE- See Also:
-
PRIORITY_DEFAULT
static final int PRIORITY_DEFAULT- See Also:
-
PRIORITY_TYPE
static final int PRIORITY_TYPE- See Also:
-
PRIORITY_DATABASE
static final int PRIORITY_DATABASE- See Also:
-
-
Method Details
-
getPriority
-
isSameObject
boolean isSameObject(DatabaseObject databaseObject1, DatabaseObject databaseObject2, Database accordingTo, DatabaseObjectComparatorChain chain) -
hash
String[] hash(DatabaseObject databaseObject, Database accordingTo, DatabaseObjectComparatorChain chain) -
findDifferences
ObjectDifferences findDifferences(DatabaseObject databaseObject1, DatabaseObject databaseObject2, Database accordingTo, CompareControl compareControl, DatabaseObjectComparatorChain chain, Set<String> exclude)
-