Class/Object

com.eharmony.aloha.dataset.csv

CsvRowCreator

Related Docs: object CsvRowCreator | package csv

Permalink

final case class CsvRowCreator[-A](features: FeatureExtractorFunction[A, String], headers: Vector[String], separator: String = ",") extends CharSeqRowCreator[A] with Product with Serializable

A transformer that takes a value of a specified input type that produces string-based CSV data.

A

the input type that is transformed into CSV output.

features

a representation of the features used to generate the row ouput.

headers

note that the dimensionality of this vector is equal to the dimensionality of the output vector produced by features rather than the number of features used to produce the vector. This is because categorical variables can be expanded in different ways based on the com.eharmony.aloha.dataset.csv.encoding.Encoding used.

separator

the field separator

Linear Supertypes
Product, Equals, RowCreator[A, CharSequence], Serializable, Serializable, (A) ⇒ (MissingAndErroneousFeatureInfo, CharSequence), AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CsvRowCreator
  2. Product
  3. Equals
  4. RowCreator
  5. Serializable
  6. Serializable
  7. Function1
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CsvRowCreator(features: FeatureExtractorFunction[A, String], headers: Vector[String], separator: String = ",")

    Permalink

    features

    a representation of the features used to generate the row ouput.

    headers

    note that the dimensionality of this vector is equal to the dimensionality of the output vector produced by features rather than the number of features used to produce the vector. This is because categorical variables can be expanded in different ways based on the com.eharmony.aloha.dataset.csv.encoding.Encoding used.

    separator

    the field separator

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. def andThen[A](g: ((MissingAndErroneousFeatureInfo, CharSequence)) ⇒ A): (A) ⇒ A

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  5. def apply(data: A): (MissingAndErroneousFeatureInfo, String)

    Permalink
    Definition Classes
    CsvRowCreator → Function1
  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. def compose[A](g: (A) ⇒ A): (A) ⇒ (MissingAndErroneousFeatureInfo, CharSequence)

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. val features: FeatureExtractorFunction[A, String]

    Permalink

    a representation of the features used to generate the row ouput.

  11. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. def headerString: String

    Permalink

    returns

    A string containing all the headers associated with the CSV rows created by this RowCreator.

  14. val headers: Vector[String]

    Permalink

    note that the dimensionality of this vector is equal to the dimensionality of the output vector produced by features rather than the number of features used to produce the vector.

    note that the dimensionality of this vector is equal to the dimensionality of the output vector produced by features rather than the number of features used to produce the vector. This is because categorical variables can be expanded in different ways based on the com.eharmony.aloha.dataset.csv.encoding.Encoding used.

  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  19. val separator: String

    Permalink

    the field separator

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

    Permalink
    Definition Classes
    AnyRef
  21. def toString(): String

    Permalink
    Definition Classes
    Function1 → AnyRef → Any
  22. final def wait(): Unit

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

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

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

Inherited from Product

Inherited from Equals

Inherited from RowCreator[A, CharSequence]

Inherited from Serializable

Inherited from Serializable

Inherited from (A) ⇒ (MissingAndErroneousFeatureInfo, CharSequence)

Inherited from AnyRef

Inherited from Any

Ungrouped