## Uses of Interface
org.eclipse.emf.cdo.server.db.IDBStoreAccessor

- Packages that use IDBStoreAccessor
  Package | Description
  --- | ---
  org.eclipse.emf.cdo.server.db | Server concepts for dealing with DB stores and accessors.
  org.eclipse.emf.cdo.server.db.mapping | Server concepts for dealing with mapping strategies and mappings for classes, lists and types.

- - ### Uses of IDBStoreAccessor in org.eclipse.emf.cdo.server.db

    Methods in org.eclipse.emf.cdo.server.db that return IDBStoreAccessor
    Modifier and Type | Method | Description
    --- | --- | ---
    `IDBStoreAccessor` | IDBStoreChunkReader.`getAccessor()` |
    `IDBStoreAccessor` | IDBStore.`getReader​(ISession session)` |
    `IDBStoreAccessor` | IDBStore.`getWriter​(ITransaction transaction)` |

    Methods in org.eclipse.emf.cdo.server.db with parameters of type IDBStoreAccessor
    Modifier and Type | Method | Description
    --- | --- | ---
    `CDOID` | IIDHandler.`mapURI​(IDBStoreAccessor accessor, java.lang.String uri, long commitTime)` |
    `java.lang.String` | IIDHandler.`unmapURI​(IDBStoreAccessor accessor, CDOID id)` |

  - ### Uses of IDBStoreAccessor in org.eclipse.emf.cdo.server.db.mapping

    Methods in org.eclipse.emf.cdo.server.db.mapping with parameters of type IDBStoreAccessor
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | IListMapping2.`addRangedChunkWhere​(IDBStoreAccessor accessor, CDOID cdoid, java.lang.StringBuilder builder, int fromIndex, int toIndex)` |
    `void` | IListMapping2.`addSimpleChunkWhere​(IDBStoreAccessor accessor, CDOID cdoid, java.lang.StringBuilder builder, int index)` |
    `java.sql.PreparedStatement` | IClassMapping.`createObjectIDStatement​(IDBStoreAccessor accessor)` | Create a prepared statement which returns all IDs of instances of the corresponding class.
    `java.sql.PreparedStatement` | IClassMapping.`createResourceQueryStatement​(IDBStoreAccessor accessor, CDOID folderId, java.lang.String name, boolean exactMatch, CDOBranchPoint branchPoint)` | Create a prepared statement which returns all IDs of instances of the corresponding class.
    `void` | IClassMapping.`detachObject​(IDBStoreAccessor accessor, CDOID id, int version, CDOBranch branch, long timeStamp, org.eclipse.net4j.util.om.monitor.OMMonitor monitor)` | Detaches (deletes) a CDO object leaving a "ghost" revision behind.
    `void` | IClassMapping.`handleRevisions​(IDBStoreAccessor accessor, CDOBranch branch, long timeStamp, boolean exactTime, CDORevisionHandler handler)` | Passes all revisions of the store to the `handler` if all of the following conditions are met: The `branch` parameter is `null` or equal to `revision.getBranch()`.
    `void` | IMappingStrategy.`handleRevisions​(IDBStoreAccessor accessor, EClass eClass, CDOBranch branch, long timeStamp, boolean exactTime, CDORevisionHandler handler)` | Passes all revisions of the store to the `handler` if all of the following conditions are met: The `eClass` parameter is `null` or equal to `revision.getEClass()`.
    `void` | IListMapping.`objectDetached​(IDBStoreAccessor accessor, CDOID id, long revised)` | Hook with which a list mapping is notified that a containing object has been revised.
    `void` | IMappingStrategy2.`postProcessRevisions​(IDBStoreAccessor accessor, IStoreAccessor.CommitContext context, org.eclipse.net4j.util.om.monitor.OMMonitor monitor)` |
    `void` | IListMappingDeltaSupport.`processDelta​(IDBStoreAccessor accessor, CDOID id, int branchId, int oldVersion, int newVersion, long created, CDOListFeatureDelta delta)` | Process a set of CDOFeatureDeltas for a many-valued feature.
    `void` | IMappingStrategy.`queryResources​(IDBStoreAccessor accessor, IStoreAccessor.QueryResourcesContext context)` | Executes a resource query.
    `java.sql.ResultSet` | IListMappingUnitSupport.`queryUnitEntries​(IDBStoreAccessor accessor, IIDHandler idHandler, long timeStamp, CDOID rootID)` |
    `boolean` | IClassMapping.`queryXRefs​(IDBStoreAccessor accessor, IStoreAccessor.QueryXRefsContext context, java.lang.String idString)` | Retrieve cross-references from DB
    `boolean` | IListMapping.`queryXRefs​(IDBStoreAccessor accessor, java.lang.String mainTableName, java.lang.String mainTableWhere, IStoreAccessor.QueryXRefsContext context, java.lang.String idString)` | Retrieve cross-references from DB.
    `void` | IMappingStrategy.`queryXRefs​(IDBStoreAccessor accessor, IStoreAccessor.QueryXRefsContext context)` | Executes a cross reference query.
    `void` | IMappingStrategy.`rawExport​(IDBStoreAccessor accessor, CDODataOutput out, int lastReplicatedBranchID, int lastBranchID, long lastReplicatedCommitTime, long lastCommitTime)` |
    `void` | IMappingStrategy.`rawImport​(IDBStoreAccessor accessor, CDODataInput in, long fromCommitTime, long toCommitTime, org.eclipse.net4j.util.om.monitor.OMMonitor monitor)` |
    `java.util.Set<CDOID>` | IClassMapping.`readChangeSet​(IDBStoreAccessor accessor, CDOChangeSetSegment[] segments)` | Returns a set of CDOIDs that have at least one revision in any of the passed branches and time ranges.
    `java.util.Set<CDOID>` | IMappingStrategy.`readChangeSet​(IDBStoreAccessor accessor, org.eclipse.net4j.util.om.monitor.OMMonitor monitor, CDOChangeSetSegment[] segments)` | Returns a set of CDOIDs that have at least one revision in any of the passed branches and time ranges.
    `org.eclipse.net4j.util.collection.CloseableIterator<CDOID>` | IMappingStrategy.`readObjectIDs​(IDBStoreAccessor accessor)` | Get an iterator over all instances of objects in the store.
    `CDOClassifierRef` | IMappingStrategy.`readObjectType​(IDBStoreAccessor accessor, CDOID id)` | Read the type (i.e.
    `boolean` | IClassMapping.`readRevision​(IDBStoreAccessor accessor, InternalCDORevision revision, int listChunk)` | Read a revision.
    `boolean` | IClassMappingAuditSupport.`readRevisionByVersion​(IDBStoreAccessor storeAccessor, InternalCDORevision revision, int listChunk)` | Read a specific version of a revision.
    `void` | IClassMappingUnitSupport.`readUnitRevisions​(IDBStoreAccessor accessor, CDOBranchPoint branchPoint, CDOID rootID, CDORevisionHandler revisionHandler)` |
    `void` | IListMapping.`readValues​(IDBStoreAccessor accessor, InternalCDORevision revision, int listChunk)` | Read the list size and the complete list or the first part of it.
    `void` | IClassMapping.`writeRevision​(IDBStoreAccessor accessor, InternalCDORevision revision, boolean firstRevision, boolean revise, org.eclipse.net4j.util.om.monitor.OMMonitor monitor)` | Write the revision data to the database.
    `void` | IClassMappingDeltaSupport.`writeRevisionDelta​(IDBStoreAccessor accessor, InternalCDORevisionDelta delta, long created, org.eclipse.net4j.util.om.monitor.OMMonitor monitor)` | Write a revision delta.
    `void` | IListMapping.`writeValues​(IDBStoreAccessor accessor, InternalCDORevision revision)` | Write a complete list of values to the database.
    `void` | IListMapping4.`writeValues​(IDBStoreAccessor accessor, CDORevision revision, boolean firstRevision, boolean raw)` | Write a complete list of values to the database.