Object

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

A CqlUdtValueDecoder.Object is a mechanism that provides a way to decode a UdtValue into a Scala type A. This is the public interface exposed to the user

Attributes

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

Members list

Value members

Abstract methods

def decode(structure: UdtValue): A

Concrete methods

def absolve[B](implicit ev: A <:< Either[DecoderException, B]): Object[B]
override def decodeByFieldName(structure: UdtValue, fieldName: String): A

Attributes

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

Attributes

Definition Classes
def either: Object[Either[DecoderException, A]]
def eitherWith[B, C](other: Object[B])(f: (Either[A, B]) => C): Object[C]
def map[B](f: A => B): Object[B]
def orElse(other: Object[A]): Object[A]
def orElseEither[B](other: Object[B]): Object[Either[A, B]]
def widen[B >: A]: Object[B]
def zip[B](other: Object[B]): Object[(A, B)]
def zipWith[B, C](other: Object[B])(f: (A, B) => C): Object[C]