Package liquibase.diff.compare.core
Class CommonCatalogSchemaComparator
java.lang.Object
liquibase.diff.compare.core.CommonCatalogSchemaComparator
- All Implemented Interfaces:
DatabaseObjectComparator
- Direct Known Subclasses:
CatalogComparator
,SchemaComparator
public abstract class CommonCatalogSchemaComparator
extends Object
implements DatabaseObjectComparator
DatabaseObjectComparator for Catalog and Schema comparators with common stuff
-
Field Summary
Fields inherited from interface liquibase.diff.compare.DatabaseObjectComparator
PRIORITY_DATABASE, PRIORITY_DEFAULT, PRIORITY_NONE, PRIORITY_TYPE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
equalsSchemas
(Database accordingTo, String schemaName1, String schemaName2) protected String
getComparisonSchemaOrCatalog
(Database accordingTo, CompareControl.SchemaComparison comparison) protected String
getReferenceSchemaOrCatalog
(Database accordingTo, CompareControl.SchemaComparison comparison) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface liquibase.diff.compare.DatabaseObjectComparator
findDifferences, getPriority, hash, isSameObject
-
Constructor Details
-
CommonCatalogSchemaComparator
public CommonCatalogSchemaComparator()
-
-
Method Details
-
equalsSchemas
-
getComparisonSchemaOrCatalog
protected String getComparisonSchemaOrCatalog(Database accordingTo, CompareControl.SchemaComparison comparison) -
getReferenceSchemaOrCatalog
protected String getReferenceSchemaOrCatalog(Database accordingTo, CompareControl.SchemaComparison comparison)
-