CountSnapshotQueryContext

class CountSnapshotQueryContext(val namedAggregate: NamedAggregate, val attributes: MutableMap<String, Any> = ConcurrentHashMap()) : SnapshotQueryContext<CountSnapshotQueryContext, Condition, Mono<Long>>

Constructors

Link copied to clipboard
constructor(namedAggregate: NamedAggregate, 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
open fun getQuery(): Condition
Link copied to clipboard
open fun getRequiredResult(): Mono<Long>
Link copied to clipboard
Link copied to clipboard
open fun rewriteResult(rewrite: (Mono<Long>) -> Mono<Long>): CountSnapshotQueryContext
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setResult(result: Mono<Long>): CountSnapshotQueryContext