public class SchemaSnapshotGeneratorSnowflake extends SchemaSnapshotGenerator
PRIORITY_ADDITIONAL, PRIORITY_DATABASE, PRIORITY_DEFAULT, PRIORITY_NONE
Constructor and Description |
---|
SchemaSnapshotGeneratorSnowflake() |
Modifier and Type | Method and Description |
---|---|
protected String[] |
getDatabaseSchemaNames(Database database)
Fetches an array of Strings with the schema names in the database.
|
int |
getPriority(Class<? extends DatabaseObject> objectType,
Database database)
Inquire if this SnapshotGenerator is capable of snapshotting objects of type
objectType (e.g.
|
addTo, snapshotObject, toCatalogAndSchema
addStatusListener, addsTo, cleanNameFromDatabase, getDatabaseCatalogNames, replaces, 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 doneprotected String[] getDatabaseSchemaNames(Database database) throws SQLException, DatabaseException
SchemaSnapshotGenerator
getDatabaseSchemaNames
in class SchemaSnapshotGenerator
database
- The database from which to get the schema namesSQLException
- propagated java.sql.SQLExceptionDatabaseException
- if a different problem occurs during the DBMS-specific codeCopyright © 2023 Liquibase.org. All rights reserved.