liquibase.database.structure
Class PostgresDatabaseSnapshot
java.lang.Object
liquibase.database.structure.SqlDatabaseSnapshot
liquibase.database.structure.PostgresDatabaseSnapshot
- All Implemented Interfaces:
- DatabaseSnapshot
public class PostgresDatabaseSnapshot
- extends SqlDatabaseSnapshot
| Fields inherited from class liquibase.database.structure.SqlDatabaseSnapshot |
columns, columnsMap, database, databaseMetaData, foreignKeys, indexes, log, primaryKeys, sequences, tables, tablesMap, uniqueConstraints, views, viewsMap |
| Methods inherited from class liquibase.database.structure.SqlDatabaseSnapshot |
convertPrimaryKeyName, getColumn, getColumn, getColumns, getColumnTypeAndDefValue, getDatabase, getForeignKey, getForeignKeys, getIndex, getIndexes, getPrimaryKey, getPrimaryKeyForTable, getPrimaryKeys, getSchema, getSequence, getSequences, getTable, getTables, getUniqueConstraint, getUniqueConstraints, getView, getViews, hasDatabaseChangeLogTable, isPrimaryKey, readColumns, readForeignKeyInformation, readIndexes, readPrimaryKeys, readSequences, readTablesAndViews, updateListeners |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PostgresDatabaseSnapshot
public PostgresDatabaseSnapshot()
PostgresDatabaseSnapshot
public PostgresDatabaseSnapshot(Database database)
throws JDBCException
- Throws:
JDBCException
PostgresDatabaseSnapshot
public PostgresDatabaseSnapshot(Database database,
java.lang.String schema)
throws JDBCException
- Throws:
JDBCException
PostgresDatabaseSnapshot
public PostgresDatabaseSnapshot(Database database,
java.util.Set<DiffStatusListener> statusListeners)
throws JDBCException
- Throws:
JDBCException
PostgresDatabaseSnapshot
public PostgresDatabaseSnapshot(Database database,
java.util.Set<DiffStatusListener> statusListeners,
java.lang.String requestedSchema)
throws JDBCException
- Throws:
JDBCException
convertFromDatabaseName
protected java.lang.String convertFromDatabaseName(java.lang.String objectName)
- Overrides:
convertFromDatabaseName in class SqlDatabaseSnapshot
readUniqueConstraints
protected void readUniqueConstraints(java.lang.String schema)
throws JDBCException,
java.sql.SQLException
- Overrides:
readUniqueConstraints in class SqlDatabaseSnapshot
- Throws:
JDBCException
java.sql.SQLException
getColumnsForUniqueConstraint
protected void getColumnsForUniqueConstraint(int conrelid,
java.sql.Array keys,
UniqueConstraint constraint)
throws java.sql.SQLException
- Throws:
java.sql.SQLException