# Uses of Interface
org.apache.cayenne.QueryResponse

Packages that use QueryResponse
Package
Description
org.apache.cayenne
Contains persistence APIs directly accessible by users.
org.apache.cayenne.access
Contains classes that make up Cayenne ORM stack.
org.apache.cayenne.util
General utility classes.

- ## Uses of QueryResponse in org.apache.cayenne

  Methods in org.apache.cayenne that return QueryResponse
  Modifier and Type
  Method
  Description
  `QueryResponse`
  DataChannel.`onQuery(ObjectContext originatingContext, Query query)`
  Executes a query, using provided context to register persistent objects if query returns any objects.
  `QueryResponse`
  DataChannelQueryFilter.`onQuery(ObjectContext originatingContext, Query query, DataChannelQueryFilterChain filterChain)`
  `QueryResponse`
  DataChannelQueryFilterChain.`onQuery(ObjectContext originatingContext, Query query)`
  `QueryResponse`
  ObjectContext.`performGenericQuery(Query query)`
  Executes any kind of query providing the result in a form of QueryResponse.

- ## Uses of QueryResponse in org.apache.cayenne.access

  Methods in org.apache.cayenne.access that return QueryResponse
  Modifier and Type
  Method
  Description
  `QueryResponse`
  DataContext.`onQuery(ObjectContext context, Query query)`
  An implementation of a `DataChannel` method that is used by child contexts to execute queries.
  `QueryResponse`
  DataDomain.`onQuery(ObjectContext originatingContext, Query query)`
  Runs query returning generic QueryResponse.
  `QueryResponse`
  DataContext.`performGenericQuery(Query query)`
  Executes a query returning a generic response.

- ## Uses of QueryResponse in org.apache.cayenne.util

  Classes in org.apache.cayenne.util that implement QueryResponse
  Modifier and Type
  Class
  Description
  `class`
  `GenericResponse`
  A simple serializable implementation of QueryResponse.
  `class`
  `IncrementalListResponse`
  A QueryResponse that contains a sublist of the query result.
  `class`
  `ListResponse`
  A QueryResponse optimized to hold a single object or data row list.
  Constructors in org.apache.cayenne.util with parameters of type QueryResponse
  Modifier
  Constructor
  Description
  ``
  `GenericResponse(QueryResponse response)`
  Creates a response that it a shallow copy of another response.