Package org.eclipse.emf.cdo.spi.server
Class DelegatingQueryResourcesContext
java.lang.Object
org.eclipse.emf.cdo.spi.server.DelegatingQueryResourcesContext
- All Implemented Interfaces:
CDOBranchPoint
,CDOBranchProvider
,CDOTimeProvider
,IStoreAccessor.QueryResourcesContext
public abstract class DelegatingQueryResourcesContext
extends Object
implements IStoreAccessor.QueryResourcesContext
If the meaning of this type isn't clear, there really should be more of a description here...
- Since:
- 4.2
- Author:
- Eike Stepper
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.emf.cdo.server.IStoreAccessor.QueryResourcesContext
IStoreAccessor.QueryResourcesContext.ExactMatch
-
Field Summary
Fields inherited from interface org.eclipse.emf.cdo.common.branch.CDOBranchPoint
INVALID_DATE, UNSPECIFIED_DATE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addResource
(CDOID resourceID) Adds the CDOID of one resource to the results of the underlying query.boolean
Returns the branch of this branch point, ornull
if this branch point is thebase
of themain branch
.protected abstract IStoreAccessor.QueryResourcesContext
int
Returns the maximum number of results expected by the client orCDOQueryInfo.UNLIMITED_RESULTS
for no limitation.getName()
long
Returns the time stamp of this branch point, or the fixed special time stampunspecified
if this branch point marks thehead
of a branch.
-
Constructor Details
-
DelegatingQueryResourcesContext
public DelegatingQueryResourcesContext()
-
-
Method Details
-
getBranch
Description copied from interface:CDOBranchPoint
Returns the branch of this branch point, ornull
if this branch point is thebase
of themain branch
.- Specified by:
getBranch
in interfaceCDOBranchPoint
- Specified by:
getBranch
in interfaceCDOBranchProvider
-
getTimeStamp
public long getTimeStamp()Description copied from interface:CDOBranchPoint
Returns the time stamp of this branch point, or the fixed special time stampunspecified
if this branch point marks thehead
of a branch.- Specified by:
getTimeStamp
in interfaceCDOBranchPoint
- Specified by:
getTimeStamp
in interfaceCDOTimeProvider
-
getFolderID
- Specified by:
getFolderID
in interfaceIStoreAccessor.QueryResourcesContext
-
getName
- Specified by:
getName
in interfaceIStoreAccessor.QueryResourcesContext
-
exactMatch
public boolean exactMatch()- Specified by:
exactMatch
in interfaceIStoreAccessor.QueryResourcesContext
-
getMaxResults
public int getMaxResults()Description copied from interface:IStoreAccessor.QueryResourcesContext
Returns the maximum number of results expected by the client orCDOQueryInfo.UNLIMITED_RESULTS
for no limitation.- Specified by:
getMaxResults
in interfaceIStoreAccessor.QueryResourcesContext
-
addResource
Description copied from interface:IStoreAccessor.QueryResourcesContext
Adds the CDOID of one resource to the results of the underlying query.- Specified by:
addResource
in interfaceIStoreAccessor.QueryResourcesContext
- 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).
-
getDelegate
-