org.apache.cayenne.access

## Interface QueryEngine

- All Known Implementing Classes:
    DataDomain, DataNode

      public interface QueryEngine

  Defines methods used to run Cayenne queries.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `EntityResolver` | `getEntityResolver()` Returns a resolver for this query engine that is capable of resolving between classes, entity names, and obj/db entities
    `void` | `performQueries(Collection<? extends Query> queries, OperationObserver resultConsumer)` Executes a list of queries wrapping them in its own transaction.

- - ### Method Detail

    - #### performQueries

          void performQueries(Collection<? extends Query> queries,
                            OperationObserver resultConsumer)

      Executes a list of queries wrapping them in its own transaction. Results of execution are passed to `OperationObserver`object via its callback methods.
      Since:
        1.1 The signature has changed from List to Collection.

    - #### getEntityResolver

          EntityResolver getEntityResolver()

      Returns a resolver for this query engine that is capable of resolving between classes, entity names, and obj/db entities

Copyright © 2001–2014 Apache Cayenne. All rights reserved.