Package org.eclipse.emf.cdo.server
Interface IStoreAccessor.QueryResourcesContext
- All Superinterfaces:
CDOBranchPoint
,CDOBranchProvider
,CDOTimeProvider
- All Known Subinterfaces:
IStoreAccessor.QueryResourcesContext.ExactMatch
- All Known Implementing Classes:
DelegatingQueryResourcesContext
- Enclosing interface:
- IStoreAccessor
Represents the query execution state of a
resources
query
.- Since:
- 2.0
- Author:
- Eike Stepper
- No Implement
- This interface is not intended to be implemented by clients.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Represents the query execution state of aresources query
that is supposed to deliver one exact resource, ornull
. -
Field Summary
Fields inherited from interface org.eclipse.emf.cdo.common.branch.CDOBranchPoint
INVALID_DATE, UNSPECIFIED_DATE
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addResource
(CDOID resourceID) Adds the CDOID of one resource to the results of the underlying query.boolean
int
Returns the maximum number of results expected by the client orCDOQueryInfo.UNLIMITED_RESULTS
for no limitation.getName()
Methods inherited from interface org.eclipse.emf.cdo.common.branch.CDOBranchPoint
getBranch, getTimeStamp
-
Method Details
-
getFolderID
CDOID getFolderID() -
getName
String getName() -
exactMatch
boolean exactMatch() -
getMaxResults
int getMaxResults()Returns the maximum number of results expected by the client orCDOQueryInfo.UNLIMITED_RESULTS
for no limitation. -
addResource
Adds the CDOID of one resource 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).
-