SqliteJdbcTypes

io.getquill.context.jdbc.SqliteJdbcTypes
trait SqliteJdbcTypes[+D <: SqliteDialect, +N <: NamingStrategy] extends JdbcContextTypes[D, N], BasicTimeEncoders, BasicTimeDecoders, BooleanObjectEncoding, UUIDObjectEncoding

Attributes

Graph
Supertypes
trait JdbcContextTypes[D, N]
trait Decoders
trait Encoders
trait SqlContext[D, N]
trait Context[D, N]
trait Closeable
trait AutoCloseable
trait EncodingDsl
trait LowPriorityImplicits
trait ProtoContextSecundus[D, N]
trait RowContext
class Object
trait Matchable
class Any
Show all
Known subtypes

Members list

Type members

Inherited classlikes

case class BatchGroup(string: String, prepare: List[Prepare])

Attributes

Inherited from:
RowContext
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class BatchGroupReturning(string: String, returningBehavior: ReturnAction, prepare: List[Prepare])

Attributes

Inherited from:
RowContext
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object InternalApi

Attributes

Inherited from:
Context
Supertypes
class Object
trait Matchable
class Any
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
class JdbcNullChecker extends BaseNullChecker

Attributes

Inherited from:
JdbcContextTypes
Supertypes
trait GenericNullChecker[ResultRow, Session]
class Object
trait Matchable
class Any

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 Extractor[T] = (ResultRow, Session) => T

Attributes

Inherited from:
RowContext
type Index = Int

Attributes

Inherited from:
JdbcContextTypes
override type NullChecker = JdbcNullChecker

Attributes

Inherited from:
JdbcContextTypes
type Prepare = (PrepareRow, Session) => (List[Any], PrepareRow)

Attributes

Inherited from:
RowContext
type PrepareRow = PreparedStatement

Attributes

Inherited from:
JdbcContextTypes
type Result[T]

Attributes

Inherited from:
ProtoContextSecundus
type ResultRow = ResultSet

Attributes

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

Attributes

Inherited from:
EncodingDsl

Attributes

Inherited from:
ProtoContextSecundus

Attributes

Inherited from:
ProtoContextSecundus

Attributes

Inherited from:
ProtoContextSecundus

Attributes

Inherited from:
ProtoContextSecundus
type RunQueryResult[T]

Attributes

Inherited from:
ProtoContextSecundus

Attributes

Inherited from:
ProtoContextSecundus
type Runner = Unit

Future class to hold things like ExecutionContext for Cassandra etc...

Future class to hold things like ExecutionContext for Cassandra etc...

Attributes

Inherited from:
JdbcContextTypes
type RunnerBehavior <: RunnerSummoningBehavior

Base type used to determine whether there is an execution context that needs to be summoned to perform execution methods e.g. in the PostgresJasync contexts that use Scala Futures that need an ExecutionContext.

Base type used to determine whether there is an execution context that needs to be summoned to perform execution methods e.g. in the PostgresJasync contexts that use Scala Futures that need an ExecutionContext.

Attributes

Inherited from:
Context
type Session = Connection

Attributes

Inherited from:
JdbcContextTypes

Value members

Inherited methods

def close(): Unit

Attributes

Inherited from:
Context
protected def context: Runner

Attributes

Inherited from:
Context
def decoder[T](f: ResultRow => Index => 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 => (Index, T) => Unit): JdbcEncoder[T]

Attributes

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

Attributes

Inherited from:
Encoders
def executeAction(sql: String, prepare: Prepare)(executionInfo: ExecutionInfo, rn: Runner): Result[RunActionResult]

Attributes

Inherited from:
ProtoContextSecundus
def executeActionReturning[T](sql: String, prepare: Prepare, extractor: () => T, returningBehavior: ReturnAction)(executionInfo: ExecutionInfo, rn: Runner): Result[RunActionReturningResult[T]]

Attributes

Inherited from:
ProtoContextSecundus
def executeActionReturningMany[T](sql: String, prepare: Prepare, extractor: () => T, returningBehavior: ReturnAction)(executionInfo: ExecutionInfo, rn: Runner): Result[RunActionReturningResult[List[T]]]

Attributes

Inherited from:
ProtoContextSecundus
def executeBatchAction(groups: List[BatchGroup])(executionInfo: ExecutionInfo, rn: Runner): Result[RunBatchActionResult]

Attributes

Inherited from:
ProtoContextSecundus
def executeBatchActionReturning[T](groups: List[BatchGroupReturning], extractor: () => T)(executionInfo: ExecutionInfo, rn: Runner): Result[RunBatchActionReturningResult[T]]

Attributes

Inherited from:
ProtoContextSecundus
def executeQuery[T](sql: String, prepare: Prepare, extractor: () => T)(executionInfo: ExecutionInfo, rn: Runner): Result[RunQueryResult[T]]

Attributes

Inherited from:
ProtoContextSecundus
def executeQuerySingle[T](string: String, prepare: Prepare, extractor: () => T)(executionInfo: ExecutionInfo, rn: Runner): Result[RunQuerySingleResult[T]]

Attributes

Inherited from:
ProtoContextSecundus
protected def handleSingleResult[T](sql: String, list: List[T]): T

Attributes

Inherited from:
Context
inline def lift[T](inline runtimeValue: T): T

Attributes

Inherited from:
Context
inline def liftQuery[U <: (Iterable), T](inline runtimeValue: U[T]): Query[T]

Attributes

Inherited from:
Context
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
def naming: Naming

Attributes

Inherited from:
ProtoContextSecundus
def parseJdbcType(intType: Int): String

Parses instances of java.sql.Types to string form so it can be used in creation of sql arrays. Some databases does not support each of generic types, hence it's welcome to override this method and provide alternatives to non-existent types.

Parses instances of java.sql.Types to string form so it can be used in creation of sql arrays. Some databases does not support each of generic types, hence it's welcome to override this method and provide alternatives to non-existent types.

Value parameters

intType

one of java.sql.Types

Attributes

Returns

JDBC type in string form

Inherited from:
JdbcContextTypes

Abstract fields

val idiom: D

Inherited fields

protected val dateTimeZone: TimeZone

Attributes

Inherited from:
JdbcContextTypes

Attributes

Inherited from:
RowContext
protected val identityPrepare: Prepare

Attributes

Inherited from:
RowContext

Extensions

Inherited extensions

extension [T](inline dynamicQuery: DynamicEntityQuery[T])
inline def insertValue(value: T): DynamicInsert[T]

Attributes

Inherited from:
Context
inline def updateValue(value: T): DynamicUpdate[T]

Attributes

Inherited from:
Context
extension [T](inline entity: EntityQuery[T])
inline def insertValue(inline value: T): Insert[T]

Attributes

Inherited from:
Context
inline def updateValue(inline value: T): Update[T]

Attributes

Inherited from:
Context
extension [T](inline q: Query[T])
inline def filterByKeys(inline map: Map[String, Any]): Query[T]

When using this with FilterColumns make sure it comes FIRST. Otherwise the columns are you filtering may have been nullified in the SQL before the filteration has actually happened.

When using this with FilterColumns make sure it comes FIRST. Otherwise the columns are you filtering may have been nullified in the SQL before the filteration has actually happened.

Attributes

Inherited from:
Context
inline def filterColumns(inline columns: List[String]): Query[T]

Attributes

Inherited from:
Context
extension [T](inline quotedEntity: Quoted[EntityQuery[T]])
inline def insertValue(inline value: T): Insert[T]

Attributes

Inherited from:
Context
inline def updateValue(inline value: T): Update[T]

Attributes

Inherited from:
Context

Implicits

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 val booleanDecoder: JdbcDecoder[Boolean]

Attributes

Inherited from:
BooleanObjectEncoding
implicit val booleanEncoder: JdbcEncoder[Boolean]

Attributes

Inherited from:
BooleanObjectEncoding
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 inline def dec[T]: GenericDecoder[ResultRow, Session, T, Generic]

Attributes

Inherited from:
Context
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 instantDecoder: JdbcDecoder[Instant]

Attributes

Inherited from:
BasicTimeDecoders
implicit val instantEncoder: JdbcEncoder[Instant]

Attributes

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

Attributes

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

Attributes

Inherited from:
Encoders
implicit val localDateDecoder: JdbcDecoder[LocalDate]

Attributes

Inherited from:
BasicTimeDecoders
implicit val localDateEncoder: JdbcEncoder[LocalDate]

Attributes

Inherited from:
BasicTimeEncoders
implicit val localDateTimeDecoder: JdbcDecoder[LocalDateTime]

Attributes

Inherited from:
BasicTimeDecoders
implicit val localDateTimeEncoder: JdbcEncoder[LocalDateTime]

Attributes

Inherited from:
BasicTimeEncoders
implicit val localTimeDecoder: JdbcDecoder[LocalTime]

Attributes

Inherited from:
BasicTimeDecoders
implicit val localTimeEncoder: JdbcEncoder[LocalTime]

Attributes

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

Attributes

Inherited from:
JdbcContextTypes
implicit val nullEncoder: JdbcEncoder[Null]

Attributes

Inherited from:
Encoders
implicit val offseDateTimeEncoder: JdbcEncoder[OffsetDateTime]

Attributes

Inherited from:
BasicTimeEncoders
implicit val offseTimeEncoder: JdbcEncoder[OffsetTime]

Attributes

Inherited from:
BasicTimeEncoders
implicit val offsetDateTimeDecoder: JdbcDecoder[OffsetDateTime]

Attributes

Inherited from:
BasicTimeDecoders
implicit val offsetTimeDecoder: JdbcDecoder[OffsetTime]

Attributes

Inherited from:
BasicTimeDecoders
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
implicit val uuidDecoder: JdbcDecoder[UUID]

Attributes

Inherited from:
UUIDObjectEncoding
implicit val uuidEncoder: JdbcEncoder[UUID]

Attributes

Inherited from:
UUIDObjectEncoding
implicit val zonedDateTimeDecoder: JdbcDecoder[ZonedDateTime]

Attributes

Inherited from:
BasicTimeDecoders
implicit val zonedDateTimeEncoder: JdbcEncoder[ZonedDateTime]

Attributes

Inherited from:
BasicTimeEncoders