Uses of Class
com.evolveum.midpoint.repo.sqlbase.mapping.QueryTableMapping
Package
Description
-
Uses of QueryTableMapping in com.evolveum.midpoint.repo.sqale
Modifier and TypeMethodDescriptionprotected <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 QueryTableMapping in com.evolveum.midpoint.repo.sqale.audit.qmodel
Modifier and TypeClassDescriptionclass
Mapping betweenQAuditDelta
andObjectDeltaOperationType
.class
Mapping betweenQAuditEventRecord
andAuditEventRecordType
.class
Mapping betweenQAuditRefValue
andAuditEventRecordReferenceType
. -
Uses of QueryTableMapping in com.evolveum.midpoint.repo.sqale.mapping
Modifier and TypeClassDescriptionclass
SqaleTableMapping<S,
Q extends FlexibleRelationalPathBase<R>, R> Mapping superclass with common functions forQObject
and non-objects (e.g.Modifier and TypeMethodDescriptionSqaleMappingMixin.addAuditRefMapping
(@NotNull QName itemName, @NotNull Function<Q, UuidPath> rootToOidPath, @Nullable Function<Q, com.querydsl.core.types.dsl.EnumPath<MObjectType>> rootToTypePath, @NotNull Function<Q, com.querydsl.core.types.dsl.StringPath> rootToTargetNamePath, @NotNull Supplier<QueryTableMapping<TS, TQ, TR>> targetMappingSupplier) Defines single-value reference mapping for query, columns embedded in the table.SqaleMappingMixin.addRefMapping
(@NotNull QName itemName, @NotNull Function<Q, UuidPath> rootToOidPath, @Nullable Function<Q, com.querydsl.core.types.dsl.EnumPath<MObjectType>> rootToTypePath, @Nullable Function<Q, com.querydsl.core.types.dsl.NumberPath<Integer>> rootToRelationIdPath, @NotNull Supplier<QueryTableMapping<TS, TQ, TR>> targetMappingSupplier) Defines single-value reference mapping for both query and modifications, columns embedded in the table.SqaleNestedMapping.addRefMapping
(@NotNull QName itemName, @NotNull Function<Q, UuidPath> rootToOidPath, @Nullable Function<Q, com.querydsl.core.types.dsl.EnumPath<MObjectType>> rootToTypePath, @Nullable Function<Q, com.querydsl.core.types.dsl.NumberPath<Integer>> rootToRelationIdPath, @NotNull Supplier<QueryTableMapping<TS, TQ, TR>> targetMappingSupplier) ModifierConstructorDescriptionEmbeddedReferenceResolver
(@NotNull Class<Q> queryType, @NotNull Function<Q, UuidPath> rootToOidPath, @NotNull Supplier<QueryTableMapping<TS, TQ, TR>> targetMappingSupplier) RefTableTargetResolver
(@NotNull Supplier<QueryTableMapping<?, TQ, TR>> targetMappingSupplier) -
Uses of QueryTableMapping in com.evolveum.midpoint.repo.sqale.qmodel.accesscert
Modifier and TypeClassDescriptionclass
Mapping betweenQAccessCertificationCampaign
andAccessCertificationCampaignType
.class
Mapping betweenQAccessCertificationCase
andAccessCertificationCaseType
.class
Mapping betweenQAccessCertificationDefinition
andAccessCertificationDefinitionType
.class
Mapping betweenQAccessCertificationWorkItem
andAccessCertificationWorkItemType
.class
Mapping betweenQAccessCertificationWorkItemReference
andObjectReferenceType
. -
Uses of QueryTableMapping in com.evolveum.midpoint.repo.sqale.qmodel.assignment
Modifier and TypeClassDescriptionclass
QAssignmentMapping<OR extends MObject>
Mapping betweenQAssignment
andAssignmentType
.class
QAssignmentReferenceMapping<AOR extends MObject>
Mapping betweenQAssignmentReference
andObjectReferenceType
. -
Uses of QueryTableMapping in com.evolveum.midpoint.repo.sqale.qmodel.cases
-
Uses of QueryTableMapping in com.evolveum.midpoint.repo.sqale.qmodel.cases.workitem
Modifier and TypeClassDescriptionclass
Mapping betweenQCaseWorkItem
andCaseWorkItemType
.class
Mapping betweenQCaseWorkItemReference
andObjectReferenceType
. -
Uses of QueryTableMapping in com.evolveum.midpoint.repo.sqale.qmodel.common
Modifier and TypeClassDescriptionclass
QContainerMapping<S extends Containerable,
Q extends QContainer<R, OR>, R extends MContainer, OR> Mapping betweenQContainer
andContainerable
. -
Uses of QueryTableMapping in com.evolveum.midpoint.repo.sqale.qmodel.connector
Modifier and TypeClassDescriptionclass
Mapping betweenQConnectorHost
andConnectorHostType
.class
Mapping betweenQConnector
andConnectorType
. -
Uses of QueryTableMapping in com.evolveum.midpoint.repo.sqale.qmodel.focus
Modifier and TypeClassDescriptionclass
QFocusIdentityMapping<OR extends MFocus>
Mapping betweenQFocusIdentity
andFocusIdentityType
.class
QFocusMapping<S extends FocusType,
Q extends QFocus<R>, R extends MFocus> class
Mapping betweenQGenericObject
andGenericObjectType
.class
-
Uses of QueryTableMapping in com.evolveum.midpoint.repo.sqale.qmodel.lookuptable
Modifier and TypeClassDescriptionclass
Mapping betweenQLookupTable
andLookupTableType
.class
Mapping betweenQLookupTableRow
andLookupTableRowType
. -
Uses of QueryTableMapping in com.evolveum.midpoint.repo.sqale.qmodel.mining.cluster
-
Uses of QueryTableMapping in com.evolveum.midpoint.repo.sqale.qmodel.mining.session
-
Uses of QueryTableMapping in com.evolveum.midpoint.repo.sqale.qmodel.node
-
Uses of QueryTableMapping in com.evolveum.midpoint.repo.sqale.qmodel.notification
-
Uses of QueryTableMapping in com.evolveum.midpoint.repo.sqale.qmodel.object
Modifier and TypeClassDescriptionclass
QAssignmentHolderMapping<S extends AssignmentHolderType,
Q extends QAssignmentHolder<R>, R extends MObject> Mapping betweenQAssignmentHolder
andAssignmentHolderType
.class
QObjectMapping<S extends ObjectType,
Q extends QObject<R>, R extends MObject> Mapping betweenQObject
andObjectType
.class
QOperationExecutionMapping<OR extends MObject>
Mapping betweenQOperationExecution
andOperationExecutionType
.class
QTriggerMapping<OR extends MObject>
Mapping betweenQTrigger
andTriggerType
. -
Uses of QueryTableMapping in com.evolveum.midpoint.repo.sqale.qmodel.org
-
Uses of QueryTableMapping in com.evolveum.midpoint.repo.sqale.qmodel.other
Modifier and TypeClassDescriptionclass
Mapping betweenQDashboard
andDashboardType
.class
class
Mapping betweenQFunctionLibrary
andFunctionLibraryType
.class
Mapping betweenQObjectCollection
andObjectCollectionType
.class
Mapping betweenQObjectTemplate
andObjectTemplateType
.class
Mapping betweenQSequence
andSequenceType
. -
Uses of QueryTableMapping in com.evolveum.midpoint.repo.sqale.qmodel.ref
Modifier and TypeClassDescriptionclass
QObjectReferenceMapping<OS extends ObjectType,
OQ extends QObject<OR>, OR extends MObject> Mapping betweenQObjectReference
andObjectReferenceType
.class
QReferenceMapping<Q extends QReference<R,
OR>, R extends MReference, OQ extends FlexibleRelationalPathBase<OR>, OR> Base mapping betweenQReference
subclasses andObjectReferenceType
.ModifierConstructorDescriptionprotected
QReferenceMapping
(String tableName, String defaultAliasName, Class<Q> queryType, @NotNull SqaleRepoContext repositoryContext, @NotNull Supplier<QueryTableMapping<?, TQ, TR>> targetMappingSupplier) protected
QReferenceMapping
(String tableName, String defaultAliasName, Class<Q> queryType, @NotNull SqaleRepoContext repositoryContext, @NotNull Supplier<QueryTableMapping<?, TQ, TR>> targetMappingSupplier, @Nullable Supplier<QueryTableMapping<OS, OQ, OR>> ownerMappingSupplier, @Nullable BiFunction<Q, OQ, com.querydsl.core.types.Predicate> ownerJoin, @Nullable Class<?> ownerType, @Nullable ItemPath referencePath) Constructor with owner related parameters to support reference search. -
Uses of QueryTableMapping in com.evolveum.midpoint.repo.sqale.qmodel.report
Modifier and TypeClassDescriptionclass
Mapping betweenQReportData
andReportDataType
.class
Mapping betweenQReport
andReportType
. -
Uses of QueryTableMapping in com.evolveum.midpoint.repo.sqale.qmodel.resource
-
Uses of QueryTableMapping in com.evolveum.midpoint.repo.sqale.qmodel.role
Modifier and TypeClassDescriptionclass
QAbstractRoleMapping<S extends AbstractRoleType,
Q extends QAbstractRole<R>, R extends MAbstractRole> Mapping betweenQAbstractRole
andAbstractRoleType
.class
Mapping betweenQArchetype
andArchetypeType
.class
class
Mapping betweenQService
andServiceType
. -
Uses of QueryTableMapping in com.evolveum.midpoint.repo.sqale.qmodel.shadow
-
Uses of QueryTableMapping in com.evolveum.midpoint.repo.sqale.qmodel.simulation
Modifier and TypeClassDescriptionclass
class
class
ModifierConstructorDescriptionprotected
QProcessedObjectEventMarkReferenceMapping
(String tableName, String defaultAliasName, @NotNull SqaleRepoContext repositoryContext, @NotNull Supplier<QueryTableMapping<?, TQ, TR>> targetMappingSupplier) -
Uses of QueryTableMapping in com.evolveum.midpoint.repo.sqale.qmodel.system
Modifier and TypeClassDescriptionclass
Mapping betweenQSecurityPolicy
andSecurityPolicyType
.class
Mapping betweenQSystemConfiguration
andSystemConfigurationType
.class
Mapping betweenQValuePolicy
andValuePolicyType
. -
Uses of QueryTableMapping in com.evolveum.midpoint.repo.sqale.qmodel.tag
-
Uses of QueryTableMapping in com.evolveum.midpoint.repo.sqale.qmodel.task
Modifier and TypeClassDescriptionclass
class
-
Uses of QueryTableMapping in com.evolveum.midpoint.repo.sqlbase
Modifier and TypeFieldDescriptionprotected final QueryTableMapping<S,
Q, R> SqlQueryContext.entityPathMapping
Modifier and TypeMethodDescription<S,
Q extends FlexibleRelationalPathBase<R>, R, QM extends QueryTableMapping<S, Q, R>>
QMSqlRepoContext.getMappingBySchemaType
(Class<S> schemaType) Modifier and TypeMethodDescription<TS,
TQ extends FlexibleRelationalPathBase<TR>, TR>
QueryTableMapping<TS,TQ, TR> SqlRepoContext.getMappingByQueryType
(Class<TQ> queryType) SqlQueryContext.mapping()
Modifier and TypeMethodDescription<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.ModifierConstructorDescriptionprotected
SqlQueryContext
(Q entityPath, QueryTableMapping<S, Q, R> mapping, SqlQueryContext<?, ?, ?> parentContext, com.querydsl.sql.SQLQuery<?> sqlQuery) Constructor for derived context or sub-context, e.g.protected
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
Modifier and TypeFieldDescriptionprotected final Supplier<QueryTableMapping<TS,
TQ, TR>> TableRelationResolver.targetMappingSupplier
Modifier and TypeMethodDescription<S,
Q extends FlexibleRelationalPathBase<R>, R, QM extends QueryTableMapping<S, Q, R>>
QMQueryModelMappingRegistry.getBySchemaType
(Class<S> schemaType) Modifier and TypeMethodDescription<S,
Q extends FlexibleRelationalPathBase<R>, R>
QueryTableMapping<S,Q, R> QueryModelMappingRegistry.getByQueryType
(Class<Q> queryType) TableRelationResolver.mapping()
Modifier and TypeMethodDescriptionQueryModelMappingRegistry.register
(QueryTableMapping<?, ?, ?> mapping) Register mapper not bound to a schema type.QueryModelMappingRegistry.register
(QName schemaQName, QueryTableMapping<?, ?, ?> mapping) Register mapper bound to a schema type.TableRelationResolver.replaceTable
(QueryTableMapping<? extends TS, TQ, TR> target) <AQ extends FlexibleRelationalPathBase<AR>,
AS, AR>
TableRelationResolver<TQ,TR, AS, AQ, AR> TableRelationResolver.reverse
(@NotNull QueryTableMapping<AS, AQ, AR> targetMapping) 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> correlationPredicateFunction) Modifier and TypeMethodDescriptionstatic <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> correlationPredicateFunction) Currently the decision to use `JOIN` is static in the mapping, but it can be more flexible.ModifierConstructorDescriptionprotected
TableRelationResolver
(@NotNull QueryTableMapping<TS, TQ, TR> targetMapping, @NotNull BiFunction<Q, TQ, com.querydsl.core.types.Predicate> correlationPredicateFunction) Constructor for relation resolver using `EXISTS` subquery to the table.