Encoders

trait Encoders extends EncodingDsl
trait EncodingDsl
trait LowPriorityImplicits
class Object
trait Matchable
class Any
trait JdbcContextTypes[Dialect, Naming]
trait H2JdbcTypes[N]
class H2JdbcContext[N]
trait JdbcContextVerbExecute[Dialect, Naming]
trait JdbcContextBase[Dialect, Naming]
class JdbcContext[Dialect, Naming]
trait JdbcContextVerbPrepare[Dialect, Naming]

Type members

Classlikes

case class JdbcEncoder[T](sqlType: Int, encoder: () => T) extends BaseEncoder[T]

Types

type Encoder[T] = JdbcEncoder[T]

Inherited types

type BaseDecoder[T] = GenericDecoder[ResultRow, Session, T, Specific]
Inherited from:
EncodingDsl
type BaseEncoder[T] = GenericEncoder[T, PrepareRow, Session]
Inherited from:
EncodingDsl
type ColumnResolver = GenericColumnResolver[ResultRow]
Inherited from:
EncodingDsl
type Decoder[T] <: GenericDecoder[ResultRow, Session, T, Specific]
Inherited from:
EncodingDsl
type DecoderMethod[T] = (Int, ResultRow, Session) => T
Inherited from:
EncodingDsl
type EncoderMethod[T] = (Int, T, PrepareRow, Session) => PrepareRow
Inherited from:
EncodingDsl
Inherited from:
EncodingDsl
Inherited from:
EncodingDsl
type RowTyper[T] = GenericRowTyper[ResultRow, T]
Inherited from:
EncodingDsl
type Session
Inherited from:
EncodingDsl

Value members

Concrete methods

def encoder[T](sqlType: Int, f: (<none>, T, PrepareRow) => Unit): JdbcEncoder[T]
def encoder[T](sqlType: Int, f: PrepareRow => (<none>, T) => Unit): JdbcEncoder[T]

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 val bigDecimalEncoder: JdbcEncoder[BigDecimal]
implicit val byteArrayEncoder: JdbcEncoder[Array[Byte]]
implicit val byteEncoder: JdbcEncoder[Byte]
implicit val dateEncoder: JdbcEncoder[Date]
implicit val doubleEncoder: JdbcEncoder[Double]
implicit val floatEncoder: JdbcEncoder[Float]
implicit val intEncoder: JdbcEncoder[Int]
implicit val localDateEncoder: JdbcEncoder[LocalDate]
implicit val localDateTimeEncoder: JdbcEncoder[LocalDateTime]
implicit val longEncoder: JdbcEncoder[Long]
implicit override def mappedEncoder[I, O](implicit mapped: MappedEncoding[I, O], e: JdbcEncoder[O]): JdbcEncoder[I]
Definition Classes
EncodingDsl
implicit def optionEncoder[T](implicit d: JdbcEncoder[T]): JdbcEncoder[Option[T]]
implicit val shortEncoder: JdbcEncoder[Short]
implicit val stringEncoder: JdbcEncoder[String]

Inherited implicits

implicit inline def anyValDecoder[Cls <: AnyVal]: Decoder[Cls]
Inherited from:
LowPriorityImplicits
implicit inline def anyValEncoder[Cls <: AnyVal]: JdbcEncoder[Cls]
Inherited from:
LowPriorityImplicits
implicit def booleanEncoder: JdbcEncoder[Boolean]
Inherited from:
EncodingDsl
implicit def mappedDecoder[Base, Mapped](implicit mapped: MappedEncoding[Base, Mapped], decoder: Decoder[Base]): Decoder[Mapped]
Inherited from:
EncodingDsl