public class JdbcDatabaseSnapshot.CachingDatabaseMetaData extends Object
Constructor and Description |
---|
CachingDatabaseMetaData(Database database,
DatabaseMetaData metaData) |
Modifier and Type | Method and Description |
---|---|
List<CachedRow> |
getColumns(String catalogName,
String schemaName,
String tableName,
String columnName)
Return the columns for the given catalog, schema, table, and column.
|
DatabaseMetaData |
getDatabaseMetaData() |
List<CachedRow> |
getForeignKeys(String catalogName,
String schemaName,
String tableName,
String fkName) |
List<CachedRow> |
getIndexInfo(String catalogName,
String schemaName,
String tableName,
String indexName) |
List<CachedRow> |
getPrimaryKeys(String catalogName,
String schemaName,
String table) |
List<CachedRow> |
getTables(String catalogName,
String schemaName,
String table) |
List<CachedRow> |
getUniqueConstraints(String catalogName,
String schemaName,
String tableName) |
List<CachedRow> |
getViews(String catalogName,
String schemaName,
String view) |
protected void |
warnAboutDbaRecycleBin() |
public CachingDatabaseMetaData(Database database, DatabaseMetaData metaData)
public DatabaseMetaData getDatabaseMetaData()
public List<CachedRow> getForeignKeys(String catalogName, String schemaName, String tableName, String fkName) throws DatabaseException
DatabaseException
public List<CachedRow> getIndexInfo(String catalogName, String schemaName, String tableName, String indexName) throws DatabaseException
DatabaseException
protected void warnAboutDbaRecycleBin()
public List<CachedRow> getColumns(String catalogName, String schemaName, String tableName, String columnName) throws SQLException, DatabaseException
SQLException
DatabaseException
public List<CachedRow> getTables(String catalogName, String schemaName, String table) throws SQLException, DatabaseException
SQLException
DatabaseException
public List<CachedRow> getViews(String catalogName, String schemaName, String view) throws SQLException, DatabaseException
SQLException
DatabaseException
public List<CachedRow> getPrimaryKeys(String catalogName, String schemaName, String table) throws SQLException, DatabaseException
SQLException
DatabaseException
public List<CachedRow> getUniqueConstraints(String catalogName, String schemaName, String tableName) throws SQLException, DatabaseException
SQLException
DatabaseException
Copyright © 2016 Liquibase.org. All rights reserved.