MongoEventStreamQueryService

class MongoEventStreamQueryService(val namedAggregate: NamedAggregate, val collection: MongoCollection<Document>, val converter: ConditionConverter<Bson> = EventStreamConditionConverter) : AbstractMongoQueryService<DomainEventStream> , EventStreamQueryService

Constructors

Link copied to clipboard
constructor(namedAggregate: NamedAggregate, collection: MongoCollection<Document>, converter: ConditionConverter<Bson> = EventStreamConditionConverter)

Properties

Link copied to clipboard
open override val aggregateName: String
Link copied to clipboard
open override val collection: MongoCollection<Document>
Link copied to clipboard
open override val contextName: String
Link copied to clipboard
open override val converter: ConditionConverter<Bson>
Link copied to clipboard
open override val namedAggregate: NamedAggregate

Functions

Link copied to clipboard
open override fun count(condition: Condition): Mono<Long>
Link copied to clipboard
open override fun dynamicList(listQuery: IListQuery): Flux<DynamicDocument>
Link copied to clipboard
open override fun dynamicPaged(pagedQuery: IPagedQuery): Mono<PagedList<DynamicDocument>>
Link copied to clipboard
open override fun dynamicSingle(singleQuery: ISingleQuery): Mono<DynamicDocument>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun list(listQuery: IListQuery): Flux<DomainEventStream>
Link copied to clipboard
open override fun paged(pagedQuery: IPagedQuery): Mono<PagedList<DomainEventStream>>
Link copied to clipboard
open override fun single(singleQuery: ISingleQuery): Mono<DomainEventStream>
Link copied to clipboard
open override fun toDynamicDocument(document: Document): DynamicDocument
Link copied to clipboard
open override fun toTypedResult(document: Document): DomainEventStream