Packages

final class HListShape[Level <: ShapeLevel, M <: HList, U <: HList, P <: HList] extends MappedScalaProductShape[Level, HList, M, U, P]

Source
HList.scala
Linear Supertypes
MappedScalaProductShape[Level, HList, M, U, P], MappedProductShape[Level, HList, M, U, P], ProductNodeShape[Level, HList, M, U, P], Shape[Level, M, U, P], AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HListShape
  2. MappedScalaProductShape
  3. MappedProductShape
  4. ProductNodeShape
  5. Shape
  6. AnyRef
  7. 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 HListShape(shapes: Seq[Shape[_ <: ShapeLevel, _, _, _]])(implicit arg0: ClassTag[U])

Type Members

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

Value Members

  1. 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
  2. def buildValue(elems: IndexedSeq[Any]): HList

    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
    HListShapeProductNodeShape
  3. implicit val classTag: ClassTag[U]
  4. def copy(shapes: Seq[Shape[_ <: ShapeLevel, _, _, _]]): HListShape[Level, Nothing, U, Nothing]

    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
    HListShapeProductNodeShape
  5. def encodeRef(value: Mixed, 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
  6. def getElement(value: HList, 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
    MappedScalaProductShapeProductNodeShape
  7. def getIterator(value: HList): 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
    MappedScalaProductShapeProductNodeShape
  8. def pack(value: Mixed): 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
  9. def packedShape: Shape[Level, Packed, Unpacked, Packed]

    Return the fully packed Shape

    Return the fully packed Shape

    Definition Classes
    ProductNodeShapeShape
  10. val shapes: Seq[Shape[_ <: ShapeLevel, _, _, _]]

    The Shapes for the product elements.

    The Shapes for the product elements.

    Definition Classes
    HListShapeProductNodeShape
  11. def toBase(v: Any): ProductWrapper
    Definition Classes
    MappedProductShape
  12. def toMapped(v: Any): Any
    Definition Classes
    MappedProductShape
  13. def toNode(value: Mixed): TypeMapping

    Return an AST Node representing a mixed value.

    Return an AST Node representing a mixed value.

    Definition Classes
    MappedProductShapeProductNodeShapeShape