Attributes
- Companion
- trait
- Graph
-
- Supertypes
-
trait ProductDerivation[CqlUdtValueEncoder]trait CommonDerivation[CqlUdtValueEncoder]class Objecttrait Matchableclass AnyShow all
- Self type
-
CqlUdtValueEncoder.type
Members list
Type members
Classlikes
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
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
- Supertypes
- Self type
-
Object[A]
Inherited types
Attributes
- Inherited from:
- CommonDerivation
Value members
Inherited methods
Attributes
- Inherited from:
- CommonDerivation
Attributes
- Inherited from:
- UdtValueEncoderMagnoliaDerivation
Attributes
- Inherited from:
- ProductDerivation
Attributes
- Inherited from:
- CommonDerivation
Attributes
- Inherited from:
- CommonDerivation
Attributes
- Inherited from:
- CommonDerivation
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:
- UdtValueEncoderMagnoliaDerivation
Givens
Inherited givens
Attributes
- Inherited from:
- ProductDerivation