com.eharmony.aloha.semantics.compiled.plugin.csv

CsvLineImpl

case class CsvLineImpl(line: String, indices: Map[String, Int], enums: Map[String, Enum], fieldSeparator: String, intraFieldSeparator: String, missingId: (String) ⇒ Boolean, optEnumFunc: (String) ⇒ Option[(String) ⇒ EnumConstant], optHandler: OptionalHandler) extends CsvLine with Product with Serializable

A representation of one line of CSV data.

line

The actual string line representing the data.

indices

A mapping from column name to column index

enums

A mapping from column name to enumerated type. This allows java-like enum syntax to be used

fieldSeparator

the between-column separator

intraFieldSeparator

separator within a column that allows vector-based input for given columns

missingId

a function that determines if the data in a given field or in a given position in a vector-based field is missing.

optEnumFunc

a function that given a field name optionally produces a function from field value to an enumerated type.

optHandler

an object responsible for the failure policy when an optional field or a field of vector of optional is provided with bad data.

Linear Supertypes
Serializable, Serializable, Product, Equals, CsvLine, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. CsvLineImpl
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. CsvLine
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CsvLineImpl(line: String, indices: Map[String, Int], enums: Map[String, Enum], fieldSeparator: String, intraFieldSeparator: String, missingId: (String) ⇒ Boolean, optEnumFunc: (String) ⇒ Option[(String) ⇒ EnumConstant], optHandler: OptionalHandler)

    line

    The actual string line representing the data.

    indices

    A mapping from column name to column index

    enums

    A mapping from column name to enumerated type. This allows java-like enum syntax to be used

    fieldSeparator

    the between-column separator

    intraFieldSeparator

    separator within a column that allows vector-based input for given columns

    missingId

    a function that determines if the data in a given field or in a given position in a vector-based field is missing.

    optEnumFunc

    a function that given a field name optionally produces a function from field value to an enumerated type.

    optHandler

    an object responsible for the failure policy when an optional field or a field of vector of optional is provided with bad data.

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def b(fieldName: String): Boolean

    Definition Classes
    CsvLineImplCsvLine
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def d(fieldName: String): Double

    Definition Classes
    CsvLineImplCsvLine
  10. def e(fieldName: String): EnumConstant

    Definition Classes
    CsvLineImplCsvLine
  11. val enums: Map[String, Enum]

    A mapping from column name to enumerated type.

    A mapping from column name to enumerated type. This allows java-like enum syntax to be used

  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def f(fieldName: String): Float

    Definition Classes
    CsvLineImplCsvLine
  14. val fieldSeparator: String

    the between-column separator

  15. val fieldsSep: String

  16. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  18. def i(fieldName: String): Int

    Currently, only base-10 integers are supported.

    Currently, only base-10 integers are supported.

    fieldName

    a field name of a field containing a string representation of a base-10 integer literal.

    returns

    an integer

    Definition Classes
    CsvLineImplCsvLine
  19. val indices: Map[String, Int]

    A mapping from column name to column index

  20. val intraFieldSep: String

  21. val intraFieldSeparator: String

    separator within a column that allows vector-based input for given columns

  22. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  23. def l(fieldName: String): Long

    Currently, only base-10 longs are supported.

    Currently, only base-10 longs are supported.

    fieldName

    a field name of a field containing a string representation of a base-10 long literal. Note that

    returns

    a long

    Definition Classes
    CsvLineImplCsvLine
  24. val line: String

    The actual string line representing the data.

  25. val missingId: (String) ⇒ Boolean

    a function that determines if the data in a given field or in a given position in a vector-based field is missing.

  26. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  27. final def notify(): Unit

    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  29. def ob(fieldName: String): Option[Boolean]

    Definition Classes
    CsvLineImplCsvLine
  30. def od(fieldName: String): Option[Double]

    Definition Classes
    CsvLineImplCsvLine
  31. def oe(fieldName: String): Option[EnumConstant]

    Definition Classes
    CsvLineImplCsvLine
  32. def of(fieldName: String): Option[Float]

    Definition Classes
    CsvLineImplCsvLine
  33. def oi(fieldName: String): Option[Int]

    Definition Classes
    CsvLineImplCsvLine
  34. def ol(fieldName: String): Option[Long]

    Definition Classes
    CsvLineImplCsvLine
  35. val optEnumFunc: (String) ⇒ Option[(String) ⇒ EnumConstant]

    a function that given a field name optionally produces a function from field value to an enumerated type.

  36. val optHandler: OptionalHandler

    an object responsible for the failure policy when an optional field or a field of vector of optional is provided with bad data.

  37. def os(fieldName: String): Option[String]

    Definition Classes
    CsvLineImplCsvLine
  38. def s(fieldName: String): String

    Definition Classes
    CsvLineImplCsvLine
  39. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  40. def vb(fieldName: String): IndexedSeq[Boolean]

    Definition Classes
    CsvLineImplCsvLine
  41. def vd(fieldName: String): IndexedSeq[Double]

    Definition Classes
    CsvLineImplCsvLine
  42. def ve(fieldName: String): IndexedSeq[EnumConstant]

    Definition Classes
    CsvLineImplCsvLine
  43. def vf(fieldName: String): IndexedSeq[Float]

    Definition Classes
    CsvLineImplCsvLine
  44. def vi(fieldName: String): IndexedSeq[Int]

    Definition Classes
    CsvLineImplCsvLine
  45. def vl(fieldName: String): IndexedSeq[Long]

    Definition Classes
    CsvLineImplCsvLine
  46. def vob(fieldName: String): IndexedSeq[Option[Boolean]]

    Definition Classes
    CsvLineImplCsvLine
  47. def vod(fieldName: String): IndexedSeq[Option[Double]]

    Definition Classes
    CsvLineImplCsvLine
  48. def voe(fieldName: String): IndexedSeq[Option[EnumConstant]]

    Definition Classes
    CsvLineImplCsvLine
  49. def vof(fieldName: String): IndexedSeq[Option[Float]]

    Definition Classes
    CsvLineImplCsvLine
  50. def voi(fieldName: String): IndexedSeq[Option[Int]]

    Definition Classes
    CsvLineImplCsvLine
  51. def vol(fieldName: String): IndexedSeq[Option[Long]]

    Definition Classes
    CsvLineImplCsvLine
  52. def vos(fieldName: String): IndexedSeq[Option[String]]

    Definition Classes
    CsvLineImplCsvLine
  53. def vs(fieldName: String): IndexedSeq[String]

    Definition Classes
    CsvLineImplCsvLine
  54. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from CsvLine

Inherited from AnyRef

Inherited from Any

Ungrouped