public class PgEventStore
public PgEventStore(@NotNull
io.vertx.pgclient.PgPool client,
@NotNull
org.enodeframework.common.EventStoreConfiguration configuration,
@NotNull
org.enodeframework.eventing.IEventSerializer eventSerializer,
@NotNull
org.enodeframework.common.serializing.ISerializeService serializeService)
@NotNull
public java.util.concurrent.CompletableFuture<org.enodeframework.eventing.EventAppendResult> batchAppendAsync(@NotNull
java.util.List<? extends org.enodeframework.eventing.DomainEventStream> eventStreams)
@NotNull
public java.util.concurrent.CompletableFuture<java.util.List> queryAggregateEventsAsync(@NotNull
java.lang.String aggregateRootId,
@NotNull
java.lang.String aggregateRootTypeName,
int minVersion,
int maxVersion)
@NotNull
public java.util.concurrent.CompletableFuture<org.enodeframework.eventing.DomainEventStream> findAsync(@NotNull
java.lang.String aggregateRootId,
int version)
@NotNull
public java.util.concurrent.CompletableFuture<org.enodeframework.eventing.DomainEventStream> findAsync(@NotNull
java.lang.String aggregateRootId,
@NotNull
java.lang.String commandId)