MapFunctionPrimitiveDecoder

io.kaizensolutions.virgil.codecs.CqlPrimitiveDecoder.MapFunctionPrimitiveDecoder
final case class MapFunctionPrimitiveDecoder[Scala, Scala2, Driver](original: WithDriver[Scala, Driver], f: Scala => Scala2) extends CqlPrimitiveDecoder[Scala2]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait CqlPrimitiveDecoder[Scala2]
class Object
trait Matchable
class Any
Show all

Members list

Type members

Types

override type DriverType = original.DriverType

Value members

Concrete methods

override def driver2Scala(driverValue: DriverType, dataType: DataType): Scala2

Attributes

Definition Classes
override def driverClass: Class[DriverType]

Attributes

Definition Classes

Inherited methods

def absolve[ScalaType2](implicit ev: Scala2 <:< Either[DecoderException, ScalaType2]): WithDriver[ScalaType2, DriverType]

Attributes

Inherited from:
CqlPrimitiveDecoder
def either: WithDriver[Either[DecoderException, Scala2], DriverType]

Attributes

Inherited from:
CqlPrimitiveDecoder
def map[ScalaType2](f: Scala2 => ScalaType2): WithDriver[ScalaType2, DriverType]

Attributes

Inherited from:
CqlPrimitiveDecoder
def optional: WithDriver[Option[Scala2], DriverType]

Attributes

Inherited from:
CqlPrimitiveDecoder
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def widen[SuperTypeScala >: Scala2]: WithDriver[SuperTypeScala, DriverType]

Attributes

Inherited from:
CqlPrimitiveDecoder