|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||

The main entry point to the API of CDO's proprietary object/relational mapper.
| Nested Class Summary | |
|---|---|
static interface |
IDBStore.Props
Contains symbolic constants that specifiy valid keys of DB store properties. |
static interface |
IDBStore.TableVisitor
Called back from visitAllTables(Connection, TableVisitor) for all tables in the database. |
| Nested classes/interfaces inherited from interface org.eclipse.emf.cdo.server.IStore |
|---|
IStore.CanHandleClientAssignedIDs, IStore.ChangeFormat, IStore.RevisionParallelism, IStore.RevisionTemporality |
| Method Summary | |
|---|---|
IDBDatabase |
getDatabase()
|
IDBAdapter |
getDBAdapter()
|
IDBSchema |
getDBSchema()
|
int |
getIDColumnLength()
|
IIDHandler |
getIDHandler()
|
IMappingStrategy |
getMappingStrategy()
|
IMetaDataManager |
getMetaDataManager()
Get the meta data manager associated with this DBStore. |
Map<String,String> |
getProperties()
|
IDBStoreAccessor |
getReader(ISession session)
Returns a reader that can be used to read from this store in the context of the given session. |
IDBStoreAccessor |
getWriter(ITransaction transaction)
Returns a writer that can be used to write to this store in the context of the given view. |
void |
visitAllTables(Connection connection,
IDBStore.TableVisitor visitor)
|
| Methods inherited from interface org.eclipse.net4j.db.IDBConnectionProvider |
|---|
getConnection |
| Method Detail |
|---|
IMappingStrategy getMappingStrategy()
IIDHandler getIDHandler()
IDBDatabase getDatabase()
IDBAdapter getDBAdapter()
IDBSchema getDBSchema()
int getIDColumnLength()
Map<String,String> getProperties()
void visitAllTables(Connection connection,
IDBStore.TableVisitor visitor)
IMetaDataManager getMetaDataManager()
IDBStoreAccessor getReader(ISession session)
IStore
getReader in interface IStoresession - The session that should be used as a context for read access or null. The store implementor
is free to interpret and use the session in a manner suitable for him or ignore it at all. It is meant
only as a hint. Implementor can use it as a key into a cache and/or register a
LifecycleEventAdapter with it to intercept
cleanup on session close. Note however that the session can be null, for example during
startup of the server while the repositories are initialized but before any user session has been opened.
null.IDBStoreAccessor getWriter(ITransaction transaction)
IStore
getWriter in interface IStoretransaction - The view that must be used as a context for write access. The store implementor is free to interpret and
use the view in a manner suitable for him or ignore it at all. It is meant only as a hint. Implementor can
use it as a key into a cache and/or register a
LifecycleEventAdapter with it to intercept
cleanup on view close.
null.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||