Uses of Class
org.axonframework.eventsourcing.eventstore.jdbc.EventSchema
Packages that use EventSchema
Package
Description
JDBC Implementation of the EventStore.
-
Uses of EventSchema in org.axonframework.eventsourcing.eventstore.jdbc
Methods in org.axonframework.eventsourcing.eventstore.jdbc that return EventSchemaModifier and TypeMethodDescriptionEventSchema.Builder.build()Builds a newEventSchemafrom builder values.protected EventSchemaJdbcEventStorageEngine.schema()Returns theEventSchemathat defines the table and column names of event tables in the database.Methods in org.axonframework.eventsourcing.eventstore.jdbc with parameters of type EventSchemaModifier and TypeMethodDescriptionAbstractEventTableFactory.createDomainEventTable(Connection connection, EventSchema schema) EventTableFactory.createDomainEventTable(Connection connection, EventSchema schema) Creates a PreparedStatement that allows for the creation of the table to store Event entries.Oracle11EventTableFactory.createDomainEventTable(Connection connection, EventSchema schema) AbstractEventTableFactory.createSnapshotEventTable(Connection connection, EventSchema schema) EventTableFactory.createSnapshotEventTable(Connection connection, EventSchema schema) Creates a PreparedStatement that allows for the creation of the table to store Snapshots.Oracle11EventTableFactory.createSnapshotEventTable(Connection connection, EventSchema schema) JdbcEventStorageEngine.Builder.schema(EventSchema schema) Sets theEventSchemadescribing the database schema of event entries.Method parameters in org.axonframework.eventsourcing.eventstore.jdbc with type arguments of type EventSchemaModifier and TypeMethodDescriptionEventSchema.Builder.domainEventFields(Function<EventSchema, String> domainEventFields) Set a comma separated list of domain event column names to select from an event or snapshot entry.EventSchema.Builder.trackedEventFields(Function<EventSchema, String> trackedEventFields) Set a comma separated list of tracked domain event column names to select from an event entry. -
Uses of EventSchema in org.axonframework.eventsourcing.eventstore.jdbc.statements
Methods in org.axonframework.eventsourcing.eventstore.jdbc.statements with parameters of type EventSchemaModifier and TypeMethodDescriptionstatic PreparedStatementJdbcEventStorageEngineStatements.appendEvents(Connection connection, EventSchema schema, Class<?> dataType, List<? extends EventMessage<?>> events, Serializer serializer, TimestampWriter timestampWriter) Set the PreparedStatement to be used onJdbcEventStorageEngine.appendEvents(List, Serializer).static PreparedStatementJdbcEventStorageEngineStatements.appendSnapshot(Connection connection, EventSchema schema, Class<?> dataType, DomainEventMessage<?> snapshot, Serializer serializer, TimestampWriter timestampWriter) Set the PreparedStatement to be used onJdbcEventStorageEngine.storeSnapshot(DomainEventMessage, Serializer).AppendEventsStatementBuilder.build(Connection connection, EventSchema schema, Class<?> dataType, List<? extends EventMessage<?>> events, Serializer serializer, TimestampWriter timestampWriter) Build a statement to be used atJdbcEventStorageEngine.appendEvents(List, Serializer)AppendSnapshotStatementBuilder.build(Connection connection, EventSchema schema, Class<?> dataType, DomainEventMessage<?> snapshot, Serializer serializer, TimestampWriter timestampWriter) Creates a statement to be used atJdbcEventStorageEngine.storeSnapshot(DomainEventMessage, Serializer)CleanGapsStatementBuilder.build(Connection connection, EventSchema schema, SortedSet<Long> gaps) Creates a statement to be used atJdbcEventStorageEngine.cleanGaps(TrackingToken)CreateHeadTokenStatementBuilder.build(Connection connection, EventSchema schema) Creates a statement to be used atJdbcEventStorageEngine.createHeadToken().CreateTailTokenStatementBuilder.build(Connection connection, EventSchema schema) Creates a statement to be used atJdbcEventStorageEngine.createTailToken().CreateTokenAtStatementBuilder.build(Connection connection, EventSchema schema, Instant dateTime) Creates a statement to be used atJdbcEventStorageEngine.createTokenAt(Instant).DeleteSnapshotsStatementBuilder.build(Connection connection, EventSchema schema, String aggregateIdentifier, long sequenceNumber) Creates a statement to be used atJdbcEventStorageEngine.storeSnapshot(DomainEventMessage, Serializer)FetchTrackedEventsStatementBuilder.build(Connection connection, EventSchema schema, long index) Creates a statement to be used atJdbcEventStorageEngine.fetchTrackedEvents(TrackingToken, int)LastSequenceNumberForStatementBuilder.build(Connection connection, EventSchema schema, String aggregateIdentifier) Creates a statement to be used atJdbcEventStorageEngine.lastSequenceNumberFor(String)ReadEventDataForAggregateStatementBuilder.build(Connection connection, EventSchema schema, String identifier, long firstSequenceNumber, int batchSize) Creates a statement to read domain event entries for an aggregate with given identifier starting with the first entry having a sequence number that is equal or larger than the givenfirstSequenceNumber.ReadEventDataWithGapsStatementBuilder.build(Connection connection, EventSchema schema, long globalIndex, int batchSize, List<Long> gaps) Creates a statement to be used atJdbcEventStorageEngine.fetchTrackedEvents(TrackingToken, int)ReadEventDataWithoutGapsStatementBuilder.build(Connection connection, EventSchema schema, long globalIndex, int batchSize) Creates a statement to be used atJdbcEventStorageEngine.fetchTrackedEvents(TrackingToken, int)ReadSnapshotDataStatementBuilder.build(Connection connection, EventSchema schema, String identifier) Creates a statement to be used atJdbcEventStorageEngine.readSnapshotData(String)static PreparedStatementJdbcEventStorageEngineStatements.cleanGaps(Connection connection, EventSchema schema, SortedSet<Long> gaps) Set the PreparedStatement to be used on internal cleanGaps operation.static PreparedStatementJdbcEventStorageEngineStatements.createHeadToken(Connection connection, EventSchema schema) Set the PreparedStatement to be used onJdbcEventStorageEngine.createHeadToken().static PreparedStatementJdbcEventStorageEngineStatements.createTailToken(Connection connection, EventSchema schema) Set the PreparedStatement to be used onJdbcEventStorageEngine.createTailToken().static PreparedStatementJdbcEventStorageEngineStatements.createTokenAt(Connection connection, EventSchema schema, Instant dateTime) Build the PreparedStatement to be used onJdbcEventStorageEngine.createTokenAt(Instant).static PreparedStatementJdbcEventStorageEngineStatements.deleteSnapshots(Connection connection, EventSchema schema, String aggregateIdentifier, long sequenceNumber) Set the PreparedStatement to be used onJdbcEventStorageEngine.storeSnapshot(DomainEventMessage, Serializer).static PreparedStatementJdbcEventStorageEngineStatements.fetchTrackedEvents(Connection connection, EventSchema schema, long index) Set the PreparedStatement to be used onJdbcEventStorageEngine.fetchTrackedEvents(TrackingToken, int).static PreparedStatementJdbcEventStorageEngineStatements.lastSequenceNumberFor(Connection connection, EventSchema schema, String aggregateIdentifier) Set the PreparedStatement to be used onJdbcEventStorageEngine.lastSequenceNumberFor(String).static PreparedStatementJdbcEventStorageEngineStatements.readEventDataForAggregate(Connection connection, EventSchema schema, String identifier, long firstSequenceNumber, int batchSize) Set the PreparedStatement to be used onJdbcEventStorageEngine.fetchDomainEvents(String, long, int)static PreparedStatementJdbcEventStorageEngineStatements.readEventDataWithGaps(Connection connection, EventSchema schema, long globalIndex, int batchSize, List<Long> gaps) Set the PreparedStatement to be used onJdbcEventStorageEngine.fetchTrackedEvents(TrackingToken, int)when there are gaps on theGapAwareTrackingToken.static PreparedStatementJdbcEventStorageEngineStatements.readEventDataWithoutGaps(Connection connection, EventSchema schema, long globalIndex, int batchSize) Set the PreparedStatement to be used onJdbcEventStorageEngine.fetchTrackedEvents(TrackingToken, int)when there is no gaps on theGapAwareTrackingToken.static PreparedStatementJdbcEventStorageEngineStatements.readSnapshotData(Connection connection, EventSchema schema, String identifier) Set the PreparedStatement to be used onJdbcEventStorageEngine.readSnapshotData(String). -
Uses of EventSchema in org.axonframework.springboot.autoconfig
Methods in org.axonframework.springboot.autoconfig that return EventSchemaMethods in org.axonframework.springboot.autoconfig with parameters of type EventSchemaModifier and TypeMethodDescriptionJdbcAutoConfiguration.eventStorageEngine(Serializer defaultSerializer, PersistenceExceptionResolver persistenceExceptionResolver, Serializer eventSerializer, Configuration configuration, ConnectionProvider connectionProvider, TransactionManager transactionManager, EventSchema eventSchema)