Interface ItemRelationResolver<Q extends FlexibleRelationalPathBase<R>,R,TQ extends FlexibleRelationalPathBase<TR>,TR>
-
- Type Parameters:
Q
- query type with the mappingR
- row type related toItemRelationResolver
TQ
- type of target entity pathTR
- row type related to the target entity pathItemRelationResolver
- All Known Implementing Classes:
TableRelationResolver
public interface ItemRelationResolver<Q extends FlexibleRelationalPathBase<R>,R,TQ extends FlexibleRelationalPathBase<TR>,TR>
Common contract for resolver that helps with navigating over complex (non-single) item paths for query purposes.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ItemRelationResolver.ResolutionResult<TQ extends FlexibleRelationalPathBase<TR>,TR>
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ItemRelationResolver.ResolutionResult<TQ,TR>
resolve(SqlQueryContext<?,Q,R> context)
Resolves a query context toItemRelationResolver.ResolutionResult
with new context and mapping.
-
-
-
Method Detail
-
resolve
ItemRelationResolver.ResolutionResult<TQ,TR> resolve(SqlQueryContext<?,Q,R> context)
Resolves a query context toItemRelationResolver.ResolutionResult
with new context and mapping. The information about the resolved item is captured in the instance resolver already in a manner that is specific for various types of resolution (subquery or nested mapping).
-
-