RewritableFilter

sealed interface RewritableFilter<Q : RewritableFilter<Q>>

A query, or a filter, whose condition can be replaced (withFilter) or narrowed (appendFilter), each a new one.

Sealed: the queries of this package implement it, a user's class does not. Cases may be added in a minor release, so a when over it keeps an else branch.

Type Parameters

Q

The type of the query object that implements this interface, enabling method chaining.

Inheritors

Functions

Link copied to clipboard
abstract fun appendFilter(append: FilterExpression): Q
Link copied to clipboard
abstract fun withFilter(newFilter: FilterExpression): Q