Attributes
- Companion
- trait
- Graph
-
- Supertypes
-
trait ProductDerivation[CqlRowDecoder]trait CommonDerivation[CqlRowDecoder]class Objecttrait Matchableclass AnyShow all
- Self type
-
CqlRowDecoder.type
Members list
Type members
Classlikes
A CqlRowDecoder.Object is a mechanism that provides a way to decode an entire Row
into some Scala type 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
- Supertypes
- Self type
-
Object[A]
Inherited types
Attributes
- Inherited from:
- CommonDerivation
Value members
Concrete methods
Inherited methods
Attributes
- Inherited from:
- CommonDerivation
Attributes
- Inherited from:
- RowDecoderMagnoliaDerivation
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:
- RowDecoderMagnoliaDerivation
Givens
Inherited givens
Attributes
- Inherited from:
- ProductDerivation