liquibase.snapshot.jvm
Class SequenceSnapshotGenerator

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

public class SequenceSnapshotGenerator
extends JdbcSnapshotGenerator


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

Constructor Detail

SequenceSnapshotGenerator

public SequenceSnapshotGenerator()
Method Detail

addTo

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

snapshotObject

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

getSelectSequenceSql

protected String getSelectSequenceSql(Schema schema,
                                      Database database)


Copyright © 2013 Liquibase.org. All Rights Reserved.