Uses of Class
com.evolveum.midpoint.repo.sqlbase.querydsl.FlexibleRelationalPathBase
-
-
Uses of FlexibleRelationalPathBase in com.evolveum.midpoint.repo.sqlbase
Classes in com.evolveum.midpoint.repo.sqlbase with type parameters of type FlexibleRelationalPathBase Modifier and Type Class Description class
SqlQueryContext<S,Q extends FlexibleRelationalPathBase<R>,R>
Execution context of the SQL query.Fields in com.evolveum.midpoint.repo.sqlbase declared as FlexibleRelationalPathBase Modifier and Type Field Description protected Q
SqlQueryContext. entityPath
Methods in com.evolveum.midpoint.repo.sqlbase with type parameters of type FlexibleRelationalPathBase Modifier and Type Method Description <S,Q extends FlexibleRelationalPathBase<R>,R>
intSqlQueryExecutor. count(@NotNull SqlQueryContext<S,Q,R> context, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options)
<TS,TQ extends FlexibleRelationalPathBase<TR>,TR>
QueryTableMapping<TS,TQ,TR>SqlRepoContext. getMappingByQueryType(Class<TQ> queryType)
<S,Q extends FlexibleRelationalPathBase<R>,R,QM extends QueryTableMapping<S,Q,R>>
QMSqlRepoContext. getMappingBySchemaType(Class<S> schemaType)
<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.<S,Q extends FlexibleRelationalPathBase<R>,R>
SearchResultList<S>SqlQueryExecutor. list(@NotNull SqlQueryContext<S,Q,R> context, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options)
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.<T extends FlexibleRelationalPathBase<?>>
TSqlQueryContext. path(Class<T> pathType)
<T extends FlexibleRelationalPathBase<?>>
TSqlQueryContext. root(Class<T> rootType)
<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.<TS,TQ extends FlexibleRelationalPathBase<TR>,TR>
SqlQueryContext<TS,TQ,TR>SqlQueryContext. subquery(@NotNull Class<TQ> subqueryType)
Creates new subquery, seeSqlQueryContext.subquery(QueryTableMapping)
for more. -
Uses of FlexibleRelationalPathBase in com.evolveum.midpoint.repo.sqlbase.filtering
Classes in com.evolveum.midpoint.repo.sqlbase.filtering with type parameters of type FlexibleRelationalPathBase Modifier and Type Class Description class
ValueFilterProcessor<Q extends FlexibleRelationalPathBase<R>,R>
Filter processor that resolves item path and then constructs an SQL condition for it. -
Uses of FlexibleRelationalPathBase in com.evolveum.midpoint.repo.sqlbase.filtering.item
Classes in com.evolveum.midpoint.repo.sqlbase.filtering.item with type parameters of type FlexibleRelationalPathBase Modifier and Type Class Description class
DetailTableItemFilterProcessor<S,Q extends FlexibleRelationalPathBase<?>,DQ extends FlexibleRelationalPathBase<DR>,DR>
Filter processor for a an attribute path (Prism item) that is stored in detail table.class
DetailTableItemFilterProcessor<S,Q extends FlexibleRelationalPathBase<?>,DQ extends FlexibleRelationalPathBase<DR>,DR>
Filter processor for a an attribute path (Prism item) that is stored in detail table.Methods in com.evolveum.midpoint.repo.sqlbase.filtering.item with type parameters of type FlexibleRelationalPathBase Modifier and Type Method Description static <Q extends FlexibleRelationalPathBase<R>,R>
ItemSqlMapper<Q,R>CanonicalItemPathItemFilterProcessor. mapper(Function<Q,com.querydsl.core.types.dsl.StringPath> rootToQueryItem)
Returns the mapper creating the item path filter processor from the context.static <Q extends FlexibleRelationalPathBase<R>,R,DQ extends FlexibleRelationalPathBase<DR>,DR>
ItemSqlMapper<Q,R>DetailTableItemFilterProcessor. mapper(@NotNull Class<DQ> detailQueryType, @NotNull BiFunction<Q,DQ,com.querydsl.core.types.Predicate> joinOnPredicate, @NotNull ItemSqlMapper<DQ,DR> nestedItemMapper)
Creates composition mapper that defines: 1.static <Q extends FlexibleRelationalPathBase<R>,R,DQ extends FlexibleRelationalPathBase<DR>,DR>
ItemSqlMapper<Q,R>DetailTableItemFilterProcessor. mapper(@NotNull Class<DQ> detailQueryType, @NotNull BiFunction<Q,DQ,com.querydsl.core.types.Predicate> joinOnPredicate, @NotNull ItemSqlMapper<DQ,DR> nestedItemMapper)
Creates composition mapper that defines: 1.static <Q extends FlexibleRelationalPathBase<R>,R>
ItemSqlMapper<Q,R>EnumOrdinalItemFilterProcessor. mapper(@NotNull Function<Q,com.querydsl.core.types.Path<Integer>> rootToQueryItem)
Returns the mapper creating the enum filter processor from context.static <Q extends FlexibleRelationalPathBase<R>,R,E extends Enum<E>>
ItemSqlMapper<Q,R>EnumOrdinalItemFilterProcessor. mapper(@NotNull Function<Q,com.querydsl.core.types.Path<Integer>> rootToQueryItem, @Nullable Function<E,Enum<?>> conversionFunction)
Returns the mapper creating the enum filter processor from context with enum value conversion function. -
Uses of FlexibleRelationalPathBase in com.evolveum.midpoint.repo.sqlbase.mapping
Classes in com.evolveum.midpoint.repo.sqlbase.mapping with type parameters of type FlexibleRelationalPathBase Modifier and Type Class Description class
DefaultItemSqlMapper<S,Q extends FlexibleRelationalPathBase<R>,R>
Declarative information how an item (from schema/prism world) is to be processed when interpreting query.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.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.static class
ItemRelationResolver.ResolutionResult<TQ extends FlexibleRelationalPathBase<TR>,TR>
interface
ItemSqlMapper<Q extends FlexibleRelationalPathBase<R>,R>
Defines contract for mapping component holding information how an item (from schema/prism world) is to be processed when interpreting query.class
QueryModelMapping<S,Q extends FlexibleRelationalPathBase<R>,R>
Common mapping functionality that covers the need for mapping from item paths to table columns, but also to nested embedded mappings (e.g.class
QueryTableMapping<S,Q extends FlexibleRelationalPathBase<R>,R>
Common supertype for mapping items/attributes between schema (prism) classes and tables.interface
ResultListRowTransformer<S,Q extends FlexibleRelationalPathBase<R>,R>
Helps with row transformation of result lists, possibly in stateful context.class
SqlDetailFetchMapper<R,I,DQ extends FlexibleRelationalPathBase<DR>,DR>
Mapper/fetcher of many detail records for one master record.class
TableRelationResolver<Q extends FlexibleRelationalPathBase<R>,R,TS,TQ extends FlexibleRelationalPathBase<TR>,TR>
Resolver that knows how to traverse to the specified target query type.class
TableRelationResolver<Q extends FlexibleRelationalPathBase<R>,R,TS,TQ extends FlexibleRelationalPathBase<TR>,TR>
Resolver that knows how to traverse to the specified target query type.Methods in com.evolveum.midpoint.repo.sqlbase.mapping with type parameters of type FlexibleRelationalPathBase Modifier and Type Method Description <S,Q extends FlexibleRelationalPathBase<R>,R>
QueryTableMapping<S,Q,R>QueryModelMappingRegistry. getByQueryType(Class<Q> queryType)
<S,Q extends FlexibleRelationalPathBase<R>,R,QM extends QueryTableMapping<S,Q,R>>
QMQueryModelMappingRegistry. getBySchemaType(Class<S> schemaType)
<TQ extends FlexibleRelationalPathBase<TR>,TR>
@Nullable ItemRelationResolver<Q,R,TQ,TR>QueryModelMapping. getRelationResolver(QName itemName)
ReturnsItemRelationResolver
for providedItemName
or `null`.protected <TQ extends FlexibleRelationalPathBase<TR>,TR>
BiFunction<Q,TQ,com.querydsl.core.types.Predicate>QueryTableMapping. joinOn(BiFunction<Q,TQ,com.querydsl.core.types.Predicate> joinOnPredicateFunction)
Lambda "wrapper" that helps with the type inference (namely the current Q type).<TQ extends FlexibleRelationalPathBase<TR>,TR>
@NotNull ItemRelationResolver<Q,R,TQ,TR>QueryModelMapping. relationResolver(ItemPath path)
ReturnsItemRelationResolver
for the first component of the providedItemPath
or throws if the resolver is not found.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.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.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)
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)
-