ContramapPrimitiveEncoder

io.kaizensolutions.virgil.codecs.CqlPrimitiveEncoder.ContramapPrimitiveEncoder
final case class ContramapPrimitiveEncoder[Scala, Scala2, Driver](element: WithDriver[Scala, Driver], f: Scala2 => Scala) extends CqlPrimitiveEncoder[Scala2]

Attributes

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

Members list

Type members

Types

override type DriverType = Driver

Value members

Concrete methods

override def driverClass: Class[DriverType]

Attributes

Definition Classes
override def scala2Driver(scalaValue: Scala2, dataType: DataType): DriverType

Attributes

Definition Classes

Inherited methods

def contramap[ScalaType2](f: ScalaType2 => Scala2): WithDriver[ScalaType2, DriverType]

Attributes

Inherited from:
CqlPrimitiveEncoder
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product