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
Serializable, Product, Equals, (String) => Try[String], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Row
  2. Serializable
  3. Product
  4. Equals
  5. Function1
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Row(ws: Seq[String], hdr: Header)

    ws

    the (raw) Strings that make up the row.

    hdr

    is the Header containing the column names.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def andThen[A](g: (Try[String]) => A): (String) => A
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  5. 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.

  6. 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.

  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. def compose[A](g: (A) => String): (A) => Try[String]
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. 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

  14. val hdr: Header
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. def productElementNames: Iterator[String]
    Definition Classes
    Product
  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    Row → Function1 → AnyRef → Any
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  25. val ws: Seq[String]

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from (String) => Try[String]

Inherited from AnyRef

Inherited from Any

Ungrouped