RowGetterIfc

interface RowGetterIfc : RowIfc

An abstraction for getting information and data from a row within a tabular file. The access to the columns is 0-based. Why? Because most if not all of kotlin's data containers (arrays, lists, etc.) are 0-based. The first column has index 0, 2nd column has index 1, etc.

Inheritors

Properties

Link copied to clipboard
abstract val bytes: Int
Link copied to clipboard
abstract val columnNames: List<String>
Link copied to clipboard
abstract val columnTypes: Map<String, DataType>
Link copied to clipboard
abstract val dataTypes: List<DataType>
Link copied to clipboard
abstract val elements: List<Any?>
Link copied to clipboard
abstract val isAllNumeric: Boolean
Link copied to clipboard
abstract val isAllText: Boolean
Link copied to clipboard
abstract val numberColumns: Int
Link copied to clipboard
abstract val numeric: DoubleArray
Link copied to clipboard
abstract val numNumericColumns: Int
Link copied to clipboard
abstract val numTextColumns: Int
Link copied to clipboard
abstract val text: Array<String?>

Functions

Link copied to clipboard
abstract fun asStringArray(): Array<String?>
Link copied to clipboard
abstract fun getColumn(name: String): Int
Link copied to clipboard
abstract fun getColumnName(col: Int): String
Link copied to clipboard
abstract fun getDataType(colNum: Int): DataType
Link copied to clipboard
abstract fun getElement(colNum: Int): Any?
Link copied to clipboard
abstract fun getNumeric(colNum: Int): Double
abstract fun getNumeric(columnName: String): Double
Link copied to clipboard
abstract fun getText(colNum: Int): String?
abstract fun getText(columnName: String): String?
Link copied to clipboard
abstract fun getType(col: Int): DataType
Link copied to clipboard
abstract fun isNumeric(i: Int): Boolean
Link copied to clipboard
abstract fun isText(i: Int): Boolean
Link copied to clipboard
abstract fun toCSV(): String