t

kantan.csv

RowEncoderInstances

trait RowEncoderInstances extends VersionSpecificRowEncoderInstances

Provides reasonable default RowEncoder instances for various types.

Source
RowEncoder.scala
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RowEncoderInstances
  2. VersionSpecificRowEncoderInstances
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. implicit def fromCellEncoder[A](implicit arg0: CellEncoder[A]): RowEncoder[A]

    Turns a CellEncoder into a RowEncoder, for rows that contain a single value.

    Turns a CellEncoder into a RowEncoder, for rows that contain a single value.

    scala> RowEncoder[Int].encode(123)
    res1: Seq[String] = List(123)
  2. implicit def iterable[A, M[X] <: IterableOnce[X]](implicit arg0: CellEncoder[A]): RowEncoder[M[A]]

    Provides a RowEncoder instance for all traversable collections.

    Provides a RowEncoder instance for all traversable collections.

    List, for example:

    scala> RowEncoder[List[Int]].encode(List(123, 456, 789))
    res1: Seq[String] = List(123, 456, 789)
    Definition Classes
    VersionSpecificRowEncoderInstances