QueryBindings

fun interface QueryBindings<in K : Any>

What a storage serves for each K: the QueryBackendBinding of each aggregate type's snapshots or events (QueryBindings<AggregateType>), or of each dataset (QueryBindings<QueryDataset>), null for a key it does not serve. A dataset whose storage binding it cannot read fails with an IllegalArgumentException: that is a misconfiguration, not a key it does not serve.

Inheritors

Functions

Link copied to clipboard

The binding of key, or null when this storage does not serve it.

Link copied to clipboard
open fun forget(key: K)

Forgets what it holds for key, as when a dataset left; nothing for bindings that hold nothing.