Object

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

A CqlRowDecoder.Object is a mechanism that provides a way to decode an entire Row into some Scala type A.

NOTE: The automatic derivation mechanism and the custom method can produce the following subtype. The automatic derivation mechanism uses fromCqlPrimitive to create a CqlRowDecoder which knows how to extract a component. We use Magnolia to build up Scala case classes from their components

Attributes

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

Members list

Value members

Abstract methods

def decode(row: Row): A

Concrete methods

def absolve[B](implicit ev: A <:< Either[DecoderException, B]): Object[B]
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]