Type/Object

kantan.csv

CellDecoder

Related Docs: object CellDecoder | package csv

Permalink

type CellDecoder[A] = Decoder[String, A, DecodeError, codecs.type]

Describes how to decode CSV cells into specific types.

All types A such that there exists an implicit instance of CellDecoder[A] in scope can be decoded from CSV cells.

Note that instances of this type class are rarely used directly - their purpose is to be implicitly assembled into more complex instances of kantan.csv.RowDecoder.

See the companion object for creation and summoning methods.

See also

kantan.codecs.Decoder

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CellDecoder
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

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

    Permalink
    Definition Classes
    Decoder

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: (Either[F, D]) ⇒ Either[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 contramapEncoded[EE](f: (EE) ⇒ E): Decoder[EE, D, F, T]

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

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

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def flatMap[DD](f: (D) ⇒ Decoder[E, DD, F, T]): Decoder[E, DD, F, T]

    Permalink
    Definition Classes
    Decoder
    Annotations
    @SuppressWarnings()
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def handleErrorWith(f: (F) ⇒ Decoder[E, D, F, T]): Decoder[E, D, F, T]

    Permalink
    Definition Classes
    Decoder
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

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

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

    Permalink
    Definition Classes
    Decoder
  21. final def ne(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    Decoder
  25. def product[DD](decoder: Decoder[E, DD, F, T]): Decoder[E, (D, DD), F, T]

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

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

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

    Permalink
    Definition Classes
    AnyRef
  29. def tag[TT]: Decoder[E, D, F, TT]

    Permalink
    Definition Classes
    Decoder
    Annotations
    @SuppressWarnings()
  30. def toString(): String

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

    Permalink
    Definition Classes
    Decoder
    Annotations
    @SuppressWarnings()
  32. final def wait(): Unit

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

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

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

Deprecated Value Members

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

    Permalink
    Definition Classes
    Decoder
    Annotations
    @deprecated
    Deprecated

    (Since version 0.2.0) Use leftMap instead

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

    Permalink
    Definition Classes
    Decoder
    Annotations
    @deprecated
    Deprecated

    (Since version 0.2.0) Use emap instead

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped