Package org.eclipse.emf.cdo.server.db
Schnittstelle IDBStore
- Alle Superschnittstellen:
org.eclipse.net4j.db.IDBConnectionProvider
,IStore
,IStore.CanHandleClientAssignedIDs
public interface IDBStore
extends IStore, org.eclipse.net4j.db.IDBConnectionProvider, IStore.CanHandleClientAssignedIDs
The main entry point to the API of CDO's proprietary object/relational mapper.
- Autor:
- Eike Stepper
- No Implement
- This interface is not intended to be implemented by clients.
- No Extend
- This interface is not intended to be extended by clients.
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypSchnittstelleBeschreibungstatic interface
Contains symbolic constants that specify valid keys ofDB store properties
.static interface
Called back fromvisitAllTables(Connection, TableVisitor)
for all tables in the database.Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.emf.cdo.server.IStore
IStore.CanHandleClientAssignedIDs, IStore.ChangeFormat, IStore.RevisionParallelism, IStore.RevisionTemporality
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungorg.eclipse.net4j.db.IDBDatabase
org.eclipse.net4j.db.IDBAdapter
org.eclipse.net4j.db.ddl.IDBSchema
int
int
Get the meta data manager associated with this DBStore.Returns a reader that can be used to read from this store in the context of the given session.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) Von Schnittstelle geerbte Methoden org.eclipse.net4j.db.IDBConnectionProvider
getConnection
Von Schnittstelle geerbte Methoden org.eclipse.emf.cdo.server.IStore
createObjectID, getCreationTime, getIndicatingCommitDistributor, getLastBranchID, getLastCommitTime, getLastLocalBranchID, getLastNonLocalCommitTime, getObjectIDTypes, getPersistentProperties, getRepository, getRevisionParallelism, getRevisionTemporality, getSupportedChangeFormats, getSupportedRevisionParallelisms, getSupportedRevisionTemporalities, getType, isFirstStart, removePersistentProperties, setPersistentProperties
-
Methodendetails
-
getMappingStrategy
IMappingStrategy getMappingStrategy()- Seit:
- 2.0
-
getIDHandler
IIDHandler getIDHandler()- Seit:
- 4.0
-
getDatabase
org.eclipse.net4j.db.IDBDatabase getDatabase()- Seit:
- 4.2
-
getDBAdapter
org.eclipse.net4j.db.IDBAdapter getDBAdapter() -
getDBSchema
org.eclipse.net4j.db.ddl.IDBSchema getDBSchema() -
getIDColumnLength
int getIDColumnLength()- Seit:
- 4.2
-
getJDBCFetchSize
int getJDBCFetchSize()- Seit:
- 4.4
-
getProperties
- Seit:
- 4.2
-
visitAllTables
- Seit:
- 4.2
-
getMetaDataManager
IMetaDataManager getMetaDataManager()Get the meta data manager associated with this DBStore.- Seit:
- 2.0
-
getReader
Beschreibung aus Schnittstelle kopiert:IStore
Returns a reader that can be used to read from this store in the context of the given session.- Angegeben von:
getReader
in SchnittstelleIStore
- Parameter:
session
- The session that should be used as a context for read access ornull
. 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 aLifecycleEventAdapter
with it to intercept cleanup on session close. Note however that the session can benull
, for example during startup of the server while the repositories are initialized but before any user session has been opened.- Gibt zurück:
- a reader that can be used to read from this store in the context of the given session, never
null
. - Seit:
- 2.0
-
getWriter
Beschreibung aus Schnittstelle kopiert:IStore
Returns a writer that can be used to write to this store in the context of the given view. The given view is always marked as a transaction.- Angegeben von:
getWriter
in SchnittstelleIStore
- Parameter:
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 aLifecycleEventAdapter
with it to intercept cleanup on view close.- Gibt zurück:
- a writer that can be used to write to this store in the context of the given view, never
null
. - Seit:
- 2.0
-