Class JsonbPolysItemDeltaProcessor
- java.lang.Object
-
- com.evolveum.midpoint.repo.sqale.delta.ItemDeltaValueProcessor<T>
-
- com.evolveum.midpoint.repo.sqale.delta.item.FinalValueDeltaProcessor<PolyString>
-
- com.evolveum.midpoint.repo.sqale.delta.item.JsonbPolysItemDeltaProcessor
-
- All Implemented Interfaces:
ItemDeltaProcessor
public class JsonbPolysItemDeltaProcessor extends FinalValueDeltaProcessor<PolyString>
Delta processor for multi-value poly-strings represented as array in JSONB column.
-
-
Field Summary
-
Fields inherited from class com.evolveum.midpoint.repo.sqale.delta.ItemDeltaValueProcessor
context
-
-
Constructor Summary
Constructors Constructor Description JsonbPolysItemDeltaProcessor(SqaleUpdateContext<?,Q,R> context, Function<Q,JsonbPath> rootToQueryItem)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
Resets the database columns or deletes sub-entities like refs, containers, etc.void
setRealValues(Collection<?> values)
Sets the provided real values in the database, implements REPLACE modification.-
Methods inherited from class com.evolveum.midpoint.repo.sqale.delta.item.FinalValueDeltaProcessor
process
-
Methods inherited from class com.evolveum.midpoint.repo.sqale.delta.ItemDeltaValueProcessor
addRealValues, addValues, convertRealValue, deleteRealValues, deleteValues
-
-
-
-
Constructor Detail
-
JsonbPolysItemDeltaProcessor
public JsonbPolysItemDeltaProcessor(SqaleUpdateContext<?,Q,R> context, Function<Q,JsonbPath> rootToQueryItem)
- Type Parameters:
Q
- entity query type from which the attribute is resolvedR
- row type related toJsonbPolysItemDeltaProcessor
-
-
Method Detail
-
setRealValues
public void setRealValues(Collection<?> values)
Description copied from class:ItemDeltaValueProcessor
Sets the provided real values in the database, implements REPLACE modification. This may involve setting the value of some columns or delete/insert of sub-entities. This is a general case covering both multi-value and single-value items.- Overrides:
setRealValues
in classItemDeltaValueProcessor<PolyString>
-
delete
public void delete()
Description copied from class:ItemDeltaValueProcessor
Resets the database columns or deletes sub-entities like refs, containers, etc. This must be implemented to support clearing the columns of single-value embedded containers.- Specified by:
delete
in classItemDeltaValueProcessor<PolyString>
-
-