FirstColumnsSelectionDsl

First (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<*>.first(condition: (ColumnWithPath<*>) -> Boolean = { true }): SingleColumn<*>

Returns the first column from this that adheres to the optional given condition. If no column adheres to the given condition, NoSuchElementException is thrown.

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

Returns the first column from this that adheres to the optional given condition. If no column adheres to the given condition, NoSuchElementException is thrown.

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

Returns the first column from this that adheres to the optional given condition. If no column adheres to the given condition, NoSuchElementException is thrown.

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

Returns the first column from this that adheres to the optional given condition. If no column adheres to the given condition, NoSuchElementException is thrown.

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

Returns the first column from this that adheres to the optional given condition. If no column adheres to the given condition, NoSuchElementException is thrown.

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

Returns the first column from this that adheres to the optional given condition. If no column adheres to the given condition, NoSuchElementException is thrown.