|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface is for database vendors to provide database-specific features and algorithms. It's not intended to be implemented directly. Instead, vendors should extend DefaultDBFactory. On one hand, vendors are free to concentrate only on the APIs that they are interested in; on the other hand, subclasses of DefaultDBFactory is unlikely to be broken in the future.
Clients should extend DefaultDBFactory rather than implement this interface directly.
| Method Summary | |
java.lang.Runnable |
createExecuteParallelRunnable(java.lang.String sql,
DatabaseIdentifier databaseIdentifier)
The returned thread will be started together with the SQL execution logic. |
IConnectionService |
getConnectionService()
Returns the connection service associated with this database definition |
IDatabaseConfiguration |
getDatabaseConfiguration(DatabaseIdentifier databaseIdentifier)
Return an IDatabaseConfiguration object which can be used to query database configurations such as "case sensitive". |
DatabaseVendorDefinitionId |
getDatabaseVendorDefinitionId()
Returns the associated DatabaseVendorDefinitionId object. |
IDBHelper |
getDBHelper()
Return a database-specific utility class. |
IPlanService |
getPlanService()
Returns the query execution plan service associated with this database definition |
ISQLDataService |
getSQLDataService()
Returns the SQL data service associated with this database definition |
ISQLEditorService |
getSQLEditorService()
Returns the SQL Editor service associated with this database definition |
ISQLService |
getSQLService()
Returns the SQL service associated with this database definition |
void |
setDatabaseVendorDefinitionId(DatabaseVendorDefinitionId dbdefinition)
Associcates this factory with a particular DatabaseVendorDefinitionId. |
| Method Detail |
public DatabaseVendorDefinitionId getDatabaseVendorDefinitionId()
DatabaseVendorDefinitionId object. A IDBFactory is attached to
a certain DatabaseVendorDefinitionId. DatabaseVendorDefinitionId specifies the
database specific capabilities, while a IDBFactory encapsulates database specific algorithms.
DatabaseDefinition object.public void setDatabaseVendorDefinitionId(DatabaseVendorDefinitionId dbdefinition)
DatabaseVendorDefinitionId.
This method should only be called once by the DatabaseFactoryRegistry.
dbdefinition - the associated DatabaseDefinition object.public IConnectionService getConnectionService()
public ISQLService getSQLService()
public IPlanService getPlanService()
public ISQLEditorService getSQLEditorService()
public ISQLDataService getSQLDataService()
public IDatabaseConfiguration getDatabaseConfiguration(DatabaseIdentifier databaseIdentifier)
databaseIdentifier - uniquely identifies a databasepublic IDBHelper getDBHelper()
public java.lang.Runnable createExecuteParallelRunnable(java.lang.String sql,
DatabaseIdentifier databaseIdentifier)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||