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
public static interface IStoreAccessor.QueryResourcesContext extends CDOBranchPoint
Represents the query execution state of aresources query.- Since:
- 2.0
- Author:
- Eike Stepper
- No Implement
- This interface is not intended to be implemented by clients.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceIStoreAccessor.QueryResourcesContext.ExactMatchRepresents the query execution state of aresources querythat 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanaddResource(CDOID resourceID)Adds the CDOID of one resource to the results of the underlying query.booleanexactMatch()CDOIDgetFolderID()intgetMaxResults()Returns the maximum number of results expected by the client orCDOQueryInfo.UNLIMITED_RESULTSfor no limitation.java.lang.StringgetName()-
Methods inherited from interface org.eclipse.emf.cdo.common.branch.CDOBranchPoint
getBranch, getTimeStamp
-
-
-
-
Method Detail
-
getFolderID
CDOID getFolderID()
-
getName
java.lang.String getName()
-
exactMatch
boolean exactMatch()
-
getMaxResults
int getMaxResults()
Returns the maximum number of results expected by the client orCDOQueryInfo.UNLIMITED_RESULTSfor no limitation.
-
addResource
boolean addResource(CDOID resourceID)
Adds the CDOID of one resource to the results of the underlying query.- Returns:
trueto indicate that more results can be passed subsequently,falseotherwise (i.e. maxResults has been reached or an asynchronous query has been canceled).
-
-