package javadsl
- Alphabetic
- Public
- Protected
Type Members
- abstract class AdditionalColumn[A, B] extends AnyRef
Implement this to extract a field from the event and store it in an additional database column on the event journal table for the entity type.
Implement this to extract a field from the event and store it in an additional database column on the event journal table for the entity type. The additional column can be used to find events by a secondary index. The intended use is for the application metadata
JSONBcolumn or similar.Configured per entity type via
akka.persistence.r2dbc.journal.additional-columns. The implementation may have anActorSystemconstructor parameter.The additional column must be
NULL-able in the database, because delete-marker (tombstone) rows do not invokebind. Inside anAtomicWritebatch all events must produce the same shape of bindings (sameSkipdecisions), otherwise the batched insert is rejected.- A
The type of the event.
- B
The type of the field stored in the additional column.
- Annotations
- @ApiMayChange()
Value Members
- object AdditionalColumn
- Annotations
- @ApiMayChange()