Uses of Interface
org.eclipse.emf.cdo.server.db.IDBStoreAccessor
Package
Description
Server concepts for dealing with DB stores and accessors.
Server concepts for dealing with mapping strategies and mappings for classes, lists and types.
-
Uses of IDBStoreAccessor in org.eclipse.emf.cdo.server.db
Modifier and TypeMethodDescriptionIDBStoreChunkReader.getAccessor()
IDBStore.getWriter
(ITransaction transaction) Modifier and TypeMethodDescriptionIIDHandler.mapURI
(IDBStoreAccessor accessor, String uri, long commitTime) IIDHandler.unmapURI
(IDBStoreAccessor accessor, CDOID id) -
Uses of IDBStoreAccessor in org.eclipse.emf.cdo.server.db.mapping
Modifier and TypeMethodDescriptionvoid
IListMapping2.addRangedChunkWhere
(IDBStoreAccessor accessor, CDOID cdoid, StringBuilder builder, int fromIndex, int toIndex) void
IListMapping2.addSimpleChunkWhere
(IDBStoreAccessor accessor, CDOID cdoid, StringBuilder builder, int index) IClassMapping.createObjectIDStatement
(IDBStoreAccessor accessor) Create a prepared statement which returns all IDs of instances of the corresponding class.IClassMapping.createResourceQueryStatement
(IDBStoreAccessor accessor, CDOID folderId, String name, boolean exactMatch, CDOBranchPoint branchPoint) Create a prepared statement which returns all IDs of instances of the corresponding class.void
IBranchDeletionSupport.deleteBranches
(IDBStoreAccessor accessor, org.eclipse.net4j.db.Batch batch, String idList) 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 thehandler
if all of the following conditions are met: Thebranch
parameter isnull
or equal torevision.getBranch()
.void
IMappingStrategy.handleRevisions
(IDBStoreAccessor accessor, EClass eClass, CDOBranch branch, long timeStamp, boolean exactTime, CDORevisionHandler handler) Passes all revisions of the store to thehandler
if all of the following conditions are met: TheeClass
parameter isnull
or equal torevision.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.IListMappingUnitSupport.queryUnitEntries
(IDBStoreAccessor accessor, IIDHandler idHandler, long timeStamp, CDOID rootID) boolean
IClassMapping.queryXRefs
(IDBStoreAccessor accessor, IStoreAccessor.QueryXRefsContext context, String idString) Retrieve cross-references from DBboolean
IListMapping.queryXRefs
(IDBStoreAccessor accessor, String mainTableName, String mainTableWhere, IStoreAccessor.QueryXRefsContext context, 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) 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.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.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.