Symmetric encoder and decoder of MySQL data to and from Scala types.
Type parameters
- A
-
Types handled in Scala
Attributes
- Companion
- object
- Source
- Codec.scala
- Graph
-
- Supertypes
- Known subtypes
-
object given_Codec_Arrayobject given_Codec_BigDecimalobject given_Codec_Booleanobject given_Codec_Byteobject given_Codec_Doubleobject given_Codec_Floatobject given_Codec_Intobject given_Codec_LocalDateobject given_Codec_LocalDateTimeobject given_Codec_LocalTimeobject given_Codec_Longobject given_Codec_None_typeobject given_Codec_Shortobject given_Codec_StringShow 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 decoded results to a new type B
or an error, yielding a Codec[B]
.
Contramap inputs from, and map decoded results to a new type B
or an error, yielding a Codec[B]
.
Attributes
- Source
- Codec.scala
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.
Inherited methods
Map outputs to a new type B
, yielding an Encoder[B]
.
Map outputs to a new type B
, yielding an Encoder[B]
.
Attributes
- Inherited from:
- Encoder
- Source
- Encoder.scala
Contramap inputs from a new type B
, yielding an Encoder[B]
.
Contramap inputs from a new type B
, yielding an Encoder[B]
.
Attributes
- Inherited from:
- Encoder
- Source
- Encoder.scala
Map decoded results to a new type B
or an error, yielding a Decoder[B]
.
Map decoded results to a new type B
or an error, yielding a Decoder[B]
.
Attributes
- Inherited from:
- Decoder
- Source
- Decoder.scala
Map decoded results to a new type B
, yielding a Decoder[B]
.
Map decoded results to a new type B
, yielding a Decoder[B]
.
Attributes
- Inherited from:
- Decoder
- Source
- Decoder.scala
Offset value for the next data to be retrieved from the ResultSet.
Offset value for the next data to be retrieved from the ResultSet.
Attributes
- Inherited from:
- Decoder
- Source
- Decoder.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
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
Inherited and Abstract methods
Method to retrieve data from a ResultSet using an Index number.
Method to retrieve data from a ResultSet using an Index number.
Value parameters
- index
-
Index number of the data to be retrieved from the ResultSet.
- resultSet
-
A table of data representing a database result set, which is usually generated by executing a statement that queries the database.
Attributes
- Inherited from:
- Decoder
- Source
- Decoder.scala
Method to convert Scala types to types that can be handled by PreparedStatement.
Method to convert Scala types to types that can be handled by PreparedStatement.
Value parameters
- value
-
Scala types
Attributes
- Returns
-
Types that can be handled by PreparedStatement
- Inherited from:
- Encoder
- Source
- Encoder.scala