InvalidateFilter

class InvalidateFilter<T : DataModel<*>>(val type: FilterType? = null, val keys: Array<SurrogateKey>? = null, val predicate: (T) -> Boolean? = null) : Filter<T>

Filter for invalidating targets.

Constructors

Link copied to clipboard
constructor(type: FilterType? = null, keys: Array<SurrogateKey>? = null, predicate: (T) -> Boolean? = null)

Properties

Link copied to clipboard
open override val keys: Array<SurrogateKey>? = null

Tag keys of queries to be filtered.

Link copied to clipboard
open override val predicate: (T) -> Boolean? = null

Further conditions to narrow down the filtering targets based on fields of T.

Link copied to clipboard
open override val type: FilterType? = null

Management category of queries to be filtered.