SingleColumnsSelectionDsl

Single (Col) Columns Selection DSL

See Grammar for all functions in this interface.

Inheritors

Types

Link copied to clipboard
interface Grammar

Functions

Link copied to clipboard
open fun ColumnsSelectionDsl<*>.single(condition: (ColumnWithPath<*>) -> Boolean = { true }): SingleColumn<*>

Returns the single column from this. If there is no column, NoSuchElementException is thrown. If there are multiple columns, IllegalArgumentException is thrown.

open fun <C> ColumnSet<C>.single(): SingleColumn<C>
open fun <C> ColumnSet<C>.single(condition: (ColumnWithPath<C>) -> Boolean = { true }): SingleColumn<C>

Returns the single column from this. If there is no column, NoSuchElementException is thrown. If there are multiple columns, IllegalArgumentException is thrown.

Link copied to clipboard
open fun String.singleCol(condition: (ColumnWithPath<*>) -> Boolean = { true }): SingleColumn<*>

Returns the single column from this. If there is no column, NoSuchElementException is thrown. If there are multiple columns, IllegalArgumentException is thrown.

open fun SingleColumn<DataRow<*>>.singleCol(condition: (ColumnWithPath<*>) -> Boolean = { true }): SingleColumn<*>

Returns the single column from this. If there is no column, NoSuchElementException is thrown. If there are multiple columns, IllegalArgumentException is thrown.

open fun KProperty<*>.singleCol(condition: (ColumnWithPath<*>) -> Boolean = { true }): SingleColumn<*>

Returns the single column from this. If there is no column, NoSuchElementException is thrown. If there are multiple columns, IllegalArgumentException is thrown.

open fun ColumnPath.singleCol(condition: (ColumnWithPath<*>) -> Boolean = { true }): SingleColumn<*>

Returns the single column from this. If there is no column, NoSuchElementException is thrown. If there are multiple columns, IllegalArgumentException is thrown.