## Uses of Interface
org.apache.cayenne.access.QueryEngine

- Packages that use QueryEngine
  Package | Description
  --- | ---
  org.apache.cayenne.access | Contains classes that make up Cayenne ORM stack.
  org.apache.cayenne.query | Defines standard queries supported by Cayenne and extension mechanism to create custom queries.

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

    Classes in org.apache.cayenne.access that implement QueryEngine
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `DataDomain` | DataDomain performs query routing functions in Cayenne.
    `class` | `DataNode` | An abstraction of a single physical data storage.

  - ### Uses of QueryEngine in org.apache.cayenne.query

    Methods in org.apache.cayenne.query that return QueryEngine
    Modifier and Type | Method | Description
    --- | --- | ---
    `QueryEngine` | QueryRouter.`engineForDataMap​(DataMap map)` | Returns a QueryEngine that is configured to handle a given DataMap.
    `QueryEngine` | QueryRouter.`engineForName​(String name)` | Returns a QueryEngine for a given name.

    Methods in org.apache.cayenne.query with parameters of type QueryEngine
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | QueryRouter.`route​(QueryEngine engine, Query query, Query substitutedQuery)` | A callback method that allows a query to set its preferred engine during the routing phase.