|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Database
Database Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves. This interface is not intended to be implemented by clients.
| Method Summary | ||
|---|---|---|
java.util.Iterator<Catalog> |
catalogs()
Return the database's catalogs. |
|
int |
catalogsSize()
Return the number of catalogs the database contains. |
|
java.lang.String |
convertNameToIdentifier(java.lang.String name)
Convert the specified name to a database-appropriate SQL identifier. |
|
Catalog |
getCatalogForIdentifier(java.lang.String identifier)
Return the catalog for the specified identifier. |
|
Catalog |
getCatalogNamed(java.lang.String name)
Return the catalog with specified name. |
|
Catalog |
getDefaultCatalog()
Return the database's "default" catalog. |
|
java.lang.String |
getVendorName()
Return the name of the database's vendor. |
|
java.lang.String |
getVersion()
Return the database's version. |
|
|
selectDatabaseObjectForIdentifier(T[] databaseObjects,
java.lang.String identifier)
Select and return from the specified list of database objects the database object identified by the specified identifier. |
|
java.util.Iterator<java.lang.String> |
sortedCatalogIdentifiers()
Return the database's catalog identifiers, sorted by name. |
|
boolean |
supportsCatalogs()
Return whether the database supports catalogs. |
|
| Methods inherited from interface org.eclipse.jpt.db.SchemaContainer |
|---|
getDefaultSchema, getSchemaForIdentifier, getSchemaNamed, schemata, schemataSize, sortedSchemaIdentifiers |
| Methods inherited from interface org.eclipse.jpt.db.DatabaseObject |
|---|
getConnectionProfile, getDatabase, getIdentifier, getIdentifier, getName |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Method Detail |
|---|
java.lang.String getVendorName()
java.lang.String getVersion()
boolean supportsCatalogs()
java.util.Iterator<Catalog> catalogs()
supportsCatalogs()int catalogsSize()
supportsCatalogs()Catalog getCatalogNamed(java.lang.String name)
supportsCatalogs(),
getCatalogForIdentifier(String)java.util.Iterator<java.lang.String> sortedCatalogIdentifiers()
Catalog getCatalogForIdentifier(java.lang.String identifier)
supportsCatalogs(),
getCatalogNamed(String)Catalog getDefaultCatalog()
supportsCatalogs()
<T extends DatabaseObject> T selectDatabaseObjectForIdentifier(T[] databaseObjects,
java.lang.String identifier)
java.lang.String convertNameToIdentifier(java.lang.String name)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||