Package org.enodeframework.mysql
Class MySQLEventStore
-
- All Implemented Interfaces:
-
org.enodeframework.eventing.EventStore
public final class MySQLEventStore implements EventStoreanruence@gmail.com
-
-
Constructor Summary
Constructors Constructor Description MySQLEventStore(MySQLPool sqlClient, EventStoreOptions options, EventSerializer eventSerializer, SerializeService serializeService)
-
Method Summary
Modifier and Type Method Description CompletableFuture<EventAppendResult>batchAppendAsync(List<DomainEventStream> eventStreams)CompletableFuture<List<DomainEventStream>>queryAggregateEventsAsync(String aggregateRootId, String aggregateRootTypeName, Integer minVersion, Integer maxVersion)CompletableFuture<DomainEventStream>findAsync(String aggregateRootId, Integer version)CompletableFuture<DomainEventStream>findAsync(String aggregateRootId, String commandId)-
-
Method Detail
-
batchAppendAsync
CompletableFuture<EventAppendResult> batchAppendAsync(List<DomainEventStream> eventStreams)
-
queryAggregateEventsAsync
CompletableFuture<List<DomainEventStream>> queryAggregateEventsAsync(String aggregateRootId, String aggregateRootTypeName, Integer minVersion, Integer maxVersion)
-
findAsync
CompletableFuture<DomainEventStream> findAsync(String aggregateRootId, Integer version)
-
findAsync
CompletableFuture<DomainEventStream> findAsync(String aggregateRootId, String commandId)
-
-
-
-