- Direct Known Subclasses:
A base superclass for queries that resolve into some other queries during the routing phase. Provides caching of a replacement query.
- See Also:
- Serialized Form
Constructors Constructor Description
Modifier and Type Method Description
protected abstract Query
EntityResolver resolver)(Creates a substitute query.
SQLActionVisitor visitor)(Throws an exception as indirect query should not be executed directly.
EntityResolver resolver)(Returns the metadata obtained from the replacement query.
EntityResolver resolver)(Returns a replacement query, creating it on demand and caching it for reuse.
QueryRouter router, EntityResolver resolver, Query substitutedQuery)(Delegates routing to a replacement query.
getMetaDataReturns the metadata obtained from the replacement query.
routeDelegates routing to a replacement query.
createReplacementQueryCreates a substitute query. An implementor is free to provide an arbitrary replacement query.
getReplacementQueryReturns a replacement query, creating it on demand and caching it for reuse.
createSQLActionThrows an exception as indirect query should not be executed directly.