public class ColumnSnapshotGenerator extends JdbcSnapshotGenerator
PRIORITY_ADDITIONAL, PRIORITY_DATABASE, PRIORITY_DEFAULT, PRIORITY_NONE
Constructor and Description |
---|
ColumnSnapshotGenerator() |
Modifier and Type | Method and Description |
---|---|
protected void |
addTo(DatabaseObject foundObject,
DatabaseSnapshot snapshot) |
protected Column |
readColumn(CachedRow columnMetadataResultSet,
Relation table,
Database database) |
protected DataType |
readDataType(CachedRow columnMetadataResultSet,
Column column,
Database database) |
protected Object |
readDefaultValue(CachedRow columnMetadataResultSet,
Column columnInfo,
Database database) |
protected DatabaseObject |
snapshotObject(DatabaseObject example,
DatabaseSnapshot snapshot) |
addStatusListener, addsTo, cleanNameFromDatabase, getPriority, replaces, shouldAddTo, snapshot, updateListeners
protected DatabaseObject snapshotObject(DatabaseObject example, DatabaseSnapshot snapshot) throws DatabaseException, InvalidExampleException
snapshotObject
in class JdbcSnapshotGenerator
DatabaseException
InvalidExampleException
protected void addTo(DatabaseObject foundObject, DatabaseSnapshot snapshot) throws DatabaseException, InvalidExampleException
addTo
in class JdbcSnapshotGenerator
DatabaseException
InvalidExampleException
protected Column readColumn(CachedRow columnMetadataResultSet, Relation table, Database database) throws SQLException, DatabaseException
SQLException
DatabaseException
protected DataType readDataType(CachedRow columnMetadataResultSet, Column column, Database database) throws SQLException
SQLException
protected Object readDefaultValue(CachedRow columnMetadataResultSet, Column columnInfo, Database database) throws SQLException, DatabaseException
SQLException
DatabaseException
Copyright © 2014 Liquibase.org. All rights reserved.