public interface Query extends Serializable, ConfigurationNode
Modifier and Type | Method and Description |
---|---|
SQLAction |
createSQLAction(SQLActionVisitor visitor)
A callback method invoked by Cayenne during the final execution phase of the query
run.
|
DataMap |
getDataMap() |
QueryMetadata |
getMetaData(EntityResolver resolver)
Returns query runtime parameters.
|
String |
getName()
Returns a symbolic name of the query.
|
void |
route(QueryRouter router,
EntityResolver resolver,
Query substitutedQuery)
A callback method invoked by Cayenne during the routing phase of the query
execution.
|
acceptVisitor
QueryMetadata getMetaData(EntityResolver resolver)
void route(QueryRouter router, EntityResolver resolver, Query substitutedQuery)
QueryRouter.route(QueryEngine, Query, Query)
callback method to route
itself. Query can create one or more substitute queries or even provide its own
QueryEngine to execute itself.SQLAction createSQLAction(SQLActionVisitor visitor)
String getName()
DataMap getDataMap()
Copyright © 2001–2014 Apache Cayenne. All rights reserved.