Class

fm.flatfile

FlatFileRow

Related Doc: package flatfile

Permalink

final case class FlatFileRow(values: IndexedSeq[String], rawRowCharSequence: CharSequence, lineNumber: Long, rowHeaders: FlatFileRowHeaders) extends Product with Serializable

The parsed representation of a Row with methods for reading the columns based on optional headers

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FlatFileRow
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FlatFileRow(values: IndexedSeq[String], rawRowCharSequence: CharSequence, lineNumber: Long, rowHeaders: FlatFileRowHeaders)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def apply(col: String): String

    Permalink

    Access the value of a row by it's column name

  5. final def apply(idx: Int): String

    Permalink

    Access the value of a row by it's index

  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def debugMsg(): String

    Permalink
  9. final def debugPrint(): Unit

    Permalink
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def get(col: String): Option[String]

    Permalink
  13. final def get(idx: Int): Option[String]

    Permalink
  14. final def getBigDecimal(fields: String*): Option[BigDecimal]

    Permalink
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def getInt(fields: String*): Option[Int]

    Permalink
  17. final def getNonBlank(fields: String*): Option[String]

    Permalink

    Get the first non-blank value from any of the passed in fields

  18. final def getNonBlankOrNull(fields: String*): String

    Permalink

    Like getNonBlank except returns null instead of None if the column has no value

  19. final def hasCol(idx: Int): Boolean

    Permalink
  20. final def hasCol(col: String): Boolean

    Permalink

    Check if a value for a column exists

  21. final def headers: IndexedSeq[String]

    Permalink

    Column header names

  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. val lineNumber: Long

    Permalink
  24. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  25. final def nonBlank(fields: String*): String

    Permalink

    Get the first non-blank value from any of the passed in fields or throw a NoSuchElementException

  26. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. final def rawRow: String

    Permalink
  29. val rawRowCharSequence: CharSequence

    Permalink
  30. val rowHeaders: FlatFileRowHeaders

    Permalink
  31. final def size: Int

    Permalink

    The number of column values

  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  33. final def toMap: Map[String, String]

    Permalink

    Converts this row to a Map of Name -> Value

  34. final def toString(): String

    Permalink
    Definition Classes
    FlatFileRow → AnyRef → Any
  35. final def toTuples: IndexedSeq[(String, String)]

    Permalink

    Converts this row to a Seq of Name -> Value

  36. val values: IndexedSeq[String]

    Permalink
  37. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped