org.eclipse.emf.cdo.server
Interface IStoreAccessor.QueryXRefsContext
- All Superinterfaces:
- CDOBranchPoint, CDOTimeProvider
- Enclosing interface:
- IStoreAccessor
- public static interface IStoreAccessor.QueryXRefsContext
- extends CDOBranchPoint
Represents the query execution state of a XRefs query
.
- Since:
- 3.0
- No Implement
- This interface is not intended to be implemented by clients.
getTargetObjects
Map<CDOID,EClass> getTargetObjects()
- Since:
- 4.0
getSourceReferences
EReference[] getSourceReferences()
getSourceCandidates
Map<EClass,List<EReference>> getSourceCandidates()
- Since:
- 4.0
getMaxResults
int getMaxResults()
- Returns the maximum number of results expected by the client or
CDOQueryInfo.UNLIMITED_RESULTS
for no
limitation.
addXRef
boolean addXRef(CDOID targetID,
CDOID sourceID,
EReference sourceReference,
int sourceIndex)
- Adds the data of one cross reference to the results of the underlying query.
- Returns:
true
to indicate that more results can be passed subsequently, false
otherwise
(i.e. maxResults has been reached or an asynchronous query has been canceled).
Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.