Class QClusterDetectedPatternMapping
java.lang.Object
com.evolveum.midpoint.repo.sqlbase.mapping.QueryModelMapping<S,Q,R>
com.evolveum.midpoint.repo.sqlbase.mapping.QueryTableMapping<S,Q,R>
com.evolveum.midpoint.repo.sqale.mapping.SqaleTableMapping<S,Q,R>
com.evolveum.midpoint.repo.sqale.qmodel.common.QContainerMapping<RoleAnalysisDetectionPatternType,QClusterDetectedPattern,MClusterDetectedPattern,MClusterObject>
com.evolveum.midpoint.repo.sqale.qmodel.mining.cluster.QClusterDetectedPatternMapping
- All Implemented Interfaces:
QOwnedByMapping<RoleAnalysisDetectionPatternType,,MClusterDetectedPattern, MClusterObject> SqaleMappingMixin<RoleAnalysisDetectionPatternType,QClusterDetectedPattern, MClusterDetectedPattern>
public class QClusterDetectedPatternMapping
extends QContainerMapping<RoleAnalysisDetectionPatternType,QClusterDetectedPattern,MClusterDetectedPattern,MClusterObject>
-
Field Summary
Fields inherited from class com.evolveum.midpoint.repo.sqale.qmodel.common.QContainerMapping
DEFAULT_ALIAS_NAMEFields inherited from class com.evolveum.midpoint.repo.sqlbase.mapping.QueryModelMapping
logger -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedQClusterDetectedPatternMapping(SqaleRepoContext repositoryContext) -
Method Summary
Modifier and TypeMethodDescriptionResultListRowTransformer<RoleAnalysisDetectionPatternType,QClusterDetectedPattern, MClusterDetectedPattern> createRowTransformer(SqlQueryContext<RoleAnalysisDetectionPatternType, QClusterDetectedPattern, MClusterDetectedPattern> sqlQueryContext, JdbcSession jdbcSession, Collection<SelectorOptions<GetOperationOptions>> options) Returns result transformer that by default callsQueryTableMapping.toSchemaObject(Tuple, FlexibleRelationalPathBase, JdbcSession, Collection)for each result row.static @NotNull QClusterDetectedPatternMappingget()static @NotNull QClusterDetectedPatternMappinginitMapping(@NotNull SqaleRepoContext repositoryContext) insert(RoleAnalysisDetectionPatternType pattern, MClusterObject ownerRow, JdbcSession jdbcSession) protected QClusterDetectedPatternnewAliasInstance(String alias) Method returning new instance ofEntityPath- to be implemented by sub-mapping.newRowObject(MClusterObject ownerRow) Returns a row with foreign key fields referencing the provided owner row.Implemented for searchable containers that do not use fullObject for their recreation.Methods inherited from class com.evolveum.midpoint.repo.sqale.qmodel.common.QContainerMapping
attachContainerIdPath, attachOwnerOid, containerDepth, containerIdentityPredicate, containerIdPath, initContainerMapping, initRowObject, selectExpressions, toSchemaObject, useDeltaApplyResultsMethods inherited from class com.evolveum.midpoint.repo.sqale.mapping.SqaleTableMapping
addExtensionMapping, binaryMapper, booleanMapper, createFullObject, definitionDerivation, definitionDerivationKey, doubleMapper, enumMapper, fullObjectItemsToSkip, getDefinition, getPartitionManager, insert, integerMapper, multiPolyStringMapper, multiStringMapper, multiUriMapper, multiValueMapper, needsInitialization, objectReference, objectReference, objectTypeToQName, parseSchemaObject, parseSchemaObject, polyStringMapper, processCacheableRelation, processCacheableUri, processCacheableUri, processCacheableUris, processExtensionColumns, processExtensions, repositoryContext, resolveIdToUri, resolveReferenceNames, resolveUriIdToQName, schemaTypeToObjectType, setPolyString, setReference, storeRefs, stringMapper, stringsToArray, timestampMapper, toSchemaObjectComplete, toSchemaObjectCompleteSafe, toSchemaObjectInternal, uriMapper, uuidMapperMethods inherited from class com.evolveum.midpoint.repo.sqlbase.mapping.QueryTableMapping
addDetailFetchMapper, addExtensionColumn, defaultAlias, defaultAliasName, detailFetchMappers, getExtensionColumns, joinOn, longMapper, newAlias, prismContext, selectExpressionsWithCustomColumns, tableName, toString, updateGetOptionsMethods inherited from class com.evolveum.midpoint.repo.sqlbase.mapping.QueryModelMapping
addItemMapping, addRelationResolver, getItemMapper, getItemMappings, getRelationResolver, itemDefinition, itemMapper, queryType, relationResolver, schemaTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.repo.sqale.mapping.SqaleMappingMixin
addAuditRefMapping, addContainerTableMapping, addExtensionMapping, addItemMapping, addNestedMapping, addRefMapping, addRefMapping, addRelationResolver, afterModify, queryType
-
Constructor Details
-
QClusterDetectedPatternMapping
-
-
Method Details
-
initMapping
@NotNull public static @NotNull QClusterDetectedPatternMapping initMapping(@NotNull @NotNull SqaleRepoContext repositoryContext) -
get
-
newAliasInstance
Description copied from class:QueryTableMappingMethod returning new instance ofEntityPath- to be implemented by sub-mapping. This will create entity path without any extension columns, seeQueryTableMapping.newAlias(java.lang.String)for that. -
newRowObject
-
newRowObject
Description copied from interface:QOwnedByMappingReturns a row with foreign key fields referencing the provided owner row.- Specified by:
newRowObjectin interfaceQOwnedByMapping<RoleAnalysisDetectionPatternType,MClusterDetectedPattern, MClusterObject> - Overrides:
newRowObjectin classQContainerMapping<RoleAnalysisDetectionPatternType,QClusterDetectedPattern, MClusterDetectedPattern, MClusterObject>
-
insert
public MClusterDetectedPattern insert(RoleAnalysisDetectionPatternType pattern, MClusterObject ownerRow, JdbcSession jdbcSession) throws SchemaException - Specified by:
insertin interfaceQOwnedByMapping<RoleAnalysisDetectionPatternType,MClusterDetectedPattern, MClusterObject> - Overrides:
insertin classQContainerMapping<RoleAnalysisDetectionPatternType,QClusterDetectedPattern, MClusterDetectedPattern, MClusterObject> - Throws:
SchemaException
-
toSchemaObject
public RoleAnalysisDetectionPatternType toSchemaObject(MClusterDetectedPattern row) throws SchemaException Description copied from class:QContainerMappingImplemented for searchable containers that do not use fullObject for their recreation.- Overrides:
toSchemaObjectin classQContainerMapping<RoleAnalysisDetectionPatternType,QClusterDetectedPattern, MClusterDetectedPattern, MClusterObject> - Throws:
SchemaException
-
createRowTransformer
public ResultListRowTransformer<RoleAnalysisDetectionPatternType,QClusterDetectedPattern, createRowTransformerMClusterDetectedPattern> (SqlQueryContext<RoleAnalysisDetectionPatternType, QClusterDetectedPattern, MClusterDetectedPattern> sqlQueryContext, JdbcSession jdbcSession, Collection<SelectorOptions<GetOperationOptions>> options) Description copied from class:QueryTableMappingReturns result transformer that by default callsQueryTableMapping.toSchemaObject(Tuple, FlexibleRelationalPathBase, JdbcSession, Collection)for each result row. This can be overridden, seeResultListRowTransformerjavadoc for details. This is useful for stateful transformers where the whole result can be pre-/post-processed as well.
-