Top Constructors Methods
liquibase.snapshot.jvm

public Class SchemaSnapshotGenerator

extends JdbcSnapshotGenerator
Class Inheritance
Known Direct Subclasses
liquibase.snapshot.jvm.SchemaSnapshotGeneratorSnowflake
Imports
liquibase.CatalogAndSchema, liquibase.database.AbstractJdbcDatabase, .Database, .ObjectQuotingStrategy, liquibase.database.jvm.JdbcConnection, liquibase.diff.compare.DatabaseObjectComparatorFactory, liquibase.exception.DatabaseException, liquibase.snapshot.DatabaseSnapshot, .InvalidExampleException, liquibase.structure.DatabaseObject, liquibase.structure.core.Catalog, .Schema, liquibase.util.JdbcUtil, java.sql.ResultSet, .SQLException, java.util.ArrayList, .List

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected void
protected String[]

Returns:

An array of schema name Strings (May be an empty array)
getDatabaseSchemaNames
(Database
The database from which to get the schema names
database
)

Fetches an array of Strings with the schema names in the database.

protected DatabaseObject
protected CatalogAndSchema
toCatalogAndSchema(String tableSchema, Database database)

Inherited from liquibase.snapshot.jvm.JdbcSnapshotGenerator:
addStatusListeneraddsTocleanNameFromDatabasegetDatabaseCatalogNamesgetPriorityreplacesshouldAddTosnapshotupdateListeners

Constructor Detail

SchemaSnapshotGeneratorback to summary
public SchemaSnapshotGenerator()

Method Detail

addToback to summary
protected void addTo(DatabaseObject foundObject, DatabaseSnapshot snapshot) throws DatabaseException, InvalidExampleException

Implements abstract liquibase.snapshot.jvm.JdbcSnapshotGenerator.addTo.

Annotations
@Override
getDatabaseSchemaNamesback to summary
protected String[] getDatabaseSchemaNames(Database database) throws SQLException, DatabaseException

Fetches an array of Strings with the schema names in the database.

Parameters
database:Database

The database from which to get the schema names

Returns:String[]

An array of schema name Strings (May be an empty array)

Exceptions
SQLException:
propagated java.sql.SQLException
DatabaseException:
if a different problem occurs during the DBMS-specific code
snapshotObjectback to summary
protected DatabaseObject snapshotObject(DatabaseObject example, DatabaseSnapshot snapshot) throws DatabaseException, InvalidExampleException

Implements abstract liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshotObject.

Annotations
@Override
toCatalogAndSchemaback to summary
protected CatalogAndSchema toCatalogAndSchema(String tableSchema, Database database)