Uses of Class
com.evolveum.midpoint.repo.sqlbase.mapping.QueryTableMapping
-
Packages that use QueryTableMapping Package Description com.evolveum.midpoint.repo.sqlbase com.evolveum.midpoint.repo.sqlbase.mapping -
-
Uses of QueryTableMapping in com.evolveum.midpoint.repo.sqlbase
Fields in com.evolveum.midpoint.repo.sqlbase declared as QueryTableMapping Modifier and Type Field Description protected QueryTableMapping<S,Q,R>
SqlQueryContext. entityPathMapping
Methods in com.evolveum.midpoint.repo.sqlbase with type parameters of type QueryTableMapping Modifier and Type Method Description <S,Q extends FlexibleRelationalPathBase<R>,R,QM extends QueryTableMapping<S,Q,R>>
QMSqlRepoContext. getMappingBySchemaType(Class<S> schemaType)
Methods in com.evolveum.midpoint.repo.sqlbase that return QueryTableMapping Modifier and Type Method Description <TS,TQ extends FlexibleRelationalPathBase<TR>,TR>
QueryTableMapping<TS,TQ,TR>SqlRepoContext. getMappingByQueryType(Class<TQ> queryType)
QueryTableMapping<S,Q,R>
SqlQueryContext. mapping()
Methods in com.evolveum.midpoint.repo.sqlbase with parameters of type QueryTableMapping Modifier and Type Method Description <TS,TQ extends FlexibleRelationalPathBase<TR>,TR>
SqlQueryContext<TS,TQ,TR>SqlQueryContext. leftJoin(@NotNull QueryTableMapping<TS,TQ,TR> targetMapping, @NotNull BiFunction<Q,TQ,com.querydsl.core.types.Predicate> joinOnPredicateFunction)
Adds new LEFT JOIN to the query and returnsSqlQueryContext
for this join path.protected abstract <TS,TQ extends FlexibleRelationalPathBase<TR>,TR>
SqlQueryContext<TS,TQ,TR>SqlQueryContext. newSubcontext(TQ newPath, QueryTableMapping<TS,TQ,TR> newMapping)
Contract to implement to obtain derived (e.g.protected abstract <TS,TQ extends FlexibleRelationalPathBase<TR>,TR>
SqlQueryContext<TS,TQ,TR>SqlQueryContext. newSubcontext(TQ newPath, QueryTableMapping<TS,TQ,TR> newMapping, com.querydsl.sql.SQLQuery<?> query)
Contract to implement to obtain derived (e.g.<TS,TQ extends FlexibleRelationalPathBase<TR>,TR>
SqlQueryContext<TS,TQ,TR>SqlQueryContext. subquery(@NotNull QueryTableMapping<TS,TQ,TR> targetMapping)
Creates new subquery and returnsSqlQueryContext
for it, typically for (NOT) EXISTS.Constructors in com.evolveum.midpoint.repo.sqlbase with parameters of type QueryTableMapping Constructor Description SqlQueryContext(Q entityPath, QueryTableMapping<S,Q,R> mapping, SqlQueryContext<?,?,?> parentContext, com.querydsl.sql.SQLQuery<?> sqlQuery)
Constructor for derived context or sub-context, e.g.SqlQueryContext(Q entityPath, QueryTableMapping<S,Q,R> mapping, SqlRepoContext sqlRepoContext, com.querydsl.sql.SQLQuery<?> query)
Constructor for root query context. -
Uses of QueryTableMapping in com.evolveum.midpoint.repo.sqlbase.mapping
Fields in com.evolveum.midpoint.repo.sqlbase.mapping with type parameters of type QueryTableMapping Modifier and Type Field Description protected Supplier<QueryTableMapping<TS,TQ,TR>>
TableRelationResolver. targetMappingSupplier
Methods in com.evolveum.midpoint.repo.sqlbase.mapping with type parameters of type QueryTableMapping Modifier and Type Method Description <S,Q extends FlexibleRelationalPathBase<R>,R,QM extends QueryTableMapping<S,Q,R>>
QMQueryModelMappingRegistry. getBySchemaType(Class<S> schemaType)
Methods in com.evolveum.midpoint.repo.sqlbase.mapping that return QueryTableMapping Modifier and Type Method Description <S,Q extends FlexibleRelationalPathBase<R>,R>
QueryTableMapping<S,Q,R>QueryModelMappingRegistry. getByQueryType(Class<Q> queryType)
Methods in com.evolveum.midpoint.repo.sqlbase.mapping with parameters of type QueryTableMapping Modifier and Type Method Description QueryModelMappingRegistry
QueryModelMappingRegistry. register(QueryTableMapping<?,?,?> mapping)
Register mapper not bound to a schema type.QueryModelMappingRegistry
QueryModelMappingRegistry. register(QName schemaQName, QueryTableMapping<?,?,?> mapping)
Register mapper bound to a schema type.static <Q extends FlexibleRelationalPathBase<R>,R,TS,TQ extends FlexibleRelationalPathBase<TR>,TR>
TableRelationResolver<Q,R,TS,TQ,TR>TableRelationResolver. usingSubquery(@NotNull QueryTableMapping<TS,TQ,TR> targetMapping, @NotNull BiFunction<Q,TQ,com.querydsl.core.types.Predicate> correlationPredicate)
Method parameters in com.evolveum.midpoint.repo.sqlbase.mapping with type arguments of type QueryTableMapping Modifier and Type Method Description static <Q extends FlexibleRelationalPathBase<R>,R,TS,TQ extends FlexibleRelationalPathBase<TR>,TR>
TableRelationResolver<Q,R,TS,TQ,TR>TableRelationResolver. usingJoin(@NotNull Supplier<QueryTableMapping<TS,TQ,TR>> targetMappingSupplier, @NotNull BiFunction<Q,TQ,com.querydsl.core.types.Predicate> correlationPredicate)
Currently the decision to use `JOIN` is static in the mapping, but it can be more flexible.Constructors in com.evolveum.midpoint.repo.sqlbase.mapping with parameters of type QueryTableMapping Constructor Description TableRelationResolver(@NotNull QueryTableMapping<TS,TQ,TR> targetMapping, @NotNull BiFunction<Q,TQ,com.querydsl.core.types.Predicate> correlationPredicate)
Constructor for relation resolver using `EXISTS` subquery to the table.
-