Package org.eclipse.emf.cdo.server
Interface IQueryContext
- 
- All Superinterfaces:
- CDOBranchPoint,- CDOBranchProvider,- CDOTimeProvider
 
 public interface IQueryContext extends CDOBranchPoint Represents the execution state of aqueryin the server towards aquery handler.- Since:
- 2.0
- Author:
- Eike Stepper
- No Implement
- This interface is not intended to be implemented by clients.
- No Extend
- This interface is not intended to be extended by clients.
 
- 
- 
Field Summary- 
Fields inherited from interface org.eclipse.emf.cdo.common.branch.CDOBranchPointINVALID_DATE, UNSPECIFIED_DATE
 
- 
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanaddResult(java.lang.Object object)Adds the given object to the results of the associated query.intgetResultCount()IViewgetView()booleanisCancelled()- 
Methods inherited from interface org.eclipse.emf.cdo.common.branch.CDOBranchPointgetBranch, getTimeStamp
 
- 
 
- 
- 
- 
Method Detail- 
getViewIView getView() 
 - 
isCancelledboolean isCancelled() - Since:
- 4.12
 
 - 
getResultCountint getResultCount() - Since:
- 4.0
 
 - 
addResultboolean addResult(java.lang.Object object) Adds the given object to the results of the associated query.- Parameters:
- object- Support many primitives, CDOID and CDORevision. CDORevision are converted in CDOID and only CDOID are transfered to the client.
- Returns:
- trueto indicate that more results can be passed subsequently,- falseotherwise (i.e. maxResults has been reached or an asynchronous query has been canceled).
 
 
- 
 
-