ArrayEncoders
trait ArrayEncoding
trait EncodingDsl
trait LowPriorityImplicits
class Object
trait Matchable
class Any
JdbcContextTypes[_, _]
Type members
Inherited types
Value members
Concrete methods
Generic encoder for JDBC arrays.
Generic encoder for JDBC arrays.
- Type Params
- Col
seq type
- T
element type
- Value Params
- jdbcType
JDBC specific type identification, may be various regarding to JDBC driver
- mapper
jdbc array accepts AnyRef objects hence a mapper is needed. If input type of an element of collection is not comfortable with jdbcType then use this mapper to transform to appropriate type before casting to AnyRef
- Returns
JDBC array encoder
Creates JDBC array encoder for type T
which is already supported by database as array element.
Creates JDBC array encoder for type T
which is already supported by database as array element.
- Type Params
- Col
seq type
- T
element type
- Value Params
- jdbcType
JDBC specific type identification, may be various regarding to JDBC driver
- Returns
JDBC array encoder
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
Inherited implicits
implicit
def arrayBigDecimalDecoder[Col <: Seq[BigDecimal]](implicit bf: Factory[BigDecimal, Col]): Decoder[Col]
- Inherited from
- ArrayEncoding
implicit
def arrayLocalDateDecoder[Col <: Seq[LocalDate]](implicit bf: Factory[LocalDate, Col]): Decoder[Col]
- Inherited from
- ArrayEncoding
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