Package-level declarations

Types

Link copied to clipboard
typealias AnyBaseCol = BaseColumn<*>
Link copied to clipboard
typealias AnyCol = DataColumn<*>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
typealias AnyFrame = DataFrame<*>
Link copied to clipboard
typealias AnyRow = DataRow<*>
Link copied to clipboard
Link copied to clipboard

ColumnExpression is a lambda function expecting an R result given an instance of DataColumn<C> as context (this and it). R can be selected or expressed.

Link copied to clipboard

ColumnFilter is a lambda function expecting a Boolean result given an instance of DataColumn<C> as context (this and it).

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface ColumnsContainer<out T> : ColumnsScope<T>

Provides access to columns.

Link copied to clipboard

ColumnSelector is a lambda function expecting a SingleColumn<C> result given an instance of ColumnsSelectionDsl<T> as context (this and it). SingleColumn<C> can be selected or expressed.

Link copied to clipboard
interface ColumnsScope<out T>

Provides minimal API required for generated column properties:

Link copied to clipboard

ColumnsSelector is a lambda function expecting a ColumnsResolver<C> (SingleColumn<C> or ColumnSet<C>) result given an instance of ColumnsSelectionDsl<T> as context (this and it). ColumnsResolver<C> can be selected or expressed.

Link copied to clipboard
interface DataColumn<out T> : BaseColumn<T>

Column with name and values of specific type.

Link copied to clipboard
interface DataFrame<out T> : Aggregatable<T> , ColumnsContainer<T>

Readonly interface for an ordered list of columns.

Link copied to clipboard

DataFrameExpression is a lambda function expecting an R result given an instance of DataFrame<T> as context (this and it). R can be selected or expressed.

Link copied to clipboard
interface DataRow<out T>

Single row of a DataFrame.

Link copied to clipboard
Link copied to clipboard
typealias IntCol = DataColumn<Int?>
Link copied to clipboard
Link copied to clipboard
typealias Predicate<T> = (it: T) -> Boolean

Predicate is a lambda function expecting a Boolean result given an instance of T as it.

Link copied to clipboard
typealias RowColumnExpression<T, C, R> = (row: DataRow<T>, col: DataColumn<C>) -> R

RowColumnExpression is a lambda function expecting an R result given an instance of DataRow<T> as row and DataColumn<C> as col. R can be selected or expressed.

Link copied to clipboard
typealias RowExpression<T, R> = Selector<DataRow<T>, R>

RowExpression is a lambda function expecting an R result given an instance of DataRow<T> as context (this and it). R can be selected or expressed.

Link copied to clipboard

A lambda expression that evaluates a row of the DataFrame and returns a Boolean indicating whether the row should be included in the result.

Link copied to clipboard
typealias RowValueExpression<T, C, R> = DataRow<T>.(it: C) -> R

RowValueExpression is a lambda function expecting an R result given the value it: C and an instance of DataRow<T> as context (this). R can be selected or expressed.

Link copied to clipboard

RowValueFilter is a lambda function expecting a Boolean result given the value it: C and an instance of DataRow<T> as context (this).

Link copied to clipboard
typealias Selector<T, R> = T.(it: T) -> R

Selector is a lambda function expecting an R result given an instance of T as context (this and it).

Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard
internal val AnyRow.index: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
internal val ColumnsContainer<*>.ncol: Int
Link copied to clipboard
internal val <T> DataRow<T>.next: DataRow<T>?
Link copied to clipboard
internal val AnyFrame.nrow: Int
Link copied to clipboard
Link copied to clipboard
internal val <T> DataRow<T>.prev: DataRow<T>?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
internal val AnyRow.values: List<Any?>

Functions

Link copied to clipboard
operator fun <T, C> DataFrame<T>.get(columns: ColumnsSelector<T, C>): List<DataColumn<C>>

Returns a list of columns selected by columns, a ColumnsSelectionDsl.

operator fun <T> DataFrame<T>.get(columnRange: ClosedRange<String>): DataFrame<T>
operator fun <T> DataFrame<T>.get(first: String, vararg other: String): DataFrame<T>
operator fun <T> DataFrame<T>.get(first: ColumnReference<*>, vararg other: ColumnReference<*>): DataFrame<T>
Link copied to clipboard
Link copied to clipboard