- All Known Subinterfaces:
IRegisterableDatabaseFacade
- All Known Implementing Classes:
DatabaseFacade
public interface IDatabaseFacade
-
Method Summary
Modifier and TypeMethodDescriptiongetCapabilities(ICanceler canceler, Connection connection) getClientProperties(ICanceler canceler, Connection connection) getColumnPrivileges(Connection connection, IDatabaseTableName name, String column) getConstraintMetadata(ICanceler canceler, Connection connection, IDatabaseTableName table, IDatabaseConstraintName name) getConstraints(ICanceler canceler, Connection connection, IDatabaseTableName name) getDatabaseProperties(ICanceler canceler, Connection connection) getDataTypes(ICanceler canceler, Connection connection) getIndexMetadata(ICanceler canceler, Connection connection, IDatabaseIndexName name) getIndicies(ICanceler canceler, Connection connection, IDatabaseTableName name) getMetaData(Connection connection) getSchemaNames(ICanceler canceler, Connection connection, String catalogName) getSequenceMetadata(ICanceler canceler, Connection connection, IDatabaseSequenceName name) getSequences(ICanceler canceler, Connection connection, IDatabaseSchemaName name) getTableColumnMetadata(ICanceler canceler, Connection connection, IDatabaseColumnName name) getTableColumns(ICanceler canceler, Connection connection, IDatabaseTableName name) getTableMetadata(ICanceler canceler, Connection connection, IDatabaseTableName name) getTablePrivileges(Connection connection, IDatabaseTableName tableName) getTables(ICanceler canceler, Connection connection, IDatabaseSchemaName name) getTableStatement(ICanceler canceler, Connection connection, IDatabaseTableName name) default TimeZonegetTimeZone(ICanceler canceler, Connection connection) getTriggerMetadata(ICanceler canceler, Connection connection, IDatabaseTriggerName name) getTriggers(ICanceler canceler, Connection connection, IDatabaseTableName name) getTriggerStatement(ICanceler canceler, Connection connection, IDatabaseTriggerName name) getViewColumns(ICanceler canceler, Connection connection, IDatabaseViewName name) getViews(ICanceler canceler, Connection connection, IDatabaseSchemaName name) default booleanbooleanisTable(IDatabaseTableName table) booleanisView(IDatabaseTableName name) quoted(IDatabaseTableName name) booleanbooleanbooleanboolean
-
Method Details
-
getSchemaNames
List<IDatabaseSchemaName> getSchemaNames(ICanceler canceler, Connection connection, String catalogName) throws SQLException, CanceledException - Throws:
SQLExceptionCanceledException
-
isInformationSchema
-
getTables
List<IDatabaseTableName> getTables(ICanceler canceler, Connection connection, IDatabaseSchemaName name) throws SQLException, CanceledException - Throws:
SQLExceptionCanceledException
-
getTableMetadata
ResultSet getTableMetadata(ICanceler canceler, Connection connection, IDatabaseTableName name) throws SQLException, CanceledException - Throws:
SQLExceptionCanceledException
-
isTable
-
getTableFilters
Iterable<INamedTableFilter> getTableFilters() -
supportsTableStatement
boolean supportsTableStatement() -
getTableStatement
String getTableStatement(ICanceler canceler, Connection connection, IDatabaseTableName name) throws SQLException, CanceledException - Throws:
SQLExceptionCanceledException
-
getTableColumns
List<IDatabaseColumnName> getTableColumns(ICanceler canceler, Connection connection, IDatabaseTableName name) throws SQLException, CanceledException - Throws:
SQLExceptionCanceledException
-
getTableColumnMetadata
ResultSet getTableColumnMetadata(ICanceler canceler, Connection connection, IDatabaseColumnName name) throws SQLException, CanceledException - Throws:
SQLExceptionCanceledException
-
getViews
List<IDatabaseViewName> getViews(ICanceler canceler, Connection connection, IDatabaseSchemaName name) throws SQLException, CanceledException - Throws:
SQLExceptionCanceledException
-
isView
-
getViewColumns
List<IDatabaseColumnName> getViewColumns(ICanceler canceler, Connection connection, IDatabaseViewName name) throws SQLException, CanceledException - Throws:
SQLExceptionCanceledException
-
supportsSequences
boolean supportsSequences() -
getSequences
List<IDatabaseSequenceName> getSequences(ICanceler canceler, Connection connection, IDatabaseSchemaName name) throws SQLException, CanceledException - Throws:
SQLExceptionCanceledException
-
getSequenceMetadata
ResultSet getSequenceMetadata(ICanceler canceler, Connection connection, IDatabaseSequenceName name) throws SQLException, CanceledException - Throws:
SQLExceptionCanceledException
-
supportsTrigger
boolean supportsTrigger() -
getTriggers
List<IDatabaseTriggerName> getTriggers(ICanceler canceler, Connection connection, IDatabaseTableName name) throws SQLException, CanceledException - Throws:
SQLExceptionCanceledException
-
getTriggerMetadata
ResultSet getTriggerMetadata(ICanceler canceler, Connection connection, IDatabaseTriggerName name) throws SQLException, CanceledException - Throws:
SQLExceptionCanceledException
-
getTriggerStatement
String getTriggerStatement(ICanceler canceler, Connection connection, IDatabaseTriggerName name) throws SQLException, CanceledException - Throws:
SQLExceptionCanceledException
-
getIndicies
List<IDatabaseIndexName> getIndicies(ICanceler canceler, Connection connection, IDatabaseTableName name) throws SQLException, CanceledException - Throws:
SQLExceptionCanceledException
-
getIndexMetadata
ResultSet getIndexMetadata(ICanceler canceler, Connection connection, IDatabaseIndexName name) throws SQLException, CanceledException - Throws:
SQLExceptionCanceledException
-
supportsConstaints
boolean supportsConstaints() -
getConstraints
List<IDatabaseConstraintName> getConstraints(ICanceler canceler, Connection connection, IDatabaseTableName name) throws SQLException, CanceledException - Throws:
SQLExceptionCanceledException
-
getConstraintMetadata
ResultSet getConstraintMetadata(ICanceler canceler, Connection connection, IDatabaseTableName table, IDatabaseConstraintName name) throws SQLException, CanceledException - Throws:
SQLExceptionCanceledException
-
quoted
-
quoted
-
getTimeZone
- Throws:
SQLException
-
getClientProperties
List<Property> getClientProperties(ICanceler canceler, Connection connection) throws CanceledException, SQLException - Throws:
CanceledExceptionSQLException
-
getDatabaseProperties
List<Property> getDatabaseProperties(ICanceler canceler, Connection connection) throws CanceledException, SQLException - Throws:
CanceledExceptionSQLException
-
getCapabilities
List<Property> getCapabilities(ICanceler canceler, Connection connection) throws CanceledException, SQLException - Throws:
CanceledExceptionSQLException
-
getDataTypes
ResultSet getDataTypes(ICanceler canceler, Connection connection) throws CanceledException, SQLException - Throws:
CanceledExceptionSQLException
-
getMetaData
- Throws:
SQLException
-
getColumnPrivileges
ResultSet getColumnPrivileges(Connection connection, IDatabaseTableName name, String column) throws SQLException - Throws:
SQLException
-
getTablePrivileges
ResultSet getTablePrivileges(Connection connection, IDatabaseTableName tableName) throws SQLException - Throws:
SQLException
-