public class ColumnSnapshotGeneratorH2 extends ColumnSnapshotGenerator
COLUMN_DEF_COL
PRIORITY_ADDITIONAL, PRIORITY_DATABASE, PRIORITY_DEFAULT, PRIORITY_NONE
Constructor and Description |
---|
ColumnSnapshotGeneratorH2() |
Modifier and Type | Method and Description |
---|---|
int |
getPriority(Class<? extends DatabaseObject> objectType,
Database database)
Inquire if this SnapshotGenerator is capable of snapshotting objects of type
objectType (e.g.
|
protected Object |
readDefaultValue(CachedRow columnMetadataResultSet,
Column columnInfo,
Database database) |
Class<? extends SnapshotGenerator>[] |
replaces()
Returns classes (and superclasses) that this SnapshotGenerator replaces.
|
addTo, readColumn, readDataType, setAutoIncrementDetails, snapshotObject
addStatusListener, addsTo, cleanNameFromDatabase, getDatabaseCatalogNames, shouldAddTo, snapshot, updateListeners
public int getPriority(Class<? extends DatabaseObject> objectType, Database database)
SnapshotGenerator
getPriority
in interface SnapshotGenerator
getPriority
in class JdbcSnapshotGenerator
objectType
- The object type we are asked to snapshotdatabase
- The DBMS for which the snapshotting should be donepublic Class<? extends SnapshotGenerator>[] replaces()
SnapshotGenerator
replaces
in interface SnapshotGenerator
replaces
in class JdbcSnapshotGenerator
protected Object readDefaultValue(CachedRow columnMetadataResultSet, Column columnInfo, Database database)
readDefaultValue
in class ColumnSnapshotGenerator
Copyright © 2023 Liquibase.org. All rights reserved.