Uses of Class
com.evolveum.midpoint.repo.sqlbase.querydsl.FlexibleRelationalPathBase
-
-
Uses of FlexibleRelationalPathBase in com.evolveum.midpoint.repo.sqale
Classes in com.evolveum.midpoint.repo.sqale with type parameters of type FlexibleRelationalPathBase Modifier and Type Class Description class
SqaleQueryContext<S,Q extends FlexibleRelationalPathBase<R>,R>
Methods in com.evolveum.midpoint.repo.sqale with type parameters of type FlexibleRelationalPathBase Modifier and Type Method Description static <S,Q extends FlexibleRelationalPathBase<R>,R>
SqaleQueryContext<S,Q,R>SqaleQueryContext. from(Class<S> schemaType, SqaleRepoContext sqlRepoContext)
static <S,Q extends FlexibleRelationalPathBase<R>,R>
SqaleQueryContext<S,Q,R>SqaleQueryContext. from(Class<S> schemaType, SqaleRepoContext sqlRepoContext, SqaleObjectLoader objectLoader)
static <S,Q extends FlexibleRelationalPathBase<R>,R>
SqaleQueryContext<S,Q,R>SqaleQueryContext. from(Class<S> schemaType, SqaleRepoContext sqlRepoContext, com.querydsl.sql.SQLQuery<?> sqlQuery, SqaleObjectLoader objectLoader)
Factory method useful for cases when specific sqlQuery instance needs to be provided.protected <TS,TQ extends FlexibleRelationalPathBase<TR>,TR>
SqlQueryContext<TS,TQ,TR>SqaleQueryContext. newSubcontext(TQ newPath, QueryTableMapping<TS,TQ,TR> newMapping)
Returns derivedSqaleQueryContext
for JOIN.protected <TS,TQ extends FlexibleRelationalPathBase<TR>,TR>
SqlQueryContext<TS,TQ,TR>SqaleQueryContext. newSubcontext(TQ newPath, QueryTableMapping<TS,TQ,TR> newMapping, com.querydsl.sql.SQLQuery<?> query)
Returns derivedSqaleQueryContext
for subquery. -
Uses of FlexibleRelationalPathBase in com.evolveum.midpoint.repo.sqale.audit.filtering
Methods in com.evolveum.midpoint.repo.sqale.audit.filtering with type parameters of type FlexibleRelationalPathBase Modifier and Type Method Description static <Q extends FlexibleRelationalPathBase<R>,R>
ItemSqlMapper<Q,R>AuditCustomColumnItemFilterProcessor. mapper()
Returns the mapper creating the string filter processor from context. -
Uses of FlexibleRelationalPathBase in com.evolveum.midpoint.repo.sqale.audit.qmodel
Subclasses of FlexibleRelationalPathBase in com.evolveum.midpoint.repo.sqale.audit.qmodel Modifier and Type Class Description class
QAuditDelta
Querydsl query type for `MA_AUDIT_DELTA` table.class
QAuditEventRecord
Querydsl query type for `MA_AUDIT_EVENT` table.class
QAuditRefValue
Querydsl query type for `MA_AUDIT_REF` table. -
Uses of FlexibleRelationalPathBase in com.evolveum.midpoint.repo.sqale.delta.item
Classes in com.evolveum.midpoint.repo.sqale.delta.item with type parameters of type FlexibleRelationalPathBase Modifier and Type Class Description class
ContainerTableDeltaProcessor<T extends Containerable,Q extends QContainer<R,OR>,R extends MContainer,OQ extends FlexibleRelationalPathBase<OR>,OR>
Delta value processor for multi-value containers stored in separate tables.class
RefTableItemDeltaProcessor<Q extends QReference<?,OR>,OQ extends FlexibleRelationalPathBase<OR>,OR>
Delta value processor for multi-value references stored in separate tables. -
Uses of FlexibleRelationalPathBase in com.evolveum.midpoint.repo.sqale.filtering
Classes in com.evolveum.midpoint.repo.sqale.filtering with type parameters of type FlexibleRelationalPathBase Modifier and Type Class Description class
ExistsFilterProcessor<Q extends FlexibleRelationalPathBase<R>,R>
Filter processor that resolvesExistsFilter
.class
RefTableItemFilterProcessor<Q extends QReference<R,OR>,R extends MReference,OQ extends FlexibleRelationalPathBase<OR>,OR>
Filter processor for reference item paths resolved viaQReference
tables.Constructor parameters in com.evolveum.midpoint.repo.sqale.filtering with type arguments of type FlexibleRelationalPathBase Constructor Description ExtensionItemFilterProcessor(SqlQueryContext<?,?,?> context, Function<FlexibleRelationalPathBase<?>,JsonbPath> rootToExtensionPath, MExtItemHolderType holderType)
-
Uses of FlexibleRelationalPathBase in com.evolveum.midpoint.repo.sqale.mapping
Classes in com.evolveum.midpoint.repo.sqale.mapping with type parameters of type FlexibleRelationalPathBase Modifier and Type Class Description class
ContainerTableRelationResolver<Q extends FlexibleRelationalPathBase<R>,R,TS extends Containerable,TQ extends QContainer<TR,R> & QOwnedBy<R>,TR extends MContainer>
Resolver that knows how to traverse to the specified container table.class
CountMappingResolver<Q extends FlexibleRelationalPathBase<R>,R>
Resolver that maps the container item to the count column.class
EmbeddedReferenceResolver<Q extends FlexibleRelationalPathBase<R>,R>
Resolver supporting dereferencing of embedded references.class
ExtensionItemSqlMapper<Q extends FlexibleRelationalPathBase<R>,R>
Extension item mapper that is much lazier thanSqaleItemSqlMapper
for typical column.class
ExtensionMapping<Q extends FlexibleRelationalPathBase<R>,R>
This acts like a container mapping for extension/attributes containers.class
ExtensionMappingResolver<Q extends FlexibleRelationalPathBase<R>,R>
Resolver for indexed extension/attributes containers.class
NestedMappingResolver<S extends Containerable,Q extends FlexibleRelationalPathBase<R>,R>
Resolver that maps the nested items (next component of the path) to the same table (query type).interface
SqaleItemRelationResolver<Q extends FlexibleRelationalPathBase<R>,R,TQ extends FlexibleRelationalPathBase<TR>,TR>
Extension ofItemRelationResolver
, this is a common contract for resolver that helps with navigating over complex (non-single) item paths for both query and application of delta modification.interface
SqaleItemRelationResolver<Q extends FlexibleRelationalPathBase<R>,R,TQ extends FlexibleRelationalPathBase<TR>,TR>
Extension ofItemRelationResolver
, this is a common contract for resolver that helps with navigating over complex (non-single) item paths for both query and application of delta modification.class
SqaleItemSqlMapper<S,Q extends FlexibleRelationalPathBase<R>,R>
Declarative information how an item (from schema/prism world) is to be processed when interpreting query or applying delta (delta application is addition to sqlbase superclass).interface
SqaleMappingMixin<S,Q extends FlexibleRelationalPathBase<R>,R>
Mix of common mapping support methods that is needed on bothSqaleNestedMapping
andSqaleTableMapping
which are in separate branches of the hierarchy starting in repo-sqlbase - which is out of reach and sqale-specific functionality can't go there.class
SqaleNestedMapping<S,Q extends FlexibleRelationalPathBase<R>,R>
Sqale implementation for nested mapping with support for sqale specific types.class
SqaleTableMapping<S,Q extends FlexibleRelationalPathBase<R>,R>
Mapping superclass with common functions forQObject
and non-objects (e.g.interface
UpdatableItemSqlMapper<Q extends FlexibleRelationalPathBase<R>,R>
Extension ofItemSqlMapper
adding update capability (delta processing).Methods in com.evolveum.midpoint.repo.sqale.mapping with type parameters of type FlexibleRelationalPathBase Modifier and Type Method Description protected <REF extends MReference,OQ extends FlexibleRelationalPathBase<OR>,OR>
voidSqaleTableMapping. storeRefs(OR ownerRow, @NotNull List<ObjectReferenceType> refs, @NotNull QReferenceMapping<?,REF,OQ,OR> mapping, @NotNull JdbcSession jdbcSession)
-
Uses of FlexibleRelationalPathBase in com.evolveum.midpoint.repo.sqale.qmodel.accesscert
Subclasses of FlexibleRelationalPathBase in com.evolveum.midpoint.repo.sqale.qmodel.accesscert Modifier and Type Class Description class
QAccessCertificationCampaign
Querydsl query type for "m_access_cert_campaign" table.class
QAccessCertificationCase
Querydsl query type for "m_access_cert_case" table.class
QAccessCertificationDefinition
Querydsl query type for "m_access_cert_definition" table.class
QAccessCertificationWorkItem
Querydsl query type for "m_access_cert_wi" table.class
QAccessCertificationWorkItemReference
Querydsl query type for case work item reference tables. -
Uses of FlexibleRelationalPathBase in com.evolveum.midpoint.repo.sqale.qmodel.assignment
Subclasses of FlexibleRelationalPathBase in com.evolveum.midpoint.repo.sqale.qmodel.assignment Modifier and Type Class Description class
QAssignment<OR extends MObject>
Querydsl query type for "m_assignment" table.class
QAssignmentReference
Querydsl query type for assignment reference tables (for assignment metadata references). -
Uses of FlexibleRelationalPathBase in com.evolveum.midpoint.repo.sqale.qmodel.cases
Subclasses of FlexibleRelationalPathBase in com.evolveum.midpoint.repo.sqale.qmodel.cases Modifier and Type Class Description class
QCase
Querydsl query type for "m_case" table. -
Uses of FlexibleRelationalPathBase in com.evolveum.midpoint.repo.sqale.qmodel.cases.workitem
Subclasses of FlexibleRelationalPathBase in com.evolveum.midpoint.repo.sqale.qmodel.cases.workitem Modifier and Type Class Description class
QCaseWorkItem
Querydsl query type for "m_case_wi" table.class
QCaseWorkItemReference
Querydsl query type for case work item reference tables. -
Uses of FlexibleRelationalPathBase in com.evolveum.midpoint.repo.sqale.qmodel.common
Subclasses of FlexibleRelationalPathBase in com.evolveum.midpoint.repo.sqale.qmodel.common Modifier and Type Class Description class
QContainer<R extends MContainer,OR>
Querydsl query type for "m_container" table.class
QGlobalMetadata
class
QUri
Querydsl query type for "m_uri" table that contains repetitive URIs (e.g. -
Uses of FlexibleRelationalPathBase in com.evolveum.midpoint.repo.sqale.qmodel.connector
Subclasses of FlexibleRelationalPathBase in com.evolveum.midpoint.repo.sqale.qmodel.connector Modifier and Type Class Description class
QConnector
Querydsl query type for "m_connector" table.class
QConnectorHost
Querydsl query type for "m_connector_host" table. -
Uses of FlexibleRelationalPathBase in com.evolveum.midpoint.repo.sqale.qmodel.ext
Subclasses of FlexibleRelationalPathBase in com.evolveum.midpoint.repo.sqale.qmodel.ext Modifier and Type Class Description class
QExtItem
Querydsl query type for "m_ext_item" table with the catalog of indexed extension items. -
Uses of FlexibleRelationalPathBase in com.evolveum.midpoint.repo.sqale.qmodel.focus
Subclasses of FlexibleRelationalPathBase in com.evolveum.midpoint.repo.sqale.qmodel.focus Modifier and Type Class Description class
QFocus<R extends MFocus>
Querydsl query type for "m_focus" table.class
QGenericObject
Querydsl query type for "m_generic_object" table.class
QUser
Querydsl query type for "m_user" table. -
Uses of FlexibleRelationalPathBase in com.evolveum.midpoint.repo.sqale.qmodel.lookuptable
Subclasses of FlexibleRelationalPathBase in com.evolveum.midpoint.repo.sqale.qmodel.lookuptable Modifier and Type Class Description class
QLookupTable
Querydsl query type for "m_lookup_table" table.class
QLookupTableRow
Querydsl query type for "m_lookup_table_row" table. -
Uses of FlexibleRelationalPathBase in com.evolveum.midpoint.repo.sqale.qmodel.node
Subclasses of FlexibleRelationalPathBase in com.evolveum.midpoint.repo.sqale.qmodel.node Modifier and Type Class Description class
QNode
Querydsl query type for "m_node" table. -
Uses of FlexibleRelationalPathBase in com.evolveum.midpoint.repo.sqale.qmodel.object
Subclasses of FlexibleRelationalPathBase in com.evolveum.midpoint.repo.sqale.qmodel.object Modifier and Type Class Description class
QAssignmentHolder<R extends MObject>
Querydsl query type for "m_assignment_holder" table.class
QObject<R extends MObject>
Querydsl query type for "m_object" table.class
QOperationExecution<OR extends MObject>
Querydsl query type for "m_operation_execution" table.class
QTrigger<OR extends MObject>
Querydsl query type for "m_trigger" table. -
Uses of FlexibleRelationalPathBase in com.evolveum.midpoint.repo.sqale.qmodel.org
Subclasses of FlexibleRelationalPathBase in com.evolveum.midpoint.repo.sqale.qmodel.org Modifier and Type Class Description class
QOrg
Querydsl query type for "m_org" table.class
QOrgClosure
Querydsl query type for org closure table. -
Uses of FlexibleRelationalPathBase in com.evolveum.midpoint.repo.sqale.qmodel.other
Subclasses of FlexibleRelationalPathBase in com.evolveum.midpoint.repo.sqale.qmodel.other Modifier and Type Class Description class
QDashboard
Querydsl query type for "m_dashboard" table.class
QForm
Querydsl query type for "m_form" table.class
QFunctionLibrary
Querydsl query type for "m_function_library" table.class
QObjectCollection
Querydsl query type for "m_object_collection" table.class
QObjectTemplate
Querydsl query type for "m_object_template" table.class
QSequence
Querydsl query type for "m_sequence" table. -
Uses of FlexibleRelationalPathBase in com.evolveum.midpoint.repo.sqale.qmodel.ref
Classes in com.evolveum.midpoint.repo.sqale.qmodel.ref with type parameters of type FlexibleRelationalPathBase Modifier and Type Class Description class
QReferenceMapping<Q extends QReference<R,OR>,R extends MReference,OQ extends FlexibleRelationalPathBase<OR>,OR>
Base mapping betweenQReference
subclasses andObjectReferenceType
.Subclasses of FlexibleRelationalPathBase in com.evolveum.midpoint.repo.sqale.qmodel.ref Modifier and Type Class Description class
QObjectReference<OR extends MObject>
Querydsl query type for object owned references.class
QReference<R extends MReference,OR>
Querydsl query type for "m_reference" table that contains all persisted object references. -
Uses of FlexibleRelationalPathBase in com.evolveum.midpoint.repo.sqale.qmodel.report
Subclasses of FlexibleRelationalPathBase in com.evolveum.midpoint.repo.sqale.qmodel.report Modifier and Type Class Description class
QReport
Querydsl query type for "m_report" table.class
QReportData
Querydsl query type for "m_report_data" table. -
Uses of FlexibleRelationalPathBase in com.evolveum.midpoint.repo.sqale.qmodel.resource
Subclasses of FlexibleRelationalPathBase in com.evolveum.midpoint.repo.sqale.qmodel.resource Modifier and Type Class Description class
QResource
Querydsl query type for "m_resource" table. -
Uses of FlexibleRelationalPathBase in com.evolveum.midpoint.repo.sqale.qmodel.role
Subclasses of FlexibleRelationalPathBase in com.evolveum.midpoint.repo.sqale.qmodel.role Modifier and Type Class Description class
QAbstractRole<R extends MAbstractRole>
Querydsl query type for "m_abstract_role" table.class
QArchetype
Querydsl query type for "m_archetype" table.class
QRole
Querydsl query type for "m_role" table.class
QService
Querydsl query type for "m_service" table. -
Uses of FlexibleRelationalPathBase in com.evolveum.midpoint.repo.sqale.qmodel.shadow
Subclasses of FlexibleRelationalPathBase in com.evolveum.midpoint.repo.sqale.qmodel.shadow Modifier and Type Class Description class
QShadow
Querydsl query type for "m_shadow" table. -
Uses of FlexibleRelationalPathBase in com.evolveum.midpoint.repo.sqale.qmodel.system
Subclasses of FlexibleRelationalPathBase in com.evolveum.midpoint.repo.sqale.qmodel.system Modifier and Type Class Description class
QSecurityPolicy
Querydsl query type for "m_security_policy" table.class
QSystemConfiguration
Querydsl query type for "m_system_configuration" table.class
QValuePolicy
Querydsl query type for "m_value_policy" table. -
Uses of FlexibleRelationalPathBase in com.evolveum.midpoint.repo.sqale.qmodel.task
Subclasses of FlexibleRelationalPathBase in com.evolveum.midpoint.repo.sqale.qmodel.task Modifier and Type Class Description class
QTask
Querydsl query type for "m_task" table. -
Uses of FlexibleRelationalPathBase in com.evolveum.midpoint.repo.sqale.update
Classes in com.evolveum.midpoint.repo.sqale.update with type parameters of type FlexibleRelationalPathBase Modifier and Type Class Description class
ExtensionUpdateContext<Q extends FlexibleRelationalPathBase<R>,R>
Update context for extension/attributes JSONB column.class
NestedContainerUpdateContext<S extends Containerable,Q extends FlexibleRelationalPathBase<R>,R>
Update context for nested containers stored in the same table used by the parent context.class
SqaleUpdateContext<S,Q extends FlexibleRelationalPathBase<R>,R>
Update context manages state information related to the currently executed modify operation. -
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)
-