Skip to main content

//clika-runtime/io.clika.runtime/CsvReadOptions

CsvReadOptions

[common]
data class CsvReadOptions(val separator: Char = ',', val hasHeader: Boolean = true, val nullTokens: List<String> = emptyList())

The options of a CSV read: the field separator, whether the first row carries the column names, and the unquoted values that read as null beside an empty field. Column types are inferred.

Constructors​

CsvReadOptions[common]
constructor(separator: Char = ',', hasHeader: Boolean = true, nullTokens: List<String> = emptyList())

Properties​

NameSummary
hasHeader[common]
val hasHeader: Boolean = true
nullTokens[common]
val nullTokens: List<String>
separator[common]
val separator: Char = ','