SingleSnapshotQueryContext

class SingleSnapshotQueryContext<R : Any>(val namedAggregate: NamedAggregate, val queryType: QueryType, val attributes: MutableMap<String, Any> = ConcurrentHashMap()) : SnapshotQueryContext<SingleSnapshotQueryContext<R>, ISingleQuery, Mono<R>>

Constructors

Link copied to clipboard
constructor(namedAggregate: NamedAggregate, queryType: QueryType, attributes: MutableMap<String, Any> = ConcurrentHashMap())

Properties

Link copied to clipboard
open override val attributes: MutableMap<String, Any>
Link copied to clipboard
open override val namedAggregate: NamedAggregate
Link copied to clipboard
open override val queryType: QueryType

Functions

Link copied to clipboard
open fun <V> getAttribute(key: String): V?
Link copied to clipboard
Link copied to clipboard
open fun getRequiredResult(): Mono<R>
Link copied to clipboard
Link copied to clipboard
open fun rewriteResult(rewrite: (Mono<R>) -> Mono<R>): SingleSnapshotQueryContext<R>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setResult(result: Mono<R>): SingleSnapshotQueryContext<R>