Package org.eclipse.emf.cdo.server.db
Interface IDBStore
- 
- All Superinterfaces:
- 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.- Author:
- 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.
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static interfaceIDBStore.PropsContains symbolic constants that specify valid keys ofDB store properties.static interfaceIDBStore.TableVisitorCalled back fromvisitAllTables(Connection, TableVisitor)for all tables in the database.- 
Nested classes/interfaces inherited from interface org.eclipse.emf.cdo.server.IStoreIStore.CanHandleClientAssignedIDs, IStore.ChangeFormat, IStore.RevisionParallelism, IStore.RevisionTemporality
 
- 
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.net4j.db.IDBDatabasegetDatabase()org.eclipse.net4j.db.IDBAdaptergetDBAdapter()org.eclipse.net4j.db.ddl.IDBSchemagetDBSchema()intgetIDColumnLength()IIDHandlergetIDHandler()intgetJDBCFetchSize()IMappingStrategygetMappingStrategy()IMetaDataManagergetMetaDataManager()Get the meta data manager associated with this DBStore.java.util.Map<java.lang.String,java.lang.String>getProperties()IDBStoreAccessorgetReader(ISession session)Returns a reader that can be used to read from this store in the context of the given session.IDBStoreAccessorgetWriter(ITransaction transaction)Returns a writer that can be used to write to this store in the context of the given view.voidvisitAllTables(java.sql.Connection connection, IDBStore.TableVisitor visitor)- 
Methods inherited from interface org.eclipse.emf.cdo.server.IStorecreateObjectID, getCreationTime, getIndicatingCommitDistributor, getLastBranchID, getLastCommitTime, getLastLocalBranchID, getLastNonLocalCommitTime, getObjectIDTypes, getPersistentProperties, getRepository, getRevisionParallelism, getRevisionTemporality, getSupportedChangeFormats, getSupportedRevisionParallelisms, getSupportedRevisionTemporalities, getType, isFirstStart, removePersistentProperties, setPersistentProperties
 
- 
 
- 
- 
- 
Method Detail- 
getMappingStrategyIMappingStrategy getMappingStrategy() - Since:
- 2.0
 
 - 
getIDHandlerIIDHandler getIDHandler() - Since:
- 4.0
 
 - 
getDatabaseorg.eclipse.net4j.db.IDBDatabase getDatabase() - Since:
- 4.2
 
 - 
getDBAdapterorg.eclipse.net4j.db.IDBAdapter getDBAdapter() 
 - 
getDBSchemaorg.eclipse.net4j.db.ddl.IDBSchema getDBSchema() 
 - 
getIDColumnLengthint getIDColumnLength() - Since:
- 4.2
 
 - 
getJDBCFetchSizeint getJDBCFetchSize() - Since:
- 4.4
 
 - 
getPropertiesjava.util.Map<java.lang.String,java.lang.String> getProperties() - Since:
- 4.2
 
 - 
visitAllTablesvoid visitAllTables(java.sql.Connection connection, IDBStore.TableVisitor visitor)- Since:
- 4.2
 
 - 
getMetaDataManagerIMetaDataManager getMetaDataManager() Get the meta data manager associated with this DBStore.- Since:
- 2.0
 
 - 
getReaderIDBStoreAccessor getReader(ISession session) Description copied from interface:IStoreReturns a reader that can be used to read from this store in the context of the given session.- Specified by:
- getReaderin interface- IStore
- Parameters:
- 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- LifecycleEventAdapterwith 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.
- Returns:
- a reader that can be used to read from this store in the context of the given session, never
         null.
- Since:
- 2.0
 
 - 
getWriterIDBStoreAccessor getWriter(ITransaction transaction) Description copied from interface:IStoreReturns 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.- Specified by:
- getWriterin interface- IStore
- Parameters:
- 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- LifecycleEventAdapterwith it to intercept cleanup on view close.
- Returns:
- a writer that can be used to write to this store in the context of the given view, never null.
- Since:
- 2.0
 
 
- 
 
-