RewritableProjection

Interface for query objects that support projection rewriting and modification.

This interface provides methods to replace projections in existing queries, enabling fluent projection building and modification.

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 withProjection(newProjection: Projection): Q

Creates a new query with the specified projection.