ElasticsearchSnapshotQueryService

class ElasticsearchSnapshotQueryService<S : Any>(val namedAggregate: NamedAggregate, val elasticsearchClient: ReactiveElasticsearchClient, val conditionConverter: ConditionConverter<Query> = SnapshotConditionConverter) : AbstractElasticsearchQueryService<MaterializedSnapshot<S>> , SnapshotQueryService<S>

Constructors

Link copied to clipboard
constructor(namedAggregate: NamedAggregate, elasticsearchClient: ReactiveElasticsearchClient, conditionConverter: ConditionConverter<Query> = SnapshotConditionConverter)

Properties

Link copied to clipboard
open override val aggregateName: String
Link copied to clipboard
open override val conditionConverter: ConditionConverter<Query>
Link copied to clipboard
open override val contextName: String
Link copied to clipboard
open override val elasticsearchClient: ReactiveElasticsearchClient
Link copied to clipboard
open override val indexName: 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>>
Link copied to clipboard
open override fun toTypedResult(document: DynamicDocument): MaterializedSnapshot<S>