//ERDDAP/com.cohort.util/ScriptRow
ScriptRow
[JVM]
open class ScriptRow
This class makes the data on 1 row of a table accessible to JexlScript scripts via "row.name()" methods.
This class is Copyright 2019, NOAA.
Author
Bob Simons (was bob.simons@noaa.gov, now BobSimons2.00@gmail.com) 2019-11-14
Constructors
ScriptRow | [JVM] constructor(tFullFileName: String, tTable: Table) The constructor. |
Properties
Name | Summary |
---|---|
fileName | [JVM] open val fileName: String |
fullFileName | [JVM] open val fullFileName: String |
row | [JVM] open var row: Int |
Functions
Name | Summary |
---|---|
columnDouble | [JVM] open fun columnDouble(colName: String): Double This gets the value from a column as a double. |
columnFloat | [JVM] open fun columnFloat(colName: String): Float This gets the value from a column as a float. |
columnInt | [JVM] open fun columnInt(colName: String): Int This gets the value from a column as an int. |
columnLong | [JVM] open fun columnLong(colName: String): Long This gets the value from a column as a long. |
columnString | [JVM] open fun columnString(colName: String): String This gets the value from a column as a String. |