Interface QueryEngine

  • All Known Implementing Classes:
    DataDomain, DataNode

    public interface QueryEngine
    Defines methods used to run Cayenne queries.
    • 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 OperationObserverobject via its callback methods.
        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