Attributes
- Companion
- object
- Source
- Codec.scala
- Graph
-
- Supertypes
-
trait Encoder[A]trait TwiddleSyntax[Encoder]trait Decoder[A]class Objecttrait Matchableclass AnyShow all
- Self type
-
Codec[A]
Members list
Value members
Concrete methods
Forget this value is a Codec
and treat it as a Decoder
.
Forget this value is a Codec
and treat it as an Encoder
.
Contramap inputs from, and map outputs to, a new type B
, yielding a Codec[B]
.
Contramap inputs from, and map outputs to, a new type B
, yielding a Codec[B]
.
Attributes
- Source
- Codec.scala
Lift this Codec
into Option
, where None
is mapped to and from a vector of NULL
.
Lift this Codec
into Option
, where None
is mapped to and from a vector of NULL
.
Attributes
- Definition Classes
- Source
- Codec.scala
Codec
is semigroupal: a pair of codecs make a codec for a pair.
Shorthand for product
. Note: consider using a *: b *: c
instead of a ~ b ~ c
.
Shorthand for product
. Note: consider using a *: b *: c
instead of a ~ b ~ c
.
Attributes
- Source
- Codec.scala
Inherited methods
Attributes
- Inherited from:
- Decoder
- Source
- Decoder.scala
Encode a value of type A
, yielding a list of MySQL text-formatted strings, lifted to Option
to handle NULL
values. Encoding failures raise unrecoverable errors.
Encode a value of type A
, yielding a list of MySQL text-formatted strings, lifted to Option
to handle NULL
values. Encoding failures raise unrecoverable errors.
Attributes
- Inherited from:
- Encoder
- Source
- Encoder.scala
Attributes
- Inherited from:
- Decoder
- Source
- Decoder.scala
Encoder
is semigroupal: a pair of encoders make a encoder for a pair.
Encoder
is semigroupal: a pair of encoders make a encoder for a pair.
Attributes
- Inherited from:
- Encoder
- Source
- Encoder.scala
Decoder
is semigroupal: a pair of decoders make a decoder for a pair.
Decoder
is semigroupal: a pair of decoders make a decoder for a pair.
Attributes
- Inherited from:
- Decoder
- Source
- Decoder.scala
Types of encoded fields, in order.
Implicits
Inherited implicits
Attributes
- Inherited from:
- TwiddleSyntax
- Source
- Twiddles.scala
Attributes
- Inherited from:
- TwiddleSyntax
- Source
- Twiddles.scala
Attributes
- Inherited from:
- TwiddleSyntax
- Source
- Twiddles.scala