Packages

package javadsl

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. 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 JSONB column or similar.

    Configured per entity type via akka.persistence.r2dbc.journal.additional-columns. The implementation may have an ActorSystem constructor parameter.

    The additional column must be NULL-able in the database, because delete-marker (tombstone) rows do not invoke bind. Inside an AtomicWrite batch all events must produce the same shape of bindings (same Skip decisions), 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

  1. object AdditionalColumn
    Annotations
    @ApiMayChange()

Ungrouped