liquibase.snapshot.jvm
Class UniqueConstraintSnapshotGenerator
java.lang.Object
liquibase.snapshot.jvm.JdbcSnapshotGenerator
liquibase.snapshot.jvm.UniqueConstraintSnapshotGenerator
- All Implemented Interfaces:
- SnapshotGenerator
public class UniqueConstraintSnapshotGenerator
- extends JdbcSnapshotGenerator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UniqueConstraintSnapshotGenerator
public UniqueConstraintSnapshotGenerator()
getPriority
public int getPriority(Class<? extends DatabaseObject> objectType,
Database database)
- Specified by:
getPriority
in interface SnapshotGenerator
- Overrides:
getPriority
in class JdbcSnapshotGenerator
snapshotObject
protected DatabaseObject snapshotObject(DatabaseObject example,
DatabaseSnapshot snapshot)
throws DatabaseException,
InvalidExampleException
- Specified by:
snapshotObject
in class JdbcSnapshotGenerator
- Throws:
DatabaseException
InvalidExampleException
addTo
protected void addTo(DatabaseObject foundObject,
DatabaseSnapshot snapshot)
throws DatabaseException,
InvalidExampleException
- Specified by:
addTo
in class JdbcSnapshotGenerator
- Throws:
DatabaseException
InvalidExampleException
listConstraints
protected List<CachedRow> listConstraints(Table table,
DatabaseSnapshot snapshot,
Schema schema)
throws DatabaseException,
SQLException
- Throws:
DatabaseException
SQLException
listColumns
protected List<Map<String,?>> listColumns(UniqueConstraint example,
Database database,
DatabaseSnapshot snapshot)
throws DatabaseException
- Throws:
DatabaseException
Copyright © 2016 Liquibase.org. All rights reserved.