Class MissingTableChangeGenerator
java.lang.Object
liquibase.diff.output.changelog.AbstractChangeGenerator
liquibase.diff.output.changelog.core.MissingTableChangeGenerator
- All Implemented Interfaces:
ChangeGenerator
,MissingObjectChangeGenerator
public class MissingTableChangeGenerator
extends AbstractChangeGenerator
implements MissingObjectChangeGenerator
-
Field Summary
Fields inherited from interface liquibase.diff.output.changelog.ChangeGenerator
EMPTY_CHANGE, PRIORITY_ADDITIONAL, PRIORITY_DATABASE, PRIORITY_DEFAULT, PRIORITY_NONE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected CreateTableChange
Change[]
fixMissing
(DatabaseObject missingObject, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) int
getPriority
(Class<? extends DatabaseObject> objectType, Database database) Class<? extends DatabaseObject>[]
Class<? extends DatabaseObject>[]
static void
setDefaultValue
(ColumnConfig columnConfig, Column column, Database database) boolean
shouldAddPrimarykeyToConstraints
(DatabaseObject missingObject, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase) Methods inherited from class liquibase.diff.output.changelog.AbstractChangeGenerator
fixOutputAsSchema, fixSchema, setRespectSchemaAndCatalogCase
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface liquibase.diff.output.changelog.ChangeGenerator
fixOutputAsSchema, fixSchema
-
Constructor Details
-
MissingTableChangeGenerator
public MissingTableChangeGenerator()
-
-
Method Details
-
setDefaultValue
-
getPriority
- Specified by:
getPriority
in interfaceChangeGenerator
-
runAfterTypes
- Specified by:
runAfterTypes
in interfaceChangeGenerator
-
runBeforeTypes
- Specified by:
runBeforeTypes
in interfaceChangeGenerator
-
fixMissing
public Change[] fixMissing(DatabaseObject missingObject, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) - Specified by:
fixMissing
in interfaceMissingObjectChangeGenerator
-
createCreateTableChange
-
shouldAddPrimarykeyToConstraints
public boolean shouldAddPrimarykeyToConstraints(DatabaseObject missingObject, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase)
-