OptionPrimitiveDecoder

io.kaizensolutions.virgil.codecs.CqlPrimitiveDecoder.OptionPrimitiveDecoder
final case class OptionPrimitiveDecoder[Scala, Driver](element: WithDriver[Scala, Driver]) extends CqlPrimitiveDecoder[Option[Scala]]

Attributes

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

Members list

Type members

Types

override type DriverType = element.DriverType

Value members

Concrete methods

override def driver2Scala(driverValue: DriverType, dataType: DataType): Option[Scala]

Attributes

Definition Classes
override def driverClass: Class[DriverType]

Attributes

Definition Classes

Inherited methods

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
CqlPrimitiveDecoder
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

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

Attributes

Inherited from:
CqlPrimitiveDecoder