liquibase.snapshot.jvm
Class PostgresDatabaseSnapshotGenerator
java.lang.Object
liquibase.snapshot.jvm.JdbcDatabaseSnapshotGenerator
liquibase.snapshot.jvm.PostgresDatabaseSnapshotGenerator
- All Implemented Interfaces:
- DatabaseSnapshotGenerator
public class PostgresDatabaseSnapshotGenerator
- extends JdbcDatabaseSnapshotGenerator
Methods inherited from class liquibase.snapshot.jvm.JdbcDatabaseSnapshotGenerator |
configureColumnType, convertToForeignKeyConstraintType, createSnapshot, fillForeignKeyInfo, generateForeignKey, getAdditionalForeignKeys, getColumn, getColumnTypeAndDefValue, getDatabaseChangeLogLockTable, getDatabaseChangeLogTable, getDatabaseType, getForeignKeyByForeignKeyTable, getForeignKeys, getMetaData, getTable, hasDatabaseChangeLogLockTable, hasDatabaseChangeLogTable, hasIndex, hasTable, hasView, isColumnAutoIncrement, readColumns, readForeignKeyInformation, readIndexes, readPrimaryKeys, readSequences, readTables, readViews, updateListeners |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PostgresDatabaseSnapshotGenerator
public PostgresDatabaseSnapshotGenerator()
supports
public boolean supports(Database database)
getPriority
public int getPriority(Database database)
convertTableNameToDatabaseTableName
protected String convertTableNameToDatabaseTableName(String tableName)
- Overrides:
convertTableNameToDatabaseTableName
in class JdbcDatabaseSnapshotGenerator
convertColumnNameToDatabaseTableName
protected String convertColumnNameToDatabaseTableName(String columnName)
- Overrides:
convertColumnNameToDatabaseTableName
in class JdbcDatabaseSnapshotGenerator
convertPrimaryKeyName
protected String convertPrimaryKeyName(String pkName)
throws SQLException
- Overrides:
convertPrimaryKeyName
in class JdbcDatabaseSnapshotGenerator
- Throws:
SQLException
convertFromDatabaseName
protected String convertFromDatabaseName(String objectName)
- Overrides:
convertFromDatabaseName
in class JdbcDatabaseSnapshotGenerator
readUniqueConstraints
protected void readUniqueConstraints(DatabaseSnapshot snapshot,
String schema,
DatabaseMetaData databaseMetaData)
throws DatabaseException,
SQLException
- Overrides:
readUniqueConstraints
in class JdbcDatabaseSnapshotGenerator
- Throws:
DatabaseException
SQLException
getColumnsForUniqueConstraint
protected void getColumnsForUniqueConstraint(Database database,
long conrelid,
Array keys,
UniqueConstraint constraint)
throws SQLException
- Throws:
SQLException
Copyright © 2004-2011 Liquibase.org. All Rights Reserved.