abstract class MappedScalaProductShape[Level <: ShapeLevel, C <: Product, M <: C, U <: C, P <: C] extends MappedProductShape[Level, C, M, U, P]
Base class for ProductNodeShapes with a type mapping to a type that extends scala.Product
- Source
- Shape.scala
- Alphabetic
- By Inheritance
- MappedScalaProductShape
- MappedProductShape
- ProductNodeShape
- Shape
- AnyRef
- Any
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new MappedScalaProductShape()(implicit classTag: ClassTag[U])
Type Members
Abstract Value Members
- abstract def buildValue(elems: IndexedSeq[Any]): Any
Build a record value represented by this Shape from its element values.
Build a record value represented by this Shape from its element values.
- Definition Classes
- ProductNodeShape
- abstract def copy(shapes: Seq[Shape[_ <: ShapeLevel, _, _, _]]): Shape[Level, _, _, _]
Create a copy of this Shape with new element Shapes.
Create a copy of this Shape with new element Shapes. This is used for packing Shapes recursively.
- Definition Classes
- ProductNodeShape
- abstract val shapes: Seq[Shape[_ <: ShapeLevel, _, _, _]]
The Shapes for the product elements.
The Shapes for the product elements.
- Definition Classes
- ProductNodeShape
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def ->[B](y: B): (MappedScalaProductShape[Level, C, M, U, P], B)
- Implicit
- This member is added by an implicit conversion from MappedScalaProductShape[Level, C, M, U, P] toArrowAssoc[MappedScalaProductShape[Level, C, M, U, P]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def buildParams(extract: (Any) => Unpacked): Packed
Build a packed representation containing QueryParameters that can extract data from the unpacked representation later.
Build a packed representation containing QueryParameters that can extract data from the unpacked representation later. This method is not available for shapes where Mixed and Unpacked are different types.
- Definition Classes
- ProductNodeShape → Shape
- implicit val classTag: ClassTag[U]
- Definition Classes
- MappedScalaProductShape → MappedProductShape
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- def encodeRef(value: Any, path: Node): Any
Encode a reference into a value of this Shape.
Encode a reference into a value of this Shape. This method may not be available for shapes where Mixed and Packed are different types.
- Definition Classes
- ProductNodeShape → Shape
- def ensuring(cond: (MappedScalaProductShape[Level, C, M, U, P]) => Boolean, msg: => Any): MappedScalaProductShape[Level, C, M, U, P]
- Implicit
- This member is added by an implicit conversion from MappedScalaProductShape[Level, C, M, U, P] toEnsuring[MappedScalaProductShape[Level, C, M, U, P]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (MappedScalaProductShape[Level, C, M, U, P]) => Boolean): MappedScalaProductShape[Level, C, M, U, P]
- Implicit
- This member is added by an implicit conversion from MappedScalaProductShape[Level, C, M, U, P] toEnsuring[MappedScalaProductShape[Level, C, M, U, P]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): MappedScalaProductShape[Level, C, M, U, P]
- Implicit
- This member is added by an implicit conversion from MappedScalaProductShape[Level, C, M, U, P] toEnsuring[MappedScalaProductShape[Level, C, M, U, P]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): MappedScalaProductShape[Level, C, M, U, P]
- Implicit
- This member is added by an implicit conversion from MappedScalaProductShape[Level, C, M, U, P] toEnsuring[MappedScalaProductShape[Level, C, M, U, P]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def getElement(value: C, idx: Int): Any
Get the element value from a record value at the specified index.
Get the element value from a record value at the specified index.
- Definition Classes
- MappedScalaProductShape → ProductNodeShape
- def getIterator(value: C): Iterator[Any]
Get an Iterator of a record value's element values.
Get an Iterator of a record value's element values. The default implementation repeatedly calls
getElement
.- Definition Classes
- MappedScalaProductShape → ProductNodeShape
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def pack(value: Any): Packed
Convert a value of this Shape's (mixed) type to the fully packed type
Convert a value of this Shape's (mixed) type to the fully packed type
- Definition Classes
- ProductNodeShape → Shape
- def packedShape: Shape[Level, Packed, Unpacked, Packed]
Return the fully packed Shape
Return the fully packed Shape
- Definition Classes
- ProductNodeShape → Shape
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toBase(v: Any): ProductWrapper
- Definition Classes
- MappedProductShape
- def toMapped(v: Any): Any
- Definition Classes
- MappedProductShape
- def toNode(value: Any): TypeMapping
Return an AST Node representing a mixed value.
Return an AST Node representing a mixed value.
- Definition Classes
- MappedProductShape → ProductNodeShape → Shape
- def toString(): String
- Definition Classes
- ProductNodeShape → AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from MappedScalaProductShape[Level, C, M, U, P] toStringFormat[MappedScalaProductShape[Level, C, M, U, P]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
- def →[B](y: B): (MappedScalaProductShape[Level, C, M, U, P], B)
- Implicit
- This member is added by an implicit conversion from MappedScalaProductShape[Level, C, M, U, P] toArrowAssoc[MappedScalaProductShape[Level, C, M, U, P]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.
edit this text on github
Scala Language-Integrated Connection Kit
This is the API documentation for the Slick database library. It should be used as an additional resource to the user manual.
Further documentation for Slick can be found on the documentation pages.
To the slick package list...