ArrayDecoders
trait ArrayEncoding
trait EncodingDsl
trait LowPriorityImplicits
class Object
trait Matchable
class Any
JdbcContextTypes[_, _]
Type members
Inherited types
Value members
Concrete methods
def arrayDecoder[I, O, Col <: Seq[O]](mapper: I => O)(implicit bf: Factory[O, Col], tag: ClassTag[I]): <none>[Col]
Generic encoder for JDBC arrays.
Generic encoder for JDBC arrays.
- Type Params
- Col
seq type
- I
raw type retrieved form JDBC array
- O
mapped type fulfilled in decoder's collection
- Value Params
- bf
builder factory is needed to create instances of decoder's collection
- mapper
retrieved raw types fro JDBC array may be mapped via this mapper to satisfy encoder type
- Returns
JDBC array decoder
def arrayRawDecoder[T : ClassTag, Col <: Seq[T]](implicit evidence$1: ClassTag[T], bf: Factory[T, Col]): <none>[Col]
Creates JDBC array decoder for type T
which is already supported by database as array element.
Creates JDBC array decoder for type T
which is already supported by database as array element.
- Type Params
- Col
seq type
- T
element type
- Value Params
- bf
builder factory is needed to create instances of decoder's collection
- Returns
JDBC array decoder
Inherited methods
protected
def mappedBaseDecoder[Base, Mapped](mapped: MappedEncoding[Base, Mapped], decoder: () => Base): () => Mapped
- Inherited from
- EncodingDsl
protected
def mappedBaseEncoder[Mapped, Base](mapped: MappedEncoding[Mapped, Base], encoder: () => Base): () => Mapped
- Inherited from
- EncodingDsl
Implicits
Implicits
implicit
def arrayBigDecimalDecoder[Col <: Seq[BigDecimal]](implicit bf: Factory[BigDecimal, Col]): <none>[Col]
Inherited implicits
implicit
def arrayMappedDecoder[I, O, Col <: (Seq)](implicit mapped: MappedEncoding[I, O], d: Decoder[Seq[I]], bf: Factory[O, Col[O]]): Decoder[Col[O]]
- Inherited from
- ArrayEncoding
implicit
def arrayMappedEncoder[I, O, Col <: (Seq)](implicit mapped: MappedEncoding[I, O], e: Encoder[Seq[O]]): Encoder[Col[I]]
- Inherited from
- ArrayEncoding
implicit
def mappedDecoder[Base, Mapped](implicit mapped: MappedEncoding[Base, Mapped], decoder: Decoder[Base]): Decoder[Mapped]
- Inherited from
- EncodingDsl
implicit
def mappedEncoder[Mapped, Base](implicit mapped: MappedEncoding[Mapped, Base], encoder: Encoder[Base]): Encoder[Mapped]
- Inherited from
- EncodingDsl