ObjectGenericTimeEncoders

io.getquill.context.jdbc.ObjectGenericTimeEncoders

Encoders for reasonably implemented JDBC contexts that meet the 4.2 specification

Attributes

Graph
Supertypes
trait Encoders
trait EncodingDsl
trait LowPriorityImplicits
class Object
trait Matchable
class Any
Show all
Known subtypes
trait H2JdbcTypes[D, N]
trait H2JdbcContextBase[D, N]
class H2JdbcContext[N]
trait MysqlJdbcTypes[D, N]
trait MysqlJdbcContextBase[D, N]
class MysqlJdbcContext[N]
trait OracleJdbcTypes[D, N]
trait OracleJdbcContextBase[D, N]
trait PostgresJdbcTypes[D, N]
trait SqlServerJdbcTypes[D, N]
Show all
Self type

Members list

Type members

Inherited classlikes

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

Attributes

Inherited from:
Encoders
Supertypes
trait Serializable
trait Product
trait Equals
trait GenericEncoder[T, PrepareRow, Session]
trait (Int, T, PrepareRow, Session) => PrepareRow
class Object
trait Matchable
class Any
Show all

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 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] = JdbcEncoder[T]

Attributes

Inherited from:
Encoders
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

protected def jdbcEncodeInstant(value: Instant): Any
protected def jdbcTypeOfInstant: Int
protected def jdbcTypeOfLocalDate: Int
protected def jdbcTypeOfLocalDateTime: Int
protected def jdbcTypeOfLocalTime: Int
protected def jdbcTypeOfOffsetDateTime: Int
protected def jdbcTypeOfOffsetTime: Int
protected def jdbcTypeOfZonedDateTime: Int

Inherited methods

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

Attributes

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

Attributes

Inherited from:
Encoders
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 val instantEncoder: JdbcEncoder[Instant]
implicit val localDateEncoder: JdbcEncoder[LocalDate]
implicit val localDateTimeEncoder: JdbcEncoder[LocalDateTime]
implicit val localTimeEncoder: JdbcEncoder[LocalTime]
implicit val offseDateTimeEncoder: JdbcEncoder[OffsetDateTime]
implicit val offseTimeEncoder: JdbcEncoder[OffsetTime]
implicit val zonedDateTimeEncoder: JdbcEncoder[ZonedDateTime]

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 val bigDecimalEncoder: JdbcEncoder[BigDecimal]

Attributes

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

Attributes

Inherited from:
EncodingDsl
implicit val byteArrayEncoder: JdbcEncoder[Array[Byte]]

Attributes

Inherited from:
Encoders
implicit val byteEncoder: JdbcEncoder[Byte]

Attributes

Inherited from:
Encoders
implicit val dateEncoder: JdbcEncoder[Date]

Attributes

Inherited from:
Encoders
implicit val doubleEncoder: JdbcEncoder[Double]

Attributes

Inherited from:
Encoders
implicit val floatEncoder: JdbcEncoder[Float]

Attributes

Inherited from:
Encoders
implicit val intEncoder: JdbcEncoder[Int]

Attributes

Inherited from:
Encoders
implicit val longEncoder: JdbcEncoder[Long]

Attributes

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

Attributes

Inherited from:
EncodingDsl
implicit override def mappedEncoder[I, O](implicit mapped: MappedEncoding[I, O], e: JdbcEncoder[O]): JdbcEncoder[I]

Attributes

Definition Classes
Encoders -> EncodingDsl
Inherited from:
Encoders
implicit val nullEncoder: JdbcEncoder[Null]

Attributes

Inherited from:
Encoders
implicit def optionEncoder[T](implicit d: JdbcEncoder[T]): JdbcEncoder[Option[T]]

Attributes

Inherited from:
Encoders
implicit val shortEncoder: JdbcEncoder[Short]

Attributes

Inherited from:
Encoders
implicit val sqlDateEncoder: JdbcEncoder[Date]

Attributes

Inherited from:
Encoders
implicit val sqlTimeEncoder: JdbcEncoder[Time]

Attributes

Inherited from:
Encoders
implicit val sqlTimestampEncoder: JdbcEncoder[Timestamp]

Attributes

Inherited from:
Encoders
implicit val stringEncoder: JdbcEncoder[String]

Attributes

Inherited from:
Encoders