Class TableRelationResolver<Q extends FlexibleRelationalPathBase<?>,​DQ extends FlexibleRelationalPathBase<DR>,​DR>

    • Constructor Detail

      • TableRelationResolver

        public TableRelationResolver​(@NotNull
                                     @NotNull Class<DQ> targetQueryType,
                                     @NotNull BiFunction<Q,​DQ,​com.querydsl.core.types.Predicate> joinPredicate)
    • Method Detail

      • resolve

        public ItemRelationResolver.ResolutionResult resolve​(SqlQueryContext<?,​?,​?> context)
        Creates the JOIN using provided query context. This does not use the mapping parameter as it is useless for JOIN creation.
        Specified by:
        resolve in interface ItemRelationResolver
        context - query context used for JOIN creation
        result with context for JOINed entity path and its mapping