ArrayDecoders

io.getquill.context.jdbc.ArrayDecoders
trait ArrayDecoders extends ArrayEncoding

Attributes

Graph
Supertypes
trait ArrayEncoding
trait EncodingDsl
trait LowPriorityImplicits
class Object
trait Matchable
class Any
Show all
Known subtypes
Self type

Members list

Type members

Inherited types

type BaseDecoder[T] = GenericDecoder[ResultRow, Session, T, Specific]

Attributes

Inherited from:
EncodingDsl
type BaseEncoder[T] = GenericEncoder[T, PrepareRow, Session]

Attributes

Inherited from:
EncodingDsl
type BaseNullChecker = GenericNullChecker[ResultRow, Session]

Attributes

Inherited from:
EncodingDsl
type CBF[T, Col] = Factory[T, Col]

Attributes

Inherited from:
ArrayEncoding
type ColumnResolver = GenericColumnResolver[ResultRow]

Attributes

Inherited from:
EncodingDsl
type Decoder[T] <: GenericDecoder[ResultRow, Session, T, Specific]

Attributes

Inherited from:
EncodingDsl
type DecoderMethod[T] = (Int, ResultRow, Session) => T

Attributes

Inherited from:
EncodingDsl
type Encoder[T] <: GenericEncoder[T, PrepareRow, Session]

Attributes

Inherited from:
EncodingDsl
type EncoderMethod[T] = (Int, T, PrepareRow, Session) => PrepareRow

Attributes

Inherited from:
EncodingDsl
type NullChecker <: GenericNullChecker[ResultRow, Session]

Attributes

Inherited from:
EncodingDsl
type PrepareRow

Attributes

Inherited from:
EncodingDsl
type ResultRow

Attributes

Inherited from:
EncodingDsl
type RowTyper[T] = GenericRowTyper[ResultRow, T]

Attributes

Inherited from:
EncodingDsl
type Session

Attributes

Inherited from:
EncodingDsl

Value members

Concrete methods

def arrayDecoder[I, O, Col <: Seq[O]](mapper: I => O)(implicit bf: Factory[O, Col], tag: ClassTag[I]): JdbcDecoder[Col]

Generic encoder for JDBC arrays.

Generic encoder for JDBC arrays.

Type parameters

Col

seq type

I

raw type retrieved form JDBC array

O

mapped type fulfilled in decoder's collection

Value parameters

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

Attributes

Returns

JDBC array decoder

def arrayRawDecoder[T : ClassTag, Col <: Seq[T]](implicit evidence$1: ClassTag[T], bf: Factory[T, Col]): JdbcDecoder[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 parameters

Col

seq type

T

element type

Value parameters

bf

builder factory is needed to create instances of decoder's collection

Attributes

Returns

JDBC array decoder

Inherited methods

protected def mappedBaseDecoder[Base, Mapped](mapped: MappedEncoding[Base, Mapped], decoder: () => Base): () => Mapped

Attributes

Inherited from:
EncodingDsl
protected def mappedBaseEncoder[Mapped, Base](mapped: MappedEncoding[Mapped, Base], encoder: () => Base): () => Mapped

Attributes

Inherited from:
EncodingDsl

Implicits

Implicits

implicit def arrayBigDecimalDecoder[Col <: Seq[BigDecimal]](implicit bf: Factory[BigDecimal, Col]): JdbcDecoder[Col]
implicit def arrayBooleanDecoder[Col <: Seq[Boolean]](implicit bf: Factory[Boolean, Col]): JdbcDecoder[Col]
implicit def arrayByteDecoder[Col <: Seq[Byte]](implicit bf: Factory[Byte, Col]): JdbcDecoder[Col]
implicit def arrayDateDecoder[Col <: Seq[Date]](implicit bf: Factory[Date, Col]): JdbcDecoder[Col]
implicit def arrayDoubleDecoder[Col <: Seq[Double]](implicit bf: Factory[Double, Col]): JdbcDecoder[Col]
implicit def arrayFloatDecoder[Col <: Seq[Float]](implicit bf: Factory[Float, Col]): JdbcDecoder[Col]
implicit def arrayIntDecoder[Col <: Seq[Int]](implicit bf: Factory[Int, Col]): JdbcDecoder[Col]
implicit def arrayLocalDateDecoder[Col <: Seq[LocalDate]](implicit bf: Factory[LocalDate, Col]): JdbcDecoder[Col]
implicit def arrayLongDecoder[Col <: Seq[Long]](implicit bf: Factory[Long, Col]): JdbcDecoder[Col]
implicit def arrayShortDecoder[Col <: Seq[Short]](implicit bf: Factory[Short, Col]): JdbcDecoder[Col]
implicit def arrayStringDecoder[Col <: Seq[String]](implicit bf: Factory[String, Col]): JdbcDecoder[Col]
implicit def arrayTimestampDecoder[Col <: Seq[Timestamp]](implicit bf: Factory[Timestamp, Col]): JdbcDecoder[Col]
implicit def arrayUuidDecoder[Col <: Seq[UUID]](implicit bf: Factory[UUID, Col]): JdbcDecoder[Col]

Inherited implicits

implicit inline def anyValDecoder[Cls <: AnyVal]: Decoder[Cls]

Attributes

Inherited from:
LowPriorityImplicits
implicit inline def anyValEncoder[Cls <: AnyVal]: Encoder[Cls]

Attributes

Inherited from:
LowPriorityImplicits
implicit def arrayBigDecimalEncoder[Col <: Seq[BigDecimal]]: Encoder[Col]

Attributes

Inherited from:
ArrayEncoding
implicit def arrayBooleanEncoder[Col <: Seq[Boolean]]: Encoder[Col]

Attributes

Inherited from:
ArrayEncoding
implicit def arrayByteEncoder[Col <: Seq[Byte]]: Encoder[Col]

Attributes

Inherited from:
ArrayEncoding
implicit def arrayDateEncoder[Col <: Seq[Date]]: Encoder[Col]

Attributes

Inherited from:
ArrayEncoding
implicit def arrayDoubleEncoder[Col <: Seq[Double]]: Encoder[Col]

Attributes

Inherited from:
ArrayEncoding
implicit def arrayFloatEncoder[Col <: Seq[Float]]: Encoder[Col]

Attributes

Inherited from:
ArrayEncoding
implicit def arrayIntEncoder[Col <: Seq[Int]]: Encoder[Col]

Attributes

Inherited from:
ArrayEncoding
implicit def arrayLocalDateEncoder[Col <: Seq[LocalDate]]: Encoder[Col]

Attributes

Inherited from:
ArrayEncoding
implicit def arrayLongEncoder[Col <: Seq[Long]]: Encoder[Col]

Attributes

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]]

Attributes

Inherited from:
ArrayEncoding
implicit def arrayMappedEncoder[I, O, Col <: (Seq)](implicit mapped: MappedEncoding[I, O], e: Encoder[Seq[O]]): Encoder[Col[I]]

Attributes

Inherited from:
ArrayEncoding
implicit def arrayShortEncoder[Col <: Seq[Short]]: Encoder[Col]

Attributes

Inherited from:
ArrayEncoding
implicit def arrayStringEncoder[Col <: Seq[String]]: Encoder[Col]

Attributes

Inherited from:
ArrayEncoding
implicit def arrayUuidEncoder[Col <: Seq[UUID]]: Encoder[Col]

Attributes

Inherited from:
ArrayEncoding
implicit def bigDecimalEncoder: Encoder[BigDecimal]

Attributes

Inherited from:
EncodingDsl
implicit def booleanEncoder: Encoder[Boolean]

Attributes

Inherited from:
EncodingDsl
implicit def byteEncoder: Encoder[Byte]

Attributes

Inherited from:
EncodingDsl
implicit def doubleEncoder: Encoder[Double]

Attributes

Inherited from:
EncodingDsl
implicit def intEncoder: Encoder[Int]

Attributes

Inherited from:
EncodingDsl
implicit def longEncoder: Encoder[Long]

Attributes

Inherited from:
EncodingDsl
implicit def mappedDecoder[Base, Mapped](implicit mapped: MappedEncoding[Base, Mapped], decoder: Decoder[Base]): Decoder[Mapped]

Attributes

Inherited from:
EncodingDsl
implicit def mappedEncoder[Mapped, Base](implicit mapped: MappedEncoding[Mapped, Base], encoder: Encoder[Base]): Encoder[Mapped]

Attributes

Inherited from:
EncodingDsl
implicit def shortEncoder: Encoder[Short]

Attributes

Inherited from:
EncodingDsl
implicit def stringEncoder: Encoder[String]

Attributes

Inherited from:
EncodingDsl