Decoder

ldbc.connector.codec.Decoder
See theDecoder companion object
trait Decoder[A]

Decoder of MySQL text-format data into Scala types.

Attributes

Companion
object
Source
Decoder.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Codec[A]
Self type
Decoder[A]

Members list

Value members

Abstract methods

def decode(offset: Int, ss: List[Option[String]]): Either[Error, A]

Attributes

Source
Decoder.scala
def types: List[Type]

Attributes

Source
Decoder.scala

Concrete methods

def length: Int

Attributes

Source
Decoder.scala
def opt: Decoder[Option[A]]

Lift this Decoder into Option.

Lift this Decoder into Option.

Attributes

Source
Decoder.scala
def product[B](fb: Decoder[B]): Decoder[(A, 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

Source
Decoder.scala