Class QOperationExecutionMapping<OR extends MObject>
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<S,Q,R,OR>
com.evolveum.midpoint.repo.sqale.qmodel.common.QContainerWithFullObjectMapping<OperationExecutionType,QOperationExecution<OR>,MOperationExecution,OR>
com.evolveum.midpoint.repo.sqale.qmodel.object.QOperationExecutionMapping<OR>
- Type Parameters:
OR- type of the owner row
- All Implemented Interfaces:
QOwnedByMapping<OperationExecutionType,,MOperationExecution, OR> SqaleMappingMixin<OperationExecutionType,,QOperationExecution<OR>, MOperationExecution> QSeparatelySerializedItem<QOperationExecution<OR>,MOperationExecution>
public class QOperationExecutionMapping<OR extends MObject>
extends QContainerWithFullObjectMapping<OperationExecutionType,QOperationExecution<OR>,MOperationExecution,OR>
Mapping between
QOperationExecution and OperationExecutionType.-
Field Summary
FieldsFields inherited from class com.evolveum.midpoint.repo.sqlbase.mapping.QueryModelMapping
logger -
Method Summary
Modifier and TypeMethodDescriptioncreateRowTransformer(SqlQueryContext<OperationExecutionType, QOperationExecution<OR>, MOperationExecution> sqlQueryContext, JdbcSession jdbcSession, Collection<SelectorOptions<GetOperationOptions>> options) Returns result transformer that by default callsQueryTableMapping.toSchemaObject(Tuple, FlexibleRelationalPathBase, JdbcSession, Collection)for each result row.protected CheckedFunction<SchemaRegistryState,ItemDefinition<?>, SystemException> protected SchemaRegistryState.DerivationKey<ItemDefinition<?>>static <OR extends MObject>
QOperationExecutionMapping<OR>get()static <OR extends MObject>
QOperationExecutionMapping<OR>init(@NotNull SqaleRepoContext repositoryContext) insert(OperationExecutionType schemaObject, OR ownerRow, JdbcSession jdbcSession) protected QOperationExecution<OR>newAliasInstance(String alias) Method returning new instance ofEntityPath- to be implemented by sub-mapping.newRowObject(OR ownerRow) Returns a row with foreign key fields referencing the provided owner row.com.querydsl.core.types.OrderSpecifier<?>orderSpecifier(QOperationExecution<OR> orqOperationExecution) Methods inherited from class com.evolveum.midpoint.repo.sqale.qmodel.common.QContainerWithFullObjectMapping
afterModify, allOwnedBy, createAlias, fullObjectExpressions, getOwner, getPrismItemType, hasFullObject, initRowObjectWithFullObject, toSchemaObject, toSchemaObjectEmbedded, useDeltaApplyResultsMethods inherited from class com.evolveum.midpoint.repo.sqale.qmodel.common.QContainerMapping
attachContainerIdPath, attachOwnerOid, containerDepth, containerIdentityPredicate, containerIdPath, initContainerMapping, initRowObject, selectExpressions, toSchemaObjectMethods inherited from class com.evolveum.midpoint.repo.sqale.mapping.SqaleTableMapping
addExtensionMapping, binaryMapper, booleanMapper, createFullObject, doubleMapper, enumMapper, fullObjectItemsToSkip, getDefinition, getPartitionManager, insert, integerMapper, multiPolyStringMapper, multiStringMapper, multiUriMapper, multiValueMapper, needsInitialization, objectReference, objectReference, objectTypeToQName, parseSchemaObject, parseSchemaObject, polyStringMapper, preprocessCacheableUris, 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, appendPaths, defaultAlias, defaultAliasName, detailFetchMappers, getExtensionColumns, joinOn, longMapper, newAlias, paths, 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.qmodel.object.QSeparatelySerializedItem
tableNameMethods inherited from interface com.evolveum.midpoint.repo.sqale.mapping.SqaleMappingMixin
addAuditRefMapping, addContainerTableMapping, addExtensionMapping, addItemMapping, addNestedMapping, addRefMapping, addRefMapping, addRelationResolver, queryType
-
Field Details
-
DEFAULT_ALIAS_NAME
- See Also:
-
-
Method Details
-
init
public static <OR extends MObject> QOperationExecutionMapping<OR> init(@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.- Overrides:
newAliasInstancein classQContainerMapping<OperationExecutionType,QOperationExecution<OR extends MObject>, MOperationExecution, OR extends MObject>
-
newRowObject
- Overrides:
newRowObjectin classQueryTableMapping<OperationExecutionType,QOperationExecution<OR extends MObject>, MOperationExecution>
-
newRowObject
Description copied from interface:QOwnedByMappingReturns a row with foreign key fields referencing the provided owner row.- Specified by:
newRowObjectin interfaceQOwnedByMapping<OperationExecutionType,MOperationExecution, OR extends MObject> - Overrides:
newRowObjectin classQContainerMapping<OperationExecutionType,QOperationExecution<OR extends MObject>, MOperationExecution, OR extends MObject>
-
insert
public MOperationExecution insert(OperationExecutionType schemaObject, OR ownerRow, JdbcSession jdbcSession) throws SchemaException - Specified by:
insertin interfaceQOwnedByMapping<OperationExecutionType,MOperationExecution, OR extends MObject> - Overrides:
insertin classQContainerMapping<OperationExecutionType,QOperationExecution<OR extends MObject>, MOperationExecution, OR extends MObject> - Throws:
SchemaException
-
toSchemaObjectLegacy
- Specified by:
toSchemaObjectLegacyin classQContainerWithFullObjectMapping<OperationExecutionType,QOperationExecution<OR extends MObject>, MOperationExecution, OR extends MObject>
-
createRowTransformer
public ResultListRowTransformer<OperationExecutionType,QOperationExecution<OR>, createRowTransformerMOperationExecution> (SqlQueryContext<OperationExecutionType, QOperationExecution<OR>, MOperationExecution> 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.- Overrides:
createRowTransformerin classSqaleTableMapping<OperationExecutionType,QOperationExecution<OR extends MObject>, MOperationExecution>
-
definitionDerivationKey
- Specified by:
definitionDerivationKeyin classQContainerWithFullObjectMapping<OperationExecutionType,QOperationExecution<OR extends MObject>, MOperationExecution, OR extends MObject>
-
definitionDerivation
protected CheckedFunction<SchemaRegistryState,ItemDefinition<?>, definitionDerivation()SystemException> - Specified by:
definitionDerivationin classQContainerWithFullObjectMapping<OperationExecutionType,QOperationExecution<OR extends MObject>, MOperationExecution, OR extends MObject>
-
getItemPath
- Specified by:
getItemPathin interfaceQSeparatelySerializedItem<QOperationExecution<OR extends MObject>,MOperationExecution> - Specified by:
getItemPathin classQContainerWithFullObjectMapping<OperationExecutionType,QOperationExecution<OR extends MObject>, MOperationExecution, OR extends MObject>
-
orderSpecifier
public com.querydsl.core.types.OrderSpecifier<?> orderSpecifier(QOperationExecution<OR> orqOperationExecution)
-