given_Codec_String

ldbc.dsl.codec.Codec.given_Codec_String
object given_Codec_String extends Codec[String]

Attributes

Source
Codec.scala
Graph
Supertypes
trait Codec[String]
trait Decoder[String]
trait Encoder[String]
class Object
trait Matchable
class Any
Show all
Self type

Members list

Value members

Concrete methods

override def decode(resultSet: ResultSet, index: Int): Either[Error, String]

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

Definition Classes
Source
Codec.scala
override def encode(value: String): Encoded

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

Definition Classes
Source
Codec.scala
override def offset: Int

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

Definition Classes
Source
Codec.scala

Inherited methods

Forget this value is a Codec and treat it as a Decoder.

Forget this value is a Codec and treat it as a Decoder.

Attributes

Inherited from:
Codec
Source
Codec.scala

Forget this value is a Codec and treat it as an Encoder.

Forget this value is a Codec and treat it as an Encoder.

Attributes

Inherited from:
Codec
Source
Codec.scala
def contraemap[B](func: B => Either[String, String]): Encoder[B]

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
def contramap[B](func: B => String): Encoder[B]

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
def eimap[B](f: String => Either[String, B])(g: B => String): Codec[B]

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

Inherited from:
Codec
Source
Codec.scala
def emap[B](f: String => Either[String, B]): Decoder[B]

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
def imap[B](f: String => B)(g: B => String): Codec[B]

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

Inherited from:
Codec
Source
Codec.scala
def map[B](f: String => B): Decoder[B]

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
override def opt: Codec[Option[String]]

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
Inherited from:
Codec
Source
Codec.scala
def product[B](fb: Codec[B]): Codec[(String, B)]

Codec is semigroupal: a pair of codecs make a codec for a pair.

Codec is semigroupal: a pair of codecs make a codec for a pair.

Attributes

Inherited from:
Codec
Source
Codec.scala
def product[B](fb: Decoder[B]): Decoder[(String, B)]

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
def product[B](that: Encoder[B]): Encoder[(String, B)]

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