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.
- Source
- package.scala
- See also
kantan.codecs.Codec
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- RowCodec
- Encoder
- Decoder
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def andThen[FF, DD](f: (Either[F, D]) => Either[FF, DD]): Decoder[E, DD, FF, T]
- Definition Classes
- Decoder
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def collect[DD](f: PartialFunction[D, DD])(implicit t: IsError[F]): Decoder[E, DD, F, T]
- Definition Classes
- Decoder
- Annotations
- @SuppressWarnings()
- def contramap[DD](f: (DD) => D): Encoder[E, DD, T]
- Definition Classes
- Encoder
- def contramapEncoded[EE](f: (EE) => E): Decoder[EE, D, F, T]
- Definition Classes
- Decoder
- def emap[DD](f: (D) => Either[F, DD]): Decoder[E, DD, F, T]
- Definition Classes
- Decoder
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def filter(f: (D) => Boolean)(implicit t: IsError[F]): Decoder[E, D, F, T]
- Definition Classes
- Decoder
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def flatMap[DD](f: (D) => Decoder[E, DD, F, T]): Decoder[E, DD, F, T]
- Definition Classes
- Decoder
- Annotations
- @SuppressWarnings()
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def handleErrorWith(f: (F) => Decoder[E, D, F, T]): Decoder[E, D, F, T]
- Definition Classes
- Decoder
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def imap[DD](f: (D) => DD)(g: (DD) => D): Codec[E, DD, F, T]
- Definition Classes
- Codec
- def imapEncoded[EE](f: (E) => EE)(g: (EE) => E): Codec[EE, D, F, T]
- Definition Classes
- Codec
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def leftMap[FF](f: (F) => FF): Codec[E, D, FF, T]
- Definition Classes
- Codec → Decoder
- def map[DD](f: (D) => DD): Decoder[E, DD, F, T]
- Definition Classes
- Decoder
- def mapEncoded[EE](f: (E) => EE): Encoder[EE, D, T]
- Definition Classes
- Encoder
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def orElse[DD >: D](d: Decoder[E, DD, F, T]): Decoder[E, DD, F, T]
- Definition Classes
- Decoder
- def product[DD](decoder: Decoder[E, DD, F, T]): Decoder[E, (D, DD), F, T]
- Definition Classes
- Decoder
- def recover[DD >: D](pf: PartialFunction[F, DD]): Decoder[E, DD, F, T]
- Definition Classes
- Decoder
- def recoverWith[DD >: D, FF >: F](pf: PartialFunction[F, Either[FF, DD]]): Decoder[E, DD, FF, T]
- Definition Classes
- Decoder
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def tag[TT]: Codec[E, D, F, TT]
- Definition Classes
- Codec → Encoder → Decoder
- Annotations
- @SuppressWarnings()
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unsafeDecode(e: E): D
- Definition Classes
- Decoder
- Annotations
- @SuppressWarnings()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Deprecated Value Members
- def mapError[FF](f: (F) => FF): Codec[E, D, FF, T]
- Definition Classes
- Codec → Decoder
- Annotations
- @deprecated
- Deprecated
(Since version 0.2.1) Use leftMap instead
- def mapResult[DD](f: (D) => Either[F, DD]): Decoder[E, DD, F, T]
- Definition Classes
- Decoder
- Annotations
- @deprecated
- Deprecated
(Since version 0.2.0) Use emap instead