liquibase.snapshot
Class DatabaseSnapshot
java.lang.Object
liquibase.snapshot.DatabaseSnapshot
public class DatabaseSnapshot
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DatabaseSnapshot
public DatabaseSnapshot(Database database,
String requestedSchema)
getDatabase
public Database getDatabase()
getTables
public Set<Table> getTables()
getViews
public Set<View> getViews()
getForeignKeys
public Set<ForeignKey> getForeignKeys()
getIndexes
public Set<Index> getIndexes()
getPrimaryKeys
public Set<PrimaryKey> getPrimaryKeys()
getSequences
public Set<Sequence> getSequences()
getUniqueConstraints
public Set<UniqueConstraint> getUniqueConstraints()
getTable
public Table getTable(String tableName)
getForeignKey
public ForeignKey getForeignKey(String foreignKeyName)
getSequence
public Sequence getSequence(String sequenceName)
getIndex
public Index getIndex(String indexName)
getView
public View getView(String viewName)
getPrimaryKey
public PrimaryKey getPrimaryKey(String pkName)
getPrimaryKeyForTable
public PrimaryKey getPrimaryKeyForTable(String tableName)
getUniqueConstraint
public UniqueConstraint getUniqueConstraint(String ucName)
getSchema
public String getSchema()
isPrimaryKey
public boolean isPrimaryKey(Column columnInfo)
getColumns
public Collection<Column> getColumns()
getColumn
public Column getColumn(String tableName,
String columnName)
hasDatabaseChangeLogTable
public boolean hasDatabaseChangeLogTable()
getDatabaseChangeLogTable
public Table getDatabaseChangeLogTable()
setDatabaseChangeLogTable
public void setDatabaseChangeLogTable(Table table)
getDatabaseChangeLogLockTable
public Table getDatabaseChangeLogLockTable()
setDatabaseChangeLogLockTable
public void setDatabaseChangeLogLockTable(Table table)
Copyright © 2004-2011 Liquibase.org. All Rights Reserved.