Packages

c

slick.lifted

ProductNodeShape

abstract class ProductNodeShape[Level <: ShapeLevel, C, M <: C, U <: C, P <: C] extends Shape[Level, M, U, P]

Base class for Shapes of record values which are represented by ProductNodes in the AST.

C

The supertype for the record values.

M

The mixed type of the Shape (a subtype of C).

U

The unpacked type of the Shape (a subtype of C).

P

The fully packed type of the Shape (a subtype of C).

Source
Shape.scala
Linear Supertypes
Shape[Level, M, U, P], AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ProductNodeShape
  2. Shape
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ProductNodeShape()

Type Members

  1. type Mixed = M
    Definition Classes
    Shape
  2. type Packed = P
    Definition Classes
    Shape
  3. type Unpacked = U
    Definition Classes
    Shape

Abstract Value Members

  1. abstract def buildValue(elems: IndexedSeq[Any]): Any

    Build a record value represented by this Shape from its element values.

  2. 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.

  3. abstract def getElement(value: C, idx: Int): Any

    Get the element value from a record value at the specified index.

  4. abstract val shapes: Seq[Shape[_ <: ShapeLevel, _, _, _]]

    The Shapes for the product elements.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from ProductNodeShape[Level, C, M, U, P] toany2stringadd[ProductNodeShape[Level, C, M, U, P]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ProductNodeShape[Level, C, M, U, P], B)
    Implicit
    This member is added by an implicit conversion from ProductNodeShape[Level, C, M, U, P] toArrowAssoc[ProductNodeShape[Level, C, M, U, P]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. 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
    ProductNodeShapeShape
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  9. 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
    ProductNodeShapeShape
  10. def ensuring(cond: (ProductNodeShape[Level, C, M, U, P]) => Boolean, msg: => Any): ProductNodeShape[Level, C, M, U, P]
    Implicit
    This member is added by an implicit conversion from ProductNodeShape[Level, C, M, U, P] toEnsuring[ProductNodeShape[Level, C, M, U, P]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: (ProductNodeShape[Level, C, M, U, P]) => Boolean): ProductNodeShape[Level, C, M, U, P]
    Implicit
    This member is added by an implicit conversion from ProductNodeShape[Level, C, M, U, P] toEnsuring[ProductNodeShape[Level, C, M, U, P]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean, msg: => Any): ProductNodeShape[Level, C, M, U, P]
    Implicit
    This member is added by an implicit conversion from ProductNodeShape[Level, C, M, U, P] toEnsuring[ProductNodeShape[Level, C, M, U, P]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean): ProductNodeShape[Level, C, M, U, P]
    Implicit
    This member is added by an implicit conversion from ProductNodeShape[Level, C, M, U, P] toEnsuring[ProductNodeShape[Level, C, M, U, P]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  17. 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.

  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  23. 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
    ProductNodeShapeShape
  24. def packedShape: Shape[Level, Packed, Unpacked, Packed]

    Return the fully packed Shape

    Return the fully packed Shape

    Definition Classes
    ProductNodeShapeShape
  25. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  26. def toNode(value: Any): Node

    Return an AST Node representing a mixed value.

    Return an AST Node representing a mixed value.

    Definition Classes
    ProductNodeShapeShape
  27. def toString(): String
    Definition Classes
    ProductNodeShape → AnyRef → Any
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

  2. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from ProductNodeShape[Level, C, M, U, P] toStringFormat[ProductNodeShape[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 of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  3. def [B](y: B): (ProductNodeShape[Level, C, M, U, P], B)
    Implicit
    This member is added by an implicit conversion from ProductNodeShape[Level, C, M, U, P] toArrowAssoc[ProductNodeShape[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.

Inherited from Shape[Level, M, U, P]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromProductNodeShape[Level, C, M, U, P] to any2stringadd[ProductNodeShape[Level, C, M, U, P]]

Inherited by implicit conversion StringFormat fromProductNodeShape[Level, C, M, U, P] to StringFormat[ProductNodeShape[Level, C, M, U, P]]

Inherited by implicit conversion Ensuring fromProductNodeShape[Level, C, M, U, P] to Ensuring[ProductNodeShape[Level, C, M, U, P]]

Inherited by implicit conversion ArrowAssoc fromProductNodeShape[Level, C, M, U, P] to ArrowAssoc[ProductNodeShape[Level, C, M, U, P]]

Ungrouped