KConfigurableRootQuery

interface KConfigurableRootQuery<E : Any, R> : KTypedRootQuery<R>

Functions

Link copied to clipboard
@NewChain
abstract fun distinct(): KConfigurableRootQuery<E, R>
Link copied to clipboard
abstract fun execute(con: Connection? = null): List<R>
Link copied to clipboard
open fun fetchOne(con: Connection? = null): R
Link copied to clipboard
open fun fetchOneOrNull(con: Connection? = null): R?
Link copied to clipboard
open fun fetchPage(pageIndex: Int, pageSize: Int, con: Connection? = null): Page<R>
abstract fun <P : Any> fetchPage(pageIndex: Int, pageSize: Int, con: Connection? = null, pageFactory: PageFactory<R, P>): P
Link copied to clipboard
open fun fetchUnlimitedCount(con: Connection? = null): Long
Link copied to clipboard
abstract fun forEach(con: Connection? = null, batchSize: Int = 0, block: (R) -> Unit)
Link copied to clipboard
@NewChain
abstract fun forUpdate(forUpdate: Boolean = true): KConfigurableRootQuery<E, R>
Link copied to clipboard
abstract infix fun intersect(other: KTypedRootQuery<R>): KTypedRootQuery<R>
Link copied to clipboard
@NewChain
abstract fun limit(limit: Int): KConfigurableRootQuery<E, R>
@NewChain
abstract fun limit(limit: Int, offset: Long): KConfigurableRootQuery<E, R>
Link copied to clipboard
abstract fun <X> map(con: Connection? = null, mapper: (R) -> X): List<X>
Link copied to clipboard
abstract infix operator fun minus(other: KTypedRootQuery<R>): KTypedRootQuery<R>
Link copied to clipboard
@NewChain
abstract fun offset(offset: Long): KConfigurableRootQuery<E, R>
Link copied to clipboard
@NewChain
abstract fun <X> reselect(block: KMutableRootQuery<E>.() -> KConfigurableRootQuery<E, X>): KConfigurableRootQuery<E, X>
Link copied to clipboard
@NewChain
abstract fun reverseSorting(): KConfigurableRootQuery<E, R>?
Link copied to clipboard
abstract infix fun union(other: KTypedRootQuery<R>): KTypedRootQuery<R>
Link copied to clipboard
abstract infix fun unionAll(other: KTypedRootQuery<R>): KTypedRootQuery<R>
Link copied to clipboard
@NewChain
abstract fun withoutSortingAndPaging(): KConfigurableRootQuery<E, R>

Inheritors

Link copied to clipboard