# 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.remote
Contains classes an interfaces related to Cayenne remote object persistence features.
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`
  DataChannelFilter.`onQuery(ObjectContext originatingContext, Query query, DataChannelFilterChain filterChain)`
  Deprecated.
  `default QueryResponse`
  DataChannelFilter.`onQuery(ObjectContext originatingContext, Query query, DataChannelQueryFilterChain filterChain)`
  Deprecated.
  Adapter method that allows to use old DataChannelFilter as new query filter
  `default QueryResponse`
  DataChannelFilterChain.`onQuery(ObjectContext originatingContext, Query query)`
  Deprecated.
  `QueryResponse`
  DataChannelQueryFilter.`onQuery(ObjectContext originatingContext, Query query, DataChannelQueryFilterChain filterChain)`
  `QueryResponse`
  DataChannelQueryFilterChain.`onQuery(ObjectContext originatingContext, Query query)`
  `abstract QueryResponse`
  BaseContext.`performGenericQuery(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`
  ClientServerChannel.`onQuery(ObjectContext context, Query query)`
  `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.remote

  Methods in org.apache.cayenne.remote that return QueryResponse
  Modifier and Type
  Method
  Description
  `QueryResponse`
  ClientChannel.`onQuery(ObjectContext context, Query query)`

- ## 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.
  Fields in org.apache.cayenne.util declared as QueryResponse
  Modifier and Type
  Field
  Description
  `protected QueryResponse`
  ObjectContextQueryAction.`response`
  Methods in org.apache.cayenne.util that return QueryResponse
  Modifier and Type
  Method
  Description
  `QueryResponse`
  ObjectContextQueryAction.`execute()`
  Worker method that performs internal query.
  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.