Package net.anwiba.commons.jdbc.database
Interface IDatabaseFacade
-
- All Known Subinterfaces:
IRegistrableDatabaseFacade
- All Known Implementing Classes:
DatabaseFacade
public interface IDatabaseFacade
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.sql.ResultSetgetConstraintMetadata(java.sql.Connection connection, IDatabaseConstraintName schema)java.util.List<IDatabaseConstraintName>getConstraints(java.sql.Connection connection, IDatabaseTableName tableName)java.sql.ResultSetgetIndexMetadata(java.sql.Connection connection, IDatabaseIndexName schema)java.util.List<IDatabaseIndexName>getIndicies(java.sql.Connection connection, IDatabaseTableName tableName)java.util.List<java.lang.String>getSchemaNames(java.sql.Connection connection, java.lang.String catalog)java.sql.ResultSetgetSequenceMetadata(java.sql.Connection connection, IDatabaseSequenceName schema)java.util.List<IDatabaseSequenceName>getSequences(java.sql.Connection connection, java.lang.String schema)java.lang.Iterable<INamedTableFilter>getTableFilters()java.sql.ResultSetgetTableMetadata(java.sql.Connection connection, IDatabaseTableName schema)java.util.List<IDatabaseTableName>getTables(java.sql.Connection connection, java.lang.String schema)java.lang.StringgetTableStatement(java.sql.Connection connection, IDatabaseTableName tableName)java.sql.ResultSetgetTriggerMetadata(java.sql.Connection connection, IDatabaseTriggerName schema)java.util.List<IDatabaseTriggerName>getTriggers(java.sql.Connection connection, IDatabaseTableName tableName)java.lang.StringgetTriggerStatement(java.sql.Connection connection, IDatabaseTriggerName schema)booleanisTable(IDatabaseTableName table)booleansupportsConstaints()booleansupportsIndicies()booleansupportsSequences()booleansupportsTables()booleansupportsTableStatement()booleansupportsTrigger()
-
-
-
Method Detail
-
getSchemaNames
java.util.List<java.lang.String> getSchemaNames(java.sql.Connection connection, java.lang.String catalog) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
supportsTables
boolean supportsTables()
-
getTables
java.util.List<IDatabaseTableName> getTables(java.sql.Connection connection, java.lang.String schema) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
getTableMetadata
java.sql.ResultSet getTableMetadata(java.sql.Connection connection, IDatabaseTableName schema) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
isTable
boolean isTable(IDatabaseTableName table)
-
getTableFilters
java.lang.Iterable<INamedTableFilter> getTableFilters()
-
supportsSequences
boolean supportsSequences()
-
getTableStatement
java.lang.String getTableStatement(java.sql.Connection connection, IDatabaseTableName tableName) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
supportsTableStatement
boolean supportsTableStatement()
-
getSequences
java.util.List<IDatabaseSequenceName> getSequences(java.sql.Connection connection, java.lang.String schema) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
getSequenceMetadata
java.sql.ResultSet getSequenceMetadata(java.sql.Connection connection, IDatabaseSequenceName schema) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
supportsTrigger
boolean supportsTrigger()
-
getTriggers
java.util.List<IDatabaseTriggerName> getTriggers(java.sql.Connection connection, IDatabaseTableName tableName) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
getTriggerMetadata
java.sql.ResultSet getTriggerMetadata(java.sql.Connection connection, IDatabaseTriggerName schema) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getTriggerStatement
java.lang.String getTriggerStatement(java.sql.Connection connection, IDatabaseTriggerName schema) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
supportsIndicies
boolean supportsIndicies()
-
getIndicies
java.util.List<IDatabaseIndexName> getIndicies(java.sql.Connection connection, IDatabaseTableName tableName) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
getIndexMetadata
java.sql.ResultSet getIndexMetadata(java.sql.Connection connection, IDatabaseIndexName schema) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
supportsConstaints
boolean supportsConstaints()
-
getConstraints
java.util.List<IDatabaseConstraintName> getConstraints(java.sql.Connection connection, IDatabaseTableName tableName) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
getConstraintMetadata
java.sql.ResultSet getConstraintMetadata(java.sql.Connection connection, IDatabaseConstraintName schema) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
-