Package org.eclipse.emf.cdo.server

# Schnittstelle IQueryContext

Alle Superschnittstellen:
  `CDOBranchPoint`, `CDOBranchProvider`, `CDOTimeProvider`

public interface IQueryContext extends CDOBranchPoint
Represents the execution state of a `query` in the server towards a `query handler`.

Seit:
  2.0
Autor:
  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.

## Feldübersicht

### Von Schnittstelle geerbte Felder org.eclipse.emf.cdo.common.branch.CDOBranchPoint

`INVALID_DATE, UNSPECIFIED_DATE`

## Methodenübersicht

Modifizierer und Typ
Methode
Beschreibung
`boolean`
`addResult(Object object)`
Adds the given object to the results of the associated query.
`int`
`getResultCount()`
`IView`
`getView()`
`boolean`
`isCancelled()`

### Von Schnittstelle geerbte Methoden org.eclipse.emf.cdo.common.branch.CDOBranchPoint

`getBranch, getTimeStamp`

## Methodendetails

### getView

IView getView()

### isCancelled

boolean isCancelled()

Seit:
  4.12

### getResultCount

int getResultCount()

Seit:
  4.0

### addResult

boolean addResult(Object object)
Adds the given object to the results of the associated query.

Parameter:
  `object` - Support many primitives, CDOID and CDORevision. CDORevision are converted in CDOID and only CDOID are transfered to the client.
Gibt zurück:
  `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).