CqlUdtValueDecoder

io.kaizensolutions.virgil.codecs.CqlUdtValueDecoder
See theCqlUdtValueDecoder companion trait

Attributes

Companion
trait
Graph
Supertypes
trait ProductDerivation[CqlUdtValueDecoder]
trait CommonDerivation[CqlUdtValueDecoder]
class Object
trait Matchable
class Any
Show all
Self type

Members list

Type members

Classlikes

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

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

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

Inherited types

Attributes

Inherited from:
CommonDerivation

Value members

Concrete methods

def apply[A](implicit ev: Object[A]): Object[A]
def cursor[A](f: UdtValueCursor => Either[DecoderException, A]): Object[A]
def cursorEither[A](f: UdtValueCursor => Either[DecoderException, A]): Object[Either[DecoderException, A]]
def custom[A](f: UdtValue => A): Object[A]

Inherited methods

inline def `getParams__`[T, Labels <: Tuple, Params <: Tuple](annotations: Map[String, List[Any]], inheritedAnnotations: Map[String, List[Any]], typeAnnotations: Map[String, List[Any]], repeated: Map[String, Boolean], defaults: Map[String, Option[() => Any]], idx: Int): List[Param[Typeclass, T]]

Attributes

Inherited from:
CommonDerivation
inline def derive[A](using Of[A]): Object[A]

Attributes

Inherited from:
UdtValueDecoderMagnoliaDerivation
inline def derivedMirror[A](using mirror: Of[A]): CqlUdtValueDecoder[A]

Attributes

Inherited from:
ProductDerivation
inline def derivedMirrorProduct[A](product: ProductOf[A]): CqlUdtValueDecoder[A]

Attributes

Inherited from:
CommonDerivation
inline def getParams[T, Labels <: Tuple, Params <: Tuple](annotations: Map[String, List[Any]], typeAnnotations: Map[String, List[Any]], repeated: Map[String, Boolean], idx: Int): List[Param[Typeclass, T]]

Attributes

Inherited from:
CommonDerivation
inline def getParams_[T, Labels <: Tuple, Params <: Tuple](annotations: Map[String, List[Any]], inheritedAnnotations: Map[String, List[Any]], typeAnnotations: Map[String, List[Any]], repeated: Map[String, Boolean], idx: Int): List[Param[Typeclass, T]]

Attributes

Inherited from:
CommonDerivation
final def join[T](ctx: CaseClass[Typeclass, T]): Object[T]

Must be implemented by the user of Magnolia to construct a typeclass for case class T using the provided type info. E.g. if we are deriving Show[T] typeclasses, and T is a case class Foo(...), we need to constuct Show[Foo].

Must be implemented by the user of Magnolia to construct a typeclass for case class T using the provided type info. E.g. if we are deriving Show[T] typeclasses, and T is a case class Foo(...), we need to constuct Show[Foo].

This method is called 'join' because typically it will join together the typeclasses for all the parameters of the case class, into a single typeclass for the case class itself. The field CaseClass.params can provide useful information for doing this.

Value parameters

caseClass

information about the case class T, its parameters, and their typeclasses

Attributes

Inherited from:
UdtValueDecoderMagnoliaDerivation

Givens

Inherited givens

inline given derived[A](using Of[A]): CqlUdtValueDecoder[A]

Attributes

Inherited from:
ProductDerivation

Implicits

Implicits

implicit def fromCqlPrimitive[A](implicit prim: CqlPrimitiveDecoder[A]): CqlUdtValueDecoder[A]
implicit def tuple10UdtValueDecoder[A, B, C, D, E, F, G, H, I, J](implicit one: CqlPrimitiveDecoder[A], two: CqlPrimitiveDecoder[B], three: CqlPrimitiveDecoder[C], four: CqlPrimitiveDecoder[D], five: CqlPrimitiveDecoder[E], six: CqlPrimitiveDecoder[F], seven: CqlPrimitiveDecoder[G], eight: CqlPrimitiveDecoder[H], nine: CqlPrimitiveDecoder[I], ten: CqlPrimitiveDecoder[J]): Object[(A, B, C, D, E, F, G, H, I, J)]
implicit def tuple11UdtValueDecoder[A, B, C, D, E, F, G, H, I, J, K](implicit one: CqlPrimitiveDecoder[A], two: CqlPrimitiveDecoder[B], three: CqlPrimitiveDecoder[C], four: CqlPrimitiveDecoder[D], five: CqlPrimitiveDecoder[E], six: CqlPrimitiveDecoder[F], seven: CqlPrimitiveDecoder[G], eight: CqlPrimitiveDecoder[H], nine: CqlPrimitiveDecoder[I], ten: CqlPrimitiveDecoder[J], eleven: CqlPrimitiveDecoder[K]): Object[(A, B, C, D, E, F, G, H, I, J, K)]
implicit def tuple12UdtValueDecoder[A, B, C, D, E, F, G, H, I, J, K, L](implicit one: CqlPrimitiveDecoder[A], two: CqlPrimitiveDecoder[B], three: CqlPrimitiveDecoder[C], four: CqlPrimitiveDecoder[D], five: CqlPrimitiveDecoder[E], six: CqlPrimitiveDecoder[F], seven: CqlPrimitiveDecoder[G], eight: CqlPrimitiveDecoder[H], nine: CqlPrimitiveDecoder[I], ten: CqlPrimitiveDecoder[J], eleven: CqlPrimitiveDecoder[K], twelve: CqlPrimitiveDecoder[L]): Object[(A, B, C, D, E, F, G, H, I, J, K, L)]
implicit def tuple13UdtValueDecoder[A, B, C, D, E, F, G, H, I, J, K, L, M](implicit one: CqlPrimitiveDecoder[A], two: CqlPrimitiveDecoder[B], three: CqlPrimitiveDecoder[C], four: CqlPrimitiveDecoder[D], five: CqlPrimitiveDecoder[E], six: CqlPrimitiveDecoder[F], seven: CqlPrimitiveDecoder[G], eight: CqlPrimitiveDecoder[H], nine: CqlPrimitiveDecoder[I], ten: CqlPrimitiveDecoder[J], eleven: CqlPrimitiveDecoder[K], twelve: CqlPrimitiveDecoder[L], thirteen: CqlPrimitiveDecoder[M]): Object[(A, B, C, D, E, F, G, H, I, J, K, L, M)]
implicit def tuple14UdtValueDecoder[A, B, C, D, E, F, G, H, I, J, K, L, M, N](implicit one: CqlPrimitiveDecoder[A], two: CqlPrimitiveDecoder[B], three: CqlPrimitiveDecoder[C], four: CqlPrimitiveDecoder[D], five: CqlPrimitiveDecoder[E], six: CqlPrimitiveDecoder[F], seven: CqlPrimitiveDecoder[G], eight: CqlPrimitiveDecoder[H], nine: CqlPrimitiveDecoder[I], ten: CqlPrimitiveDecoder[J], eleven: CqlPrimitiveDecoder[K], twelve: CqlPrimitiveDecoder[L], thirteen: CqlPrimitiveDecoder[M], fourteen: CqlPrimitiveDecoder[N]): Object[(A, B, C, D, E, F, G, H, I, J, K, L, M, N)]
implicit def tuple15UdtValueDecoder[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O](implicit one: CqlPrimitiveDecoder[A], two: CqlPrimitiveDecoder[B], three: CqlPrimitiveDecoder[C], four: CqlPrimitiveDecoder[D], five: CqlPrimitiveDecoder[E], six: CqlPrimitiveDecoder[F], seven: CqlPrimitiveDecoder[G], eight: CqlPrimitiveDecoder[H], nine: CqlPrimitiveDecoder[I], ten: CqlPrimitiveDecoder[J], eleven: CqlPrimitiveDecoder[K], twelve: CqlPrimitiveDecoder[L], thirteen: CqlPrimitiveDecoder[M], fourteen: CqlPrimitiveDecoder[N], fifteen: CqlPrimitiveDecoder[O]): Object[(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O)]
implicit def tuple16UdtValueDecoder[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P](implicit one: CqlPrimitiveDecoder[A], two: CqlPrimitiveDecoder[B], three: CqlPrimitiveDecoder[C], four: CqlPrimitiveDecoder[D], five: CqlPrimitiveDecoder[E], six: CqlPrimitiveDecoder[F], seven: CqlPrimitiveDecoder[G], eight: CqlPrimitiveDecoder[H], nine: CqlPrimitiveDecoder[I], ten: CqlPrimitiveDecoder[J], eleven: CqlPrimitiveDecoder[K], twelve: CqlPrimitiveDecoder[L], thirteen: CqlPrimitiveDecoder[M], fourteen: CqlPrimitiveDecoder[N], fifteen: CqlPrimitiveDecoder[O], sixteen: CqlPrimitiveDecoder[P]): Object[(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)]
implicit def tuple17UdtValueDecoder[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q](implicit one: CqlPrimitiveDecoder[A], two: CqlPrimitiveDecoder[B], three: CqlPrimitiveDecoder[C], four: CqlPrimitiveDecoder[D], five: CqlPrimitiveDecoder[E], six: CqlPrimitiveDecoder[F], seven: CqlPrimitiveDecoder[G], eight: CqlPrimitiveDecoder[H], nine: CqlPrimitiveDecoder[I], ten: CqlPrimitiveDecoder[J], eleven: CqlPrimitiveDecoder[K], twelve: CqlPrimitiveDecoder[L], thirteen: CqlPrimitiveDecoder[M], fourteen: CqlPrimitiveDecoder[N], fifteen: CqlPrimitiveDecoder[O], sixteen: CqlPrimitiveDecoder[P], seventeen: CqlPrimitiveDecoder[Q]): Object[(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q)]
implicit def tuple18UdtValueDecoder[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R](implicit one: CqlPrimitiveDecoder[A], two: CqlPrimitiveDecoder[B], three: CqlPrimitiveDecoder[C], four: CqlPrimitiveDecoder[D], five: CqlPrimitiveDecoder[E], six: CqlPrimitiveDecoder[F], seven: CqlPrimitiveDecoder[G], eight: CqlPrimitiveDecoder[H], nine: CqlPrimitiveDecoder[I], ten: CqlPrimitiveDecoder[J], eleven: CqlPrimitiveDecoder[K], twelve: CqlPrimitiveDecoder[L], thirteen: CqlPrimitiveDecoder[M], fourteen: CqlPrimitiveDecoder[N], fifteen: CqlPrimitiveDecoder[O], sixteen: CqlPrimitiveDecoder[P], seventeen: CqlPrimitiveDecoder[Q], eighteen: CqlPrimitiveDecoder[R]): Object[(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R)]
implicit def tuple19UdtValueDecoder[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S](implicit one: CqlPrimitiveDecoder[A], two: CqlPrimitiveDecoder[B], three: CqlPrimitiveDecoder[C], four: CqlPrimitiveDecoder[D], five: CqlPrimitiveDecoder[E], six: CqlPrimitiveDecoder[F], seven: CqlPrimitiveDecoder[G], eight: CqlPrimitiveDecoder[H], nine: CqlPrimitiveDecoder[I], ten: CqlPrimitiveDecoder[J], eleven: CqlPrimitiveDecoder[K], twelve: CqlPrimitiveDecoder[L], thirteen: CqlPrimitiveDecoder[M], fourteen: CqlPrimitiveDecoder[N], fifteen: CqlPrimitiveDecoder[O], sixteen: CqlPrimitiveDecoder[P], seventeen: CqlPrimitiveDecoder[Q], eighteen: CqlPrimitiveDecoder[R], nineteen: CqlPrimitiveDecoder[S]): Object[(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S)]
implicit def tuple1UdtValueDecoder[A](implicit one: CqlPrimitiveDecoder[A]): Object[Tuple1[A]]
implicit def tuple20UdtValueDecoder[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T](implicit one: CqlPrimitiveDecoder[A], two: CqlPrimitiveDecoder[B], three: CqlPrimitiveDecoder[C], four: CqlPrimitiveDecoder[D], five: CqlPrimitiveDecoder[E], six: CqlPrimitiveDecoder[F], seven: CqlPrimitiveDecoder[G], eight: CqlPrimitiveDecoder[H], nine: CqlPrimitiveDecoder[I], ten: CqlPrimitiveDecoder[J], eleven: CqlPrimitiveDecoder[K], twelve: CqlPrimitiveDecoder[L], thirteen: CqlPrimitiveDecoder[M], fourteen: CqlPrimitiveDecoder[N], fifteen: CqlPrimitiveDecoder[O], sixteen: CqlPrimitiveDecoder[P], seventeen: CqlPrimitiveDecoder[Q], eighteen: CqlPrimitiveDecoder[R], nineteen: CqlPrimitiveDecoder[S], twenty: CqlPrimitiveDecoder[T]): Object[(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T)]
implicit def tuple21UdtValueDecoder[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U](implicit one: CqlPrimitiveDecoder[A], two: CqlPrimitiveDecoder[B], three: CqlPrimitiveDecoder[C], four: CqlPrimitiveDecoder[D], five: CqlPrimitiveDecoder[E], six: CqlPrimitiveDecoder[F], seven: CqlPrimitiveDecoder[G], eight: CqlPrimitiveDecoder[H], nine: CqlPrimitiveDecoder[I], ten: CqlPrimitiveDecoder[J], eleven: CqlPrimitiveDecoder[K], twelve: CqlPrimitiveDecoder[L], thirteen: CqlPrimitiveDecoder[M], fourteen: CqlPrimitiveDecoder[N], fifteen: CqlPrimitiveDecoder[O], sixteen: CqlPrimitiveDecoder[P], seventeen: CqlPrimitiveDecoder[Q], eighteen: CqlPrimitiveDecoder[R], nineteen: CqlPrimitiveDecoder[S], twenty: CqlPrimitiveDecoder[T], twentyOne: CqlPrimitiveDecoder[U]): Object[(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U)]
implicit def tuple22UdtValueDecoder[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V](implicit one: CqlPrimitiveDecoder[A], two: CqlPrimitiveDecoder[B], three: CqlPrimitiveDecoder[C], four: CqlPrimitiveDecoder[D], five: CqlPrimitiveDecoder[E], six: CqlPrimitiveDecoder[F], seven: CqlPrimitiveDecoder[G], eight: CqlPrimitiveDecoder[H], nine: CqlPrimitiveDecoder[I], ten: CqlPrimitiveDecoder[J], eleven: CqlPrimitiveDecoder[K], twelve: CqlPrimitiveDecoder[L], thirteen: CqlPrimitiveDecoder[M], fourteen: CqlPrimitiveDecoder[N], fifteen: CqlPrimitiveDecoder[O], sixteen: CqlPrimitiveDecoder[P], seventeen: CqlPrimitiveDecoder[Q], eighteen: CqlPrimitiveDecoder[R], nineteen: CqlPrimitiveDecoder[S], twenty: CqlPrimitiveDecoder[T], twentyOne: CqlPrimitiveDecoder[U], twentyTwo: CqlPrimitiveDecoder[V]): Object[(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V)]
implicit def tuple2UdtValueDecoder[A, B](implicit one: CqlPrimitiveDecoder[A], two: CqlPrimitiveDecoder[B]): Object[(A, B)]
implicit def tuple3UdtValueDecoder[A, B, C](implicit one: CqlPrimitiveDecoder[A], two: CqlPrimitiveDecoder[B], three: CqlPrimitiveDecoder[C]): Object[(A, B, C)]
implicit def tuple4UdtValueDecoder[A, B, C, D](implicit one: CqlPrimitiveDecoder[A], two: CqlPrimitiveDecoder[B], three: CqlPrimitiveDecoder[C], four: CqlPrimitiveDecoder[D]): Object[(A, B, C, D)]
implicit def tuple5UdtValueDecoder[A, B, C, D, E](implicit one: CqlPrimitiveDecoder[A], two: CqlPrimitiveDecoder[B], three: CqlPrimitiveDecoder[C], four: CqlPrimitiveDecoder[D], five: CqlPrimitiveDecoder[E]): Object[(A, B, C, D, E)]
implicit def tuple6UdtValueDecoder[A, B, C, D, E, F](implicit one: CqlPrimitiveDecoder[A], two: CqlPrimitiveDecoder[B], three: CqlPrimitiveDecoder[C], four: CqlPrimitiveDecoder[D], five: CqlPrimitiveDecoder[E], six: CqlPrimitiveDecoder[F]): Object[(A, B, C, D, E, F)]
implicit def tuple7UdtValueDecoder[A, B, C, D, E, F, G](implicit one: CqlPrimitiveDecoder[A], two: CqlPrimitiveDecoder[B], three: CqlPrimitiveDecoder[C], four: CqlPrimitiveDecoder[D], five: CqlPrimitiveDecoder[E], six: CqlPrimitiveDecoder[F], seven: CqlPrimitiveDecoder[G]): Object[(A, B, C, D, E, F, G)]
implicit def tuple8UdtValueDecoder[A, B, C, D, E, F, G, H](implicit one: CqlPrimitiveDecoder[A], two: CqlPrimitiveDecoder[B], three: CqlPrimitiveDecoder[C], four: CqlPrimitiveDecoder[D], five: CqlPrimitiveDecoder[E], six: CqlPrimitiveDecoder[F], seven: CqlPrimitiveDecoder[G], eight: CqlPrimitiveDecoder[H]): Object[(A, B, C, D, E, F, G, H)]
implicit def tuple9UdtValueDecoder[A, B, C, D, E, F, G, H, I](implicit one: CqlPrimitiveDecoder[A], two: CqlPrimitiveDecoder[B], three: CqlPrimitiveDecoder[C], four: CqlPrimitiveDecoder[D], five: CqlPrimitiveDecoder[E], six: CqlPrimitiveDecoder[F], seven: CqlPrimitiveDecoder[G], eight: CqlPrimitiveDecoder[H], nine: CqlPrimitiveDecoder[I]): Object[(A, B, C, D, E, F, G, H, I)]