t

kantan.csv

RowCodecInstances

trait RowCodecInstances extends RowEncoderInstances with RowDecoderInstances

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RowCodecInstances
  2. RowDecoderInstances
  3. RowEncoderInstances
  4. VersionSpecificRowEncoderInstances
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. implicit def fromCellDecoder[A](implicit arg0: CellDecoder[A]): RowDecoder[A]

    Turns a CellDecoder into a RowDecoder, for rows that contain a single value.

    Turns a CellDecoder into a RowDecoder, for rows that contain a single value.

    This provides default behaviour for RowDecoder.field by decoding the first cell.

    Definition Classes
    RowDecoderInstances
    Example:
    1. RowDecoder[Int].decode(Seq("123", "456", "789"))
      res1: DecodeResult[Int] = Right(123)
  2. 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)
    Definition Classes
    RowEncoderInstances
  3. implicit def hasBuilderRowDecoder[A, F[_]](implicit arg0: CellDecoder[A], hb: Factory[A, F[A]]): RowDecoder[F[A]]

    Provides a RowDecoder instance for all types that have an Factory, provided the inner type has a CellDecoder.

    Provides a RowDecoder instance for all types that have an Factory, provided the inner type has a CellDecoder.

    Definition Classes
    RowDecoderInstances
    Example:
    1. RowDecoder[List[Int]].decode(Seq("123", "456", "789"))
      res1: DecodeResult[List[Int]] = Right(List(123, 456, 789))
  4. 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