Type/Object

kantan.csv

RowCodec

Related Docs: object RowCodec | package csv

Permalink

type RowCodec[A] = Codec[Seq[String], A, DecodeError, codecs.type]

Aggregates a RowEncoder and a RowDecoder.

The sole purpose of this type class is to provide a convenient way to create encoders and decoders. It should not be used directly for anything but instance creation - in particular, it should never be used in a context bound or expected as an implicit parameter.

See also

kantan.codecs.Codec

Linear Supertypes
Encoder[Seq[String], A, codecs.type], Decoder[Seq[String], A, DecodeError, codecs.type], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RowCodec
  2. Encoder
  3. Decoder
  4. Serializable
  5. Serializable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def decode(e: E): Result[F, D]

    Permalink
    Definition Classes
    Decoder
  2. abstract def encode(d: D): E

    Permalink
    Definition Classes
    Encoder

Concrete 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[FF, DD](f: (Result[F, D]) ⇒ Result[FF, DD]): Decoder[E, DD, FF, T]

    Permalink
    Definition Classes
    Decoder
  5. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def collect[DD](f: PartialFunction[D, DD])(implicit t: IsError[F]): Decoder[E, DD, F, T]

    Permalink
    Definition Classes
    Decoder
  8. def contramap[DD](f: (DD) ⇒ D): Encoder[E, DD, T]

    Permalink
    Definition Classes
    Encoder
  9. def contramapEncoded[EE](f: (EE) ⇒ E): Decoder[EE, D, F, T]

    Permalink
    Definition Classes
    Decoder
  10. def emap[DD](f: (D) ⇒ Result[F, DD]): Decoder[E, DD, F, T]

    Permalink
    Definition Classes
    Decoder
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. def filter(f: (D) ⇒ Boolean)(implicit t: IsError[F]): Decoder[E, D, F, T]

    Permalink
    Definition Classes
    Decoder
  14. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. def imap[DD](f: (D) ⇒ DD)(g: (DD) ⇒ D): Codec[E, DD, F, T]

    Permalink
    Definition Classes
    Codec
  18. def imapEncoded[EE](f: (E) ⇒ EE)(g: (EE) ⇒ E): Codec[EE, D, F, T]

    Permalink
    Definition Classes
    Codec
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. def leftMap[FF](f: (F) ⇒ FF): Codec[E, D, FF, T]

    Permalink
    Definition Classes
    Codec → Decoder
  21. def map[DD](f: (D) ⇒ DD): Decoder[E, DD, F, T]

    Permalink
    Definition Classes
    Decoder
  22. def mapEncoded[EE](f: (E) ⇒ EE): Encoder[EE, D, T]

    Permalink
    Definition Classes
    Encoder
  23. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  26. def orElse[DD >: D](d: Decoder[E, DD, F, T]): Decoder[E, DD, F, T]

    Permalink
    Definition Classes
    Decoder
  27. def recover[DD >: D](pf: PartialFunction[F, DD]): Decoder[E, DD, F, T]

    Permalink
    Definition Classes
    Decoder
  28. def recoverWith[DD >: D, FF >: F](pf: PartialFunction[F, Result[FF, DD]]): Decoder[E, DD, FF, T]

    Permalink
    Definition Classes
    Decoder
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  30. def tag[TT]: Codec[E, D, F, TT]

    Permalink
    Definition Classes
    Codec → Encoder → Decoder
    Annotations
    @SuppressWarnings()
  31. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  32. def unsafeDecode(e: E): D

    Permalink
    Definition Classes
    Decoder
  33. final def wait(): Unit

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

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

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

Deprecated Value Members

  1. def mapError[FF](f: (F) ⇒ FF): Codec[E, D, FF, T]

    Permalink
    Definition Classes
    Codec → Decoder
    Annotations
    @deprecated
    Deprecated

    (Since version 0.2.1) Use leftMap instead

  2. def mapResult[DD](f: (D) ⇒ Result[F, DD]): Decoder[E, DD, F, T]

    Permalink
    Definition Classes
    Decoder
    Annotations
    @deprecated
    Deprecated

    (Since version 0.2.0) Use emap instead

Inherited from Encoder[Seq[String], A, codecs.type]

Inherited from Decoder[Seq[String], A, DecodeError, codecs.type]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped