@Experimental public final class UpdateProjectionColumns<I,P extends Projection<I,S,B>,S extends io.spine.base.EntityState,B extends io.spine.protobuf.ValidatingBuilder<S>> extends ProjectionMigration<I,P,S,B>
Projection
.
When applied to an entity, this operation will trigger the recalculation of entity storage
fields according to the current implementation of
EntityWithColumns
-derived methods.
Such operation may be useful when the logic behind manually calculated columns changes as well as when adding the new columns to an entity.
InterfaceBasedColumn
,
RecordBasedRepository.applyMigration(Object, Migration)
UpdateProjectionColumns.apply(EntityState)
.Constructor and Description |
---|
UpdateProjectionColumns() |
Modifier and Type | Method and Description |
---|---|
S |
apply(S s) |
startTransaction
id, isArchived, isDeleted, markArchived, markDeleted, removeFromStorage, version