MongoSnapshotQueryService

class MongoSnapshotQueryService<S : Any>(val namedAggregate: NamedAggregate, collection: MongoCollection<Document>, converter: ConditionConverter<Bson> = MongoConditionConverter) : SnapshotQueryService<S>

Constructors

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

Properties

Link copied to clipboard
open override val aggregateName: String
Link copied to clipboard
open override val contextName: String
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<MaterializedSnapshot<S>>
Link copied to clipboard
open override fun paged(pagedQuery: IPagedQuery): Mono<PagedList<MaterializedSnapshot<S>>>
Link copied to clipboard
open override fun single(singleQuery: ISingleQuery): Mono<MaterializedSnapshot<S>>