Class EventSchema
java.lang.Object
org.axonframework.eventsourcing.eventstore.jdbc.EventSchema
Schema of an event entry to be stored using Jdbc.
- Since:
- 3.0
- Author:
- Rene de Waele
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for anEventSchemathat gets initialized with default values. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the name of the column containing the aggregate identifier of the event.static EventSchema.Builderbuilder()Returns a newEventSchema.Builderinitialized with default settings.Get a comma separated list of domain event column names to select from an event or snapshot entry.Returns the name of the domain event table.Get the name of the column containing the identifier of the event.Get the name of the column containing the global index of the event.Get the name of the column containing the serialized metadata of the event.Get the name of the column containing the serialized payload of the event.Get the name of the column containing the revision number of the serialized payload.Get the name of the column containing the event payload type.Get the name of the column containing the aggregate sequence number of the event.Returns the name of the snapshot event table.Get the name of the column containing the timestamp of the event.Get a comma separated list of tracked domain event column names to select from an event entry.Get the name of the column containing the aggregate type of the event.
-
Constructor Details
-
EventSchema
public EventSchema()Initializes the default Event Schema
-
-
Method Details
-
builder
Returns a newEventSchema.Builderinitialized with default settings.- Returns:
- a new builder for the event schema
-
domainEventTable
Returns the name of the domain event table.- Returns:
- the name of the domain event table
-
snapshotTable
Returns the name of the snapshot event table.- Returns:
- the name of the snapshot event table
-
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
Get the name of the column containing the timestamp of the event.- Returns:
- the name of the column containing the timestamp
-
eventIdentifierColumn
Get the name of the column containing the identifier of the event.- Returns:
- the name of the column containing the event identifier
-
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
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
Get the name of the column containing the aggregate type of the event.- Returns:
- the name of the column containing the aggregate type
-
payloadTypeColumn
Get the name of the column containing the event payload type.- Returns:
- the name of the column containing the payload type
-
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
Get the name of the column containing the serialized payload of the event.- Returns:
- the name of the column containing the serialized payload
-
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
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
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.
-