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 java.lang.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 java.sql.SQLException, DatabaseException
java.sql.SQLException
DatabaseException
protected DataType readDataType(CachedRow columnMetadataResultSet, Column column, Database database) throws java.sql.SQLException
java.sql.SQLException
protected java.lang.Object readDefaultValue(CachedRow columnMetadataResultSet, Column columnInfo, Database database) throws java.sql.SQLException, DatabaseException
java.sql.SQLException
DatabaseException