createValueColumn
fun <T> createValueColumn(name: String, values: List<T>, type: KType, infer: Infer = Infer.None, defaultValue: T? = null): ValueColumn<T>
Creates ValueColumn using given name, values and type.
Be careful; values are NOT checked to adhere to type for efficiency, unless you specify infer.
Parameters
name
name of the column
values
list of column values
type
type of the column
infer
column type inference mode
inline fun <reified T> createValueColumn(name: String, values: List<T>, infer: Infer = Infer.None): ValueColumn<T>
Creates ValueColumn using given name, values and reified column type.
The column type will be defined at compile-time using T argument. Be careful with casting; values are NOT checked to adhere to reified type T for efficiency, unless you specify infer.
Parameters
name
name of the column
values
list of column values
infer
column type inference mode
Type Parameters
T
type of the column