Object

io.kaizensolutions.virgil.codecs.CqlUdtValueEncoder.Object
trait Object[A] extends CqlUdtValueEncoder[A]

A CqlUdtValueEncoder.Object that encodes a Scala type A as an entire UdtValue. This is really contravariant in A but Magnolia's automatic derivation process is disrupted

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Object[A]

Members list

Value members

Abstract methods

def encode(structure: UdtValue, value: A): UdtValue

Concrete methods

def contramap[B](f: B => A): Object[B]
override def encodeByFieldName(structure: UdtValue, fieldName: String, value: A): UdtValue

Attributes

Definition Classes
override def encodeByIndex(structure: UdtValue, index: Int, value: A): UdtValue

Attributes

Definition Classes
def narrow[B <: A]: Object[B]
def zip[B](that: Object[B]): Object[(A, B)]