FilterCapable

sealed interface FilterCapable<Q : FilterCapable<Q>> : RewritableFilter<Q>

A query with a condition, its filter; a condition appended to it narrows that 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

Properties

Link copied to clipboard
abstract val filter: FilterExpression

Functions

Link copied to clipboard
open override fun appendFilter(append: FilterExpression): Q