liquibase.snapshot.jvm
Class SchemaSnapshotGenerator

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

public class SchemaSnapshotGenerator
extends JdbcSnapshotGenerator


Field Summary
 
Fields inherited from interface liquibase.snapshot.SnapshotGenerator
PRIORITY_ADDITIONAL, PRIORITY_DATABASE, PRIORITY_DEFAULT, PRIORITY_NONE
 
Constructor Summary
SchemaSnapshotGenerator()
           
 
Method Summary
protected  void addTo(DatabaseObject foundObject, DatabaseSnapshot snapshot)
           
protected  String[] getDatabaseSchemaNames(Database database)
           
protected  DatabaseObject snapshotObject(DatabaseObject example, DatabaseSnapshot snapshot)
           
protected  CatalogAndSchema toCatalogAndSchema(String tableSchema, Database database)
           
 
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

SchemaSnapshotGenerator

public SchemaSnapshotGenerator()
Method Detail

snapshotObject

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

toCatalogAndSchema

protected CatalogAndSchema toCatalogAndSchema(String tableSchema,
                                              Database database)

addTo

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

getDatabaseSchemaNames

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


Copyright © 2016 Liquibase.org. All rights reserved.