Package org.apache.cayenne.access
Interface QueryEngine
- All Known Implementing Classes:
DataDomain
,DataNode
public interface QueryEngine
Defines methods used to run Cayenne queries.
-
Method Summary
Modifier and TypeMethodDescriptionReturns a resolver for this query engine that is capable of resolving between classes, entity names, and obj/db entitiesvoid
performQueries
(Collection<? extends Query> queries, OperationObserver resultConsumer) Executes a list of queries wrapping them in its own transaction.
-
Method Details
-
performQueries
Executes a list of queries wrapping them in its own transaction. Results of execution are passed toOperationObserver
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
-