Class AuditDeltaSqlTransformer
- java.lang.Object
-
- com.evolveum.midpoint.repo.sql.pure.SqlTransformer<ObjectDeltaOperationType,QAuditDelta,MAuditDelta>
-
- com.evolveum.midpoint.repo.sql.pure.querymodel.mapping.AuditDeltaSqlTransformer
-
public class AuditDeltaSqlTransformer extends SqlTransformer<ObjectDeltaOperationType,QAuditDelta,MAuditDelta>
Simple class with methods for audit event transformation between repo and Prism world.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.evolveum.midpoint.repo.sql.pure.SqlTransformer
SqlTransformer.SqlTransformationException
-
-
Field Summary
-
Fields inherited from class com.evolveum.midpoint.repo.sql.pure.SqlTransformer
mapping, prismContext, querydslConfiguration
-
-
Constructor Summary
Constructors Constructor Description AuditDeltaSqlTransformer(PrismContext prismContext, QAuditDeltaMapping mapping, com.querydsl.sql.Configuration querydslConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectDeltaOperationType
toSchemaObject(MAuditDelta row)
Transforms row of R to M type - typically a model/schema object.-
Methods inherited from class com.evolveum.midpoint.repo.sql.pure.SqlTransformer
objectReferenceType, processExtensionColumns, repoObjectType, repoObjectType, toSchemaObject, toSchemaObjectSafe, toSchemaObjectSafe, trim
-
-
-
-
Constructor Detail
-
AuditDeltaSqlTransformer
public AuditDeltaSqlTransformer(PrismContext prismContext, QAuditDeltaMapping mapping, com.querydsl.sql.Configuration querydslConfiguration)
-
-
Method Detail
-
toSchemaObject
public ObjectDeltaOperationType toSchemaObject(MAuditDelta row) throws SchemaException
Description copied from class:SqlTransformer
Transforms row of R to M type - typically a model/schema object. If pre-generated bean is used as row it does not include extension (dynamic) columns, which is OK if extension columns are used only for query and their information is still contained in the object somehow else (e.g. full object LOB).Alternative would be dynamically generated list of select expressions and transforming row to M object directly from
Tuple
.- Specified by:
toSchemaObject
in classSqlTransformer<ObjectDeltaOperationType,QAuditDelta,MAuditDelta>
- Throws:
SchemaException
-
-