java.lang.Object
org.axonframework.eventsourcing.eventstore.jdbc.EventSchema

public class EventSchema extends Object
Schema of an event entry to be stored using Jdbc.
Since:
3.0
Author:
Rene de Waele
  • Constructor Details

    • EventSchema

      public EventSchema()
      Initializes the default Event Schema
  • Method Details

    • builder

      public static EventSchema.Builder builder()
      Returns a new EventSchema.Builder initialized with default settings.
      Returns:
      a new builder for the event schema
    • domainEventTable

      public String domainEventTable()
      Returns the name of the domain event table.
      Returns:
      the name of the domain event table
    • snapshotTable

      public String snapshotTable()
      Returns the name of the snapshot event table.
      Returns:
      the name of the snapshot event table
    • globalIndexColumn

      public String globalIndexColumn()
      Get the name of the column containing the global index of the event.
      Returns:
      the name of the column containing the global index
    • timestampColumn

      public String timestampColumn()
      Get the name of the column containing the timestamp of the event.
      Returns:
      the name of the column containing the timestamp
    • eventIdentifierColumn

      public String eventIdentifierColumn()
      Get the name of the column containing the identifier of the event.
      Returns:
      the name of the column containing the event identifier
    • aggregateIdentifierColumn

      public String aggregateIdentifierColumn()
      Get the name of the column containing the aggregate identifier of the event.
      Returns:
      the name of the column containing the aggregate identifier
    • sequenceNumberColumn

      public String sequenceNumberColumn()
      Get the name of the column containing the aggregate sequence number of the event.
      Returns:
      the name of the column containing the aggregate sequence number
    • typeColumn

      public String typeColumn()
      Get the name of the column containing the aggregate type of the event.
      Returns:
      the name of the column containing the aggregate type
    • payloadTypeColumn

      public String payloadTypeColumn()
      Get the name of the column containing the event payload type.
      Returns:
      the name of the column containing the payload type
    • payloadRevisionColumn

      public String payloadRevisionColumn()
      Get the name of the column containing the revision number of the serialized payload.
      Returns:
      the name of the column containing the revision number of the serialized payload
    • payloadColumn

      public String payloadColumn()
      Get the name of the column containing the serialized payload of the event.
      Returns:
      the name of the column containing the serialized payload
    • metaDataColumn

      public String metaDataColumn()
      Get the name of the column containing the serialized metadata of the event.
      Returns:
      the name of the column containing the serialized metadata
    • domainEventFields

      public String domainEventFields()
      Get a comma separated list of domain event column names to select from an event or snapshot entry.
      Returns:
      comma separated domain event column names.
    • trackedEventFields

      public String trackedEventFields()
      Get a comma separated list of tracked domain event column names to select from an event entry.
      Returns:
      comma separated tracked domain event column names.