|
|||||||||
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 . |
Nested classes/interfaces inherited from interface org.eclipse.emf.cdo.server.IStore |
---|
IStore.CanHandleClientAssignedIDs, IStore.ChangeFormat, IStore.RevisionParallelism, IStore.RevisionTemporality |
Method Summary | |
---|---|
IDBAdapter |
getDBAdapter()
|
IDBSchema |
getDBSchema()
|
IIDHandler |
getIDHandler()
|
IMappingStrategy |
getMappingStrategy()
|
IMetaDataManager |
getMetaDataManager()
Get the meta data manager associated with this DBStore. |
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. |
Methods inherited from interface org.eclipse.net4j.db.IDBConnectionProvider |
---|
getConnection |
Method Detail |
---|
IMappingStrategy getMappingStrategy()
IIDHandler getIDHandler()
IDBAdapter getDBAdapter()
IDBSchema getDBSchema()
IMetaDataManager getMetaDataManager()
IDBStoreAccessor getReader(ISession session)
IStore
getReader
in interface IStore
session
- 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 IStore
transaction
- 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 |