Class EmbeddedReferenceResolver<Q extends FlexibleRelationalPathBase<R>,R>
java.lang.Object
com.evolveum.midpoint.repo.sqale.mapping.EmbeddedReferenceResolver<Q,R>
- Type Parameters:
Q
- query type of entity where the reference mapping is declaredR
- row type ofEmbeddedReferenceResolver
- All Implemented Interfaces:
ItemRelationResolver<Q,
R, Q, R>
public class EmbeddedReferenceResolver<Q extends FlexibleRelationalPathBase<R>,R>
extends Object
implements ItemRelationResolver<Q,R,Q,R>
Resolver supporting dereferencing of embedded references.
Internally, it creates its own nested mapping with relation resolver only for @.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.evolveum.midpoint.repo.sqlbase.mapping.ItemRelationResolver
ItemRelationResolver.ResolutionResult<TQ extends FlexibleRelationalPathBase<TR>,
TR> -
Constructor Summary
ConstructorDescriptionEmbeddedReferenceResolver
(@NotNull Class<Q> queryType, @NotNull Function<Q, UuidPath> rootToOidPath, @NotNull Supplier<QueryTableMapping<TS, TQ, TR>> targetMappingSupplier) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.evolveum.midpoint.repo.sqlbase.mapping.ItemRelationResolver
resolve, resolveUsingJoin
-
Constructor Details
-
EmbeddedReferenceResolver
-
-
Method Details
-
resolve
public ItemRelationResolver.ResolutionResult<Q,R> resolve(SqlQueryContext<?, Q, R> context, boolean parent) - Specified by:
resolve
in interfaceItemRelationResolver<Q extends FlexibleRelationalPathBase<R>,
R, Q extends FlexibleRelationalPathBase<R>, R>
-