liquibase.snapshot.jvm
Class CatalogSnapshotGenerator

java.lang.Object
  extended by liquibase.snapshot.jvm.JdbcSnapshotGenerator
      extended by liquibase.snapshot.jvm.CatalogSnapshotGenerator
All Implemented Interfaces:
SnapshotGenerator

public class CatalogSnapshotGenerator
extends JdbcSnapshotGenerator


Field Summary
 
Fields inherited from interface liquibase.snapshot.SnapshotGenerator
PRIORITY_ADDITIONAL, PRIORITY_DATABASE, PRIORITY_DEFAULT, PRIORITY_NONE
 
Constructor Summary
CatalogSnapshotGenerator()
           
 
Method Summary
protected  void addTo(DatabaseObject foundObject, DatabaseSnapshot snapshot)
           
protected  String[] getDatabaseCatalogNames(Database database)
           
protected  boolean isDefaultCatalog(Catalog match, Database database)
           
protected  DatabaseObject snapshotObject(DatabaseObject example, DatabaseSnapshot snapshot)
           
 
Methods inherited from class liquibase.snapshot.jvm.JdbcSnapshotGenerator
addStatusListener, addsTo, cleanNameFromDatabase, getPriority, replaces, shouldAddTo, snapshot, updateListeners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CatalogSnapshotGenerator

public CatalogSnapshotGenerator()
Method Detail

snapshotObject

protected DatabaseObject snapshotObject(DatabaseObject example,
                                        DatabaseSnapshot snapshot)
                                 throws DatabaseException,
                                        InvalidExampleException
Specified by:
snapshotObject in class JdbcSnapshotGenerator
Throws:
DatabaseException
InvalidExampleException

isDefaultCatalog

protected boolean isDefaultCatalog(Catalog match,
                                   Database database)

addTo

protected void addTo(DatabaseObject foundObject,
                     DatabaseSnapshot snapshot)
              throws DatabaseException,
                     InvalidExampleException
Specified by:
addTo in class JdbcSnapshotGenerator
Throws:
DatabaseException
InvalidExampleException

getDatabaseCatalogNames

protected String[] getDatabaseCatalogNames(Database database)
                                    throws SQLException,
                                           DatabaseException
Throws:
SQLException
DatabaseException


Copyright © 2016 Liquibase.org. All rights reserved.