public class ColumnSnapshotGeneratorOracle extends ColumnSnapshotGenerator
COLUMN_DEF_COL
PRIORITY_ADDITIONAL, PRIORITY_DATABASE, PRIORITY_DEFAULT, PRIORITY_NONE
Constructor and Description |
---|
ColumnSnapshotGeneratorOracle() |
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 DataType |
readDataType(CachedRow columnMetadataResultSet,
Column column,
Database database)
Processes metadata of a column, e.g.
|
Class<? extends SnapshotGenerator>[] |
replaces()
Returns classes (and superclasses) that this SnapshotGenerator replaces.
|
addTo, readColumn, readDefaultValue, 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 DataType readDataType(CachedRow columnMetadataResultSet, Column column, Database database)
ColumnSnapshotGenerator
DatabaseMetaData
.getColumns() method. Depending on Database, additional columns might be present.readDataType
in class ColumnSnapshotGenerator
columnMetadataResultSet
- the result from the JDBC getColumns() call for the columncolumn
- logical definition of the column (object form)database
- the database from which the column originatesCopyright © 2023 Liquibase.org. All rights reserved.