EitherPrimitiveDecoder

io.kaizensolutions.virgil.codecs.CqlPrimitiveDecoder.EitherPrimitiveDecoder
final case class EitherPrimitiveDecoder[Scala, Driver](original: WithDriver[Scala, Driver]) extends CqlPrimitiveDecoder[Either[DecoderException, Scala]]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait CqlPrimitiveDecoder[Either[DecoderException, Scala]]
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): Either[DecoderException, Scala]

Attributes

Definition Classes
override def driverClass: Class[DriverType]

Attributes

Definition Classes

Inherited methods

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

Attributes

Inherited from:
CqlPrimitiveDecoder

Attributes

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

Attributes

Inherited from:
CqlPrimitiveDecoder
def optional: WithDriver[Option[Either[DecoderException, 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 >: Either[DecoderException, Scala]]: WithDriver[SuperTypeScala, DriverType]

Attributes

Inherited from:
CqlPrimitiveDecoder