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.
Build a record value represented by this Shape from its element values.
Build a record value represented by this Shape from its element values.
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.
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.
Get the element value from a record value at the specified index.
Get the element value from a record value at the specified index.
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
.
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
Return the fully packed Shape
Return the fully packed Shape
The Shapes for the product elements.
The Shapes for the product elements.
Return an AST Node representing a mixed value.
Return an AST Node representing a mixed value.
(productClassShape: StringAdd).self
(productClassShape: StringFormat).self
(productClassShape: ArrowAssoc[ProductClassShape[E, C]]).x
(Since version 2.10.0) Use leftOfArrow
instead
(productClassShape: Ensuring[ProductClassShape[E, C]]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
A generic Product class shape that can be used to lift a class of plain Scala types to a class of lifted types. This allows the type to be used as a record type (like tuples and HLists) in the Lifted Embedding.
This can help with mapping tables >22 columns to classes, especially when using code generation. This can be used for Scala 2.11 case classes >22 fields.
Example: