liquibase.snapshot.jvm
Class ColumnSnapshotGenerator
java.lang.Object
liquibase.snapshot.jvm.JdbcSnapshotGenerator
liquibase.snapshot.jvm.ColumnSnapshotGenerator
- All Implemented Interfaces:
- SnapshotGenerator
- Direct Known Subclasses:
- H2ColumnSnapshotGenerator
public class ColumnSnapshotGenerator
- extends JdbcSnapshotGenerator
Method Summary |
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 void |
setAutoIncrementDetails(Column column,
Database database,
DatabaseSnapshot snapshot)
|
protected DatabaseObject |
snapshotObject(DatabaseObject example,
DatabaseSnapshot snapshot)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ColumnSnapshotGenerator
public ColumnSnapshotGenerator()
snapshotObject
protected DatabaseObject snapshotObject(DatabaseObject example,
DatabaseSnapshot snapshot)
throws DatabaseException,
InvalidExampleException
- Specified by:
snapshotObject
in class JdbcSnapshotGenerator
- Throws:
DatabaseException
InvalidExampleException
addTo
protected void addTo(DatabaseObject foundObject,
DatabaseSnapshot snapshot)
throws DatabaseException,
InvalidExampleException
- Specified by:
addTo
in class JdbcSnapshotGenerator
- Throws:
DatabaseException
InvalidExampleException
setAutoIncrementDetails
protected void setAutoIncrementDetails(Column column,
Database database,
DatabaseSnapshot snapshot)
readColumn
protected Column readColumn(CachedRow columnMetadataResultSet,
Relation table,
Database database)
throws SQLException,
DatabaseException
- Throws:
SQLException
DatabaseException
readDataType
protected DataType readDataType(CachedRow columnMetadataResultSet,
Column column,
Database database)
throws SQLException
- Throws:
SQLException
readDefaultValue
protected Object readDefaultValue(CachedRow columnMetadataResultSet,
Column columnInfo,
Database database)
throws SQLException,
DatabaseException
- Throws:
SQLException
DatabaseException
Copyright © 2016 Liquibase.org. All rights reserved.