case class Row(ws: Seq[String], hdr: Header) extends (String) => Try[String] with Product with Serializable
Case class to represent a (raw) row from a table.
- ws
the (raw) Strings that make up the row.
- hdr
is the Header containing the column names.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Row
- Serializable
- Product
- Equals
- Function1
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def andThen[A](g: (Try[String]) => A): (String) => A
- Definition Classes
- Function1
- Annotations
- @unspecialized()
- def apply(x: Int): Try[String]
Method to yield the xth element of this Row.
Method to yield the xth element of this Row.
- x
an index from 0 thru length-1.
- returns
the value as a String.
- Exceptions thrown
ParserException
if x is out of range.
- def apply(w: String): Try[String]
Method to yield the value for a given column name
Method to yield the value for a given column name
NOTE this doesn't seem to be used. TODO: why is ParserException not found to link to?
- w
the column name.
- returns
the value as a String.
- Definition Classes
- Row → Function1
- Exceptions thrown
ParserException
if w is not contained in hdr.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def compose[A](g: (A) => String): (A) => Try[String]
- Definition Classes
- Function1
- Annotations
- @unspecialized()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getIndex(column: String): Int
Method to get the index of a column name
Method to get the index of a column name
- column
the column name
- returns
the index, which might be -1
- val hdr: Header
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- Row → Function1 → AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- val ws: Seq[String]