PostgresJsonExtensions

io.getquill.context.json.PostgresJsonExtensions
trait PostgresJsonExtensions extends Encoders, Decoders

Attributes

Graph
Supertypes
trait Decoders
trait Encoders
trait EncodingDsl
trait LowPriorityImplicits
class Object
trait Matchable
class Any
Show all
Known subtypes
class Postgres[N]
class Underlying[N]
Self type
JdbcContextTypes[_, _]

Members list

Type members

Inherited classlikes

case class JdbcDecoder[T](decoder: () => T) extends BaseDecoder[T]

Attributes

Inherited from:
Decoders
Supertypes
trait Serializable
trait Product
trait Equals
trait GenericDecoder[ResultRow, Session, T, Specific]
trait (Int, ResultRow, Session) => T
class Object
trait Matchable
class Any
Show all
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] = JdbcDecoder[T]

Attributes

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

def astDecoder[Wrapper](valueFromString: Json => Wrapper): JdbcDecoder[Wrapper]
def astEncoder[Wrapper](valueToString: Wrapper => String, jsonType: String): JdbcEncoder[Wrapper]
def entityDecoder[JsValue : ClassTag, Wrapper](wrap: JsValue => Wrapper)(jsonType: String, jsonDecoder: JsonDecoder[JsValue]): JdbcDecoder[Wrapper]
def entityEncoder[JsValue, Wrapper](unwrap: Wrapper => JsValue)(jsonType: String, jsonEncoder: JsonEncoder[JsValue]): JdbcEncoder[Wrapper]

Inherited methods

def decoder[T](f: ResultRow => <none> => T): JdbcDecoder[T]

Attributes

Inherited from:
Decoders
def decoder[T](d: (Int, ResultRow, Session) => T): JdbcDecoder[T]

Attributes

Inherited from:
Decoders
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 def jsonAstDecoder: JdbcDecoder[JsonValue[Json]]
implicit def jsonAstEncoder: JdbcEncoder[JsonValue[Json]]
implicit def jsonEntityDecoder[T : ClassTag](implicit evidence$1: ClassTag[T], jsonDecoder: JsonDecoder[T]): JdbcDecoder[JsonValue[T]]
implicit def jsonEntityEncoder[T](implicit jsonEncoder: JsonEncoder[T]): JdbcEncoder[JsonValue[T]]
implicit def jsonbAstDecoder: JdbcDecoder[JsonbValue[Json]]
implicit def jsonbAstEncoder: JdbcEncoder[JsonbValue[Json]]
implicit def jsonbEntityDecoder[T : ClassTag](implicit evidence$2: ClassTag[T], jsonDecoder: JsonDecoder[T]): JdbcDecoder[JsonbValue[T]]
implicit def jsonbEntityEncoder[T](implicit jsonEncoder: JsonEncoder[T]): JdbcEncoder[JsonbValue[T]]

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 bigDecimalDecoder: JdbcDecoder[BigDecimal]

Attributes

Inherited from:
Decoders
implicit val bigDecimalEncoder: JdbcEncoder[BigDecimal]

Attributes

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

Attributes

Inherited from:
EncodingDsl
implicit val byteArrayDecoder: JdbcDecoder[Array[Byte]]

Attributes

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

Attributes

Inherited from:
Encoders
implicit val byteDecoder: JdbcDecoder[Byte]

Attributes

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

Attributes

Inherited from:
Encoders
implicit val dateDecoder: JdbcDecoder[Date]

Attributes

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

Attributes

Inherited from:
Encoders
implicit val doubleDecoder: JdbcDecoder[Double]

Attributes

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

Attributes

Inherited from:
Encoders
implicit val floatDecoder: JdbcDecoder[Float]

Attributes

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

Attributes

Inherited from:
Encoders
implicit val intDecoder: JdbcDecoder[Int]

Attributes

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

Attributes

Inherited from:
Encoders
implicit val longDecoder: JdbcDecoder[Long]

Attributes

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

Attributes

Inherited from:
Encoders
implicit def mappedDecoder[I, O](implicit mapped: MappedEncoding[I, O], d: JdbcDecoder[I]): JdbcDecoder[O]

Attributes

Inherited from:
Decoders
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 optionDecoder[T](implicit d: JdbcDecoder[T]): JdbcDecoder[Option[T]]

Attributes

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

Attributes

Inherited from:
Encoders
implicit val shortDecoder: JdbcDecoder[Short]

Attributes

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

Attributes

Inherited from:
Encoders
implicit val sqlDateDecoder: JdbcDecoder[Date]

Attributes

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

Attributes

Inherited from:
Encoders
implicit val sqlTimeDecoder: JdbcDecoder[Time]

Attributes

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

Attributes

Inherited from:
Encoders
implicit val sqlTimestampDecoder: JdbcDecoder[Timestamp]

Attributes

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

Attributes

Inherited from:
Encoders
implicit val stringDecoder: JdbcDecoder[String]

Attributes

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

Attributes

Inherited from:
Encoders