public interface QueryRouter
|Modifier and Type||Method and Description|
Returns a QueryEngine that is configured to handle a given DataMap.
A callback method that allows a query to set its preferred engine during the routing phase.
void route(QueryEngine engine, Query query, Query substitutedQuery)
engine- engine to use for query execution
query- A query to execute.
substitutedQuery- a query that was substituted for "query". Results must be mapped back to substituted query.
Copyright © 2001–2014 Apache Cayenne. All rights reserved.