HListShape

slick.collection.heterogeneous.HList$.HListShape
final class HListShape[Level <: ShapeLevel, M <: HList, U <: HList, P <: HList](val shapes: Seq[Shape[_ <: ShapeLevel, _, _, _]])(implicit evidence$1: ClassTag[U]) extends MappedScalaProductShape[Level, HList, M, U, P]

Attributes

Source:
HList.scala
Graph
Supertypes
class MappedScalaProductShape[Level, HList, M, U, P]
class MappedProductShape[Level, HList, M, U, P]
class ProductNodeShape[Level, HList, M, U, P]
class Shape[Level, M, U, P]
class Object
trait Matchable
class Any

Members list

Concise view

Type members

Inherited types

type Mixed = Mixed_

Attributes

Inherited from:
Shape
Source:
Shape.scala
type Packed = Packed_

Attributes

Inherited from:
Shape
Source:
Shape.scala
type Unpacked = Unpacked_

Attributes

Inherited from:
Shape
Source:
Shape.scala

Value members

Concrete methods

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

Attributes

Definition Classes
Source:
HList.scala
override def copy(shapes: Seq[Shape[_ <: ShapeLevel, _, _, _]]): HListShape[Level, Nothing, U, Nothing]

Create a copy of this Shape with new element Shapes. This is used for packing Shapes recursively.

Create a copy of this Shape with new element Shapes. This is used for packing Shapes recursively.

Attributes

Definition Classes
Source:
HList.scala

Inherited methods

def buildParams(extract: Any => Unpacked): Packed

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.

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.

Attributes

Inherited from:
ProductNodeShape
Source:
Shape.scala
def encodeRef(value: Any, path: Node): Any

Encode a reference into a value of this Shape. This method may not be available for shapes where Mixed and Packed are different types.

Encode a reference into a value of this Shape. This method may not be available for shapes where Mixed and Packed are different types.

Attributes

Inherited from:
ProductNodeShape
Source:
Shape.scala
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.

Attributes

Inherited from:
MappedScalaProductShape
Source:
Shape.scala
override def getIterator(value: HList): Iterator[Any]

Get an Iterator of a record value's element values. The default implementation repeatedly calls getElement.

Get an Iterator of a record value's element values. The default implementation repeatedly calls getElement.

Attributes

Definition Classes
Inherited from:
MappedScalaProductShape
Source:
Shape.scala
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

Attributes

Inherited from:
ProductNodeShape
Source:
Shape.scala

Return the fully packed Shape

Return the fully packed Shape

Attributes

Inherited from:
ProductNodeShape
Source:
Shape.scala
def toBase(v: Any): ProductWrapper

Attributes

Inherited from:
MappedProductShape
Source:
Shape.scala
def toMapped(v: Any): Any

Attributes

Inherited from:
MappedProductShape
Source:
Shape.scala
override def toNode(value: Any): TypeMapping

Return an AST Node representing a mixed value.

Return an AST Node representing a mixed value.

Attributes

Definition Classes
Inherited from:
MappedProductShape
Source:
Shape.scala
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns:

a string representation of the object.

Definition Classes
Inherited from:
ProductNodeShape
Source:
Shape.scala

Concrete fields

val shapes: Seq[Shape[_ <: ShapeLevel, _, _, _]]

The Shapes for the product elements.

The Shapes for the product elements.

Attributes

Source:
HList.scala

Implicits

Inherited implicits

implicit val classTag: ClassTag[U]

Attributes

Inherited from:
MappedScalaProductShape
Source:
Shape.scala