JAsyncContextBase

trait JAsyncContextBase[D <: SqlIdiom, N <: NamingStrategy] extends Context[D, N] with ContextVerbTranslate[D, N] with SqlContext[D, N] with Decoders with Encoders
trait Encoders
trait Decoders
trait SqlContext[D, N]
trait ContextVerbTranslate[D, N]
trait ContextTranslateMacro[D, N]
trait ContextTranslateProto[D, N]
trait Context[D, N]
trait Closeable
trait AutoCloseable
trait EncodingDsl
trait LowPriorityImplicits
trait ProtoContext[D, N]
trait RowContext
class Object
trait Matchable
class Any
class JAsyncContext[D, N, C]

Type members

Inherited classlikes

case
class AsyncDecoder[T](sqlType: DecoderSqlType)(implicit decoder: BaseDecoder[T])
Inherited from
Decoders
case
class AsyncEncoder[T](sqlType: DecoderSqlType)(implicit encoder: BaseEncoder[T])
Inherited from
Encoders
case
class BatchGroup(string: String, prepare: List[Prepare])
Inherited from
RowContext
case
class BatchGroupReturning(string: String, returningBehavior: ReturnAction, prepare: List[Prepare])
Inherited from
RowContext
Inherited from
Context
Inherited from
Decoders

Types

override
type PrepareRow = Seq[Any]
override
type ResultRow = RowData
override
type Runner = ExecutionContext
override
type RunnerBehavior = Implicit
override
type Session = Unit

Inherited types

type BaseDecoder[T] = GenericDecoder[ResultRow, Session, T, Specific]
Inherited from
EncodingDsl
type BaseEncoder[T] = GenericEncoder[T, PrepareRow, Session]
Inherited from
EncodingDsl
type BaseNullChecker = GenericNullChecker[ResultRow, Session]
Inherited from
EncodingDsl
type ColumnResolver = GenericColumnResolver[ResultRow]
Inherited from
EncodingDsl
type Decoder[T] = AsyncDecoder[T]
Inherited from
Decoders
type DecoderMethod[T] = (Int, ResultRow, Session) => T
Inherited from
EncodingDsl
Inherited from
Decoders
type Encoder[T] = AsyncEncoder[T]
Inherited from
Encoders
type EncoderMethod[T] = (Int, T, PrepareRow, Session) => PrepareRow
Inherited from
EncodingDsl
Inherited from
Encoders
type Extractor[T] = (ResultRow, Session) => T
Inherited from
RowContext
type Index = Int
Inherited from
Decoders
type NullChecker <: GenericNullChecker[ResultRow, Session]
Inherited from
EncodingDsl
type Prepare = (PrepareRow, Session) => (List[Any], PrepareRow)
Inherited from
RowContext
type Result[T]
Inherited from
ProtoContext
type RowTyper[T] = GenericRowTyper[ResultRow, T]
Inherited from
EncodingDsl
Inherited from
ProtoContext
Inherited from
ProtoContext
Inherited from
ProtoContext
Inherited from
ProtoContext
Inherited from
ProtoContext
Inherited from
ProtoContext
override
type TranslateResult[T] = T
Inherited from
ContextVerbTranslate
Inherited from
ContextTranslateMacro

Value members

Inherited methods

inline
def _summonTranslateRunner(): TranslateRunner

Internal API that cannot be made private due to how inline functions

Internal API that cannot be made private due to how inline functions

Inherited from
ContextTranslateMacro
def close(): Unit
Inherited from
Context
protected
Inherited from
Context
def decoder[T : ClassTag](f: PartialFunction[Any, T], sqlType: DecoderSqlType): AsyncDecoder[T]
Inherited from
Decoders
def encoder[T](f: T => Any, sqlType: DecoderSqlType): AsyncEncoder[T]
Inherited from
Encoders
def encoder[T](sqlType: DecoderSqlType): AsyncEncoder[T]
Inherited from
Encoders
def executeAction(sql: String, prepare: Prepare)(executionInfo: ExecutionInfo, rn: Runner): Result[RunActionResult]
Inherited from
ProtoContext
def executeActionReturning[T](sql: String, prepare: Prepare, extractor: () => T, returningBehavior: ReturnAction)(executionInfo: ExecutionInfo, rn: Runner): Result[RunActionReturningResult[T]]
Inherited from
ProtoContext
def executeBatchAction(groups: List[BatchGroup])(executionInfo: ExecutionInfo, rn: Runner): Result[RunBatchActionResult]
Inherited from
ProtoContext
def executeBatchActionReturning[T](groups: List[BatchGroupReturning], extractor: () => T)(executionInfo: ExecutionInfo, rn: Runner): Result[RunBatchActionReturningResult[T]]
Inherited from
ProtoContext
def executeQuery[T](sql: String, prepare: Prepare, extractor: () => T)(executionInfo: ExecutionInfo, rn: Runner): Result[RunQueryResult[T]]
Inherited from
ProtoContext
def executeQuerySingle[T](string: String, prepare: Prepare, extractor: () => T)(executionInfo: ExecutionInfo, rn: Runner): Result[RunQuerySingleResult[T]]
Inherited from
ProtoContext
protected
def handleSingleResult[T](list: List[T]): T
Inherited from
Context
def idiom: D
Inherited from
ProtoContext
inline
def lift[T](inline runtimeValue: T): T
Inherited from
Context
inline
def liftQuery[U <: ([_] =>> Iterable[_]), T](inline runtimeValue: U[T]): Query[T]
Inherited from
Context
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
def naming: N
Inherited from
ProtoContext
@tailrec
final protected
def prepareParam(param: Any): String
Inherited from
ContextTranslateProto
override
def push[A, B](result: A)(f: A => B): B
Definition Classes
ContextVerbTranslate -> ContextTranslateProto
Inherited from
ContextVerbTranslate
override
def seq[A](list: List[A]): List[A]
Definition Classes
ContextVerbTranslate -> ContextTranslateProto
Inherited from
ContextVerbTranslate
@targetName("translateBatchActionReturning")
inline
def translate[I, T, A <: Action[I] & QAC[I, T]](inline quoted: Quoted[BatchAction[A]], inline prettyPrint: Boolean): TranslateResult[List[String]]
Inherited from
ContextTranslateMacro
@targetName("translateBatchActionReturning")
inline
def translate[I, T, A <: Action[I] & QAC[I, T]](inline quoted: Quoted[BatchAction[A]]): TranslateResult[List[String]]
Inherited from
ContextTranslateMacro
@targetName("translateBatchAction")
inline
def translate[I, A <: Action[I] & QAC[I, Nothing]](inline quoted: Quoted[BatchAction[A]], inline prettyPrint: Boolean): TranslateResult[List[String]]
Inherited from
ContextTranslateMacro
@targetName("translateBatchAction")
inline
def translate[I, A <: Action[I] & QAC[I, Nothing]](inline quoted: Quoted[BatchAction[A]]): TranslateResult[List[String]]
Inherited from
ContextTranslateMacro
@targetName("translateActionReturning")
inline
def translate[E, T](inline quoted: Quoted[ActionReturning[E, T]], inline prettyPrint: Boolean): TranslateResult[String]
Inherited from
ContextTranslateMacro
@targetName("translateActionReturning")
inline
def translate[E, T](inline quoted: Quoted[ActionReturning[E, T]]): TranslateResult[String]
Inherited from
ContextTranslateMacro
@targetName("translateAction")
inline
def translate[E](inline quoted: Quoted[Action[E]], inline prettyPrint: Boolean): TranslateResult[String]
Inherited from
ContextTranslateMacro
@targetName("translateAction")
inline
def translate[E](inline quoted: Quoted[Action[E]]): TranslateResult[String]
Inherited from
ContextTranslateMacro
@targetName("translateQuerySingle")
inline
def translate[T](inline quoted: Quoted[T], inline prettyPrint: Boolean): TranslateResult[String]
Inherited from
ContextTranslateMacro
@targetName("translateQuerySingle")
inline
def translate[T](inline quoted: Quoted[T]): TranslateResult[String]
Inherited from
ContextTranslateMacro
@targetName("translateQuery")
inline
def translate[T](inline quoted: Quoted[Query[T]], inline prettyPrint: Boolean): TranslateResult[String]
Inherited from
ContextTranslateMacro
@targetName("translateQuery")
inline
def translate[T](inline quoted: Quoted[Query[T]]): TranslateResult[String]
Inherited from
ContextTranslateMacro
def translateBatchQueryEndpoint(groups: List[BatchGroup], prettyPrint: Boolean)(executionInfo: ExecutionInfo, dc: TranslateRunner): TranslateResult[List[String]]
Inherited from
ContextTranslateProto
def translateBatchQueryReturningEndpoint(groups: List[BatchGroupReturning], prettyPrint: Boolean)(executionInfo: ExecutionInfo, dc: TranslateRunner): TranslateResult[List[String]]
Inherited from
ContextTranslateProto
def translateContext: TranslateRunner
Inherited from
ContextTranslateMacro
def translateQueryEndpoint[T](statement: String, prepare: Prepare, extractor: () => T, prettyPrint: Boolean)(executionInfo: ExecutionInfo, dc: TranslateRunner): TranslateResult[String]
Inherited from
ContextTranslateProto
override
def wrap[T](t: => T): T
Definition Classes
ContextVerbTranslate -> ContextTranslateProto
Inherited from
ContextVerbTranslate

Inherited fields

Inherited from
RowContext
protected
val identityPrepare: Prepare
Inherited from
RowContext

Extensions

Inherited extensions

extension [T](q: Query[T])
inline
def filterByKeys(inline map: Map[String, String]): 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.

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

Implicits

Inherited implicits

implicit inline
def anyValDecoder[Cls <: AnyVal]: AsyncDecoder[Cls]
Inherited from
LowPriorityImplicits
implicit inline
def anyValEncoder[Cls <: AnyVal]: AsyncEncoder[Cls]
Inherited from
LowPriorityImplicits
implicit
Inherited from
Decoders
implicit
Inherited from
Encoders
implicit
Inherited from
Decoders
implicit
Inherited from
Encoders
implicit
val byteArrayDecoder: AsyncDecoder[Array[Byte]]
Inherited from
Decoders
implicit
val byteArrayEncoder: AsyncEncoder[Array[Byte]]
Inherited from
Encoders
implicit
Inherited from
Decoders
implicit
Inherited from
Encoders
implicit
Inherited from
Decoders
implicit
Inherited from
Encoders
implicit inline
def dec[T]: GenericDecoder[ResultRow, Session, T, Generic]
Inherited from
Context
implicit
val decodeLocalDate: MappedEncoding[LocalDate, LocalDate]
Inherited from
Decoders
implicit
val decodeLocalDateTime: MappedEncoding[LocalDateTime, LocalDateTime]
Inherited from
Decoders
implicit
val decodeLocalTime: MappedEncoding[LocalTime, LocalTime]
Inherited from
Decoders
implicit
val decodeOffsetDateTime: MappedEncoding[DateTime, OffsetDateTime]
Inherited from
Decoders
implicit
val decodeZonedDateTime: MappedEncoding[DateTime, ZonedDateTime]
Inherited from
Decoders
implicit
Inherited from
Decoders
implicit
Inherited from
Encoders
implicit
val encodeLocalDate: MappedEncoding[LocalDate, LocalDate]
Inherited from
Encoders
implicit
val encodeLocalDateTime: MappedEncoding[LocalDateTime, LocalDateTime]
Inherited from
Encoders
implicit
val encodeLocalTime: MappedEncoding[LocalTime, LocalTime]
Inherited from
Encoders
implicit
val encodeOffsetDateTime: MappedEncoding[OffsetDateTime, DateTime]
Inherited from
Encoders
implicit
val encodeZonedDateTime: MappedEncoding[ZonedDateTime, DateTime]
Inherited from
Encoders
implicit
Inherited from
Decoders
implicit
Inherited from
Encoders
implicit
Inherited from
Decoders
implicit
Inherited from
Encoders
implicit
Inherited from
Decoders
implicit
Inherited from
Encoders
implicit
Inherited from
Decoders
implicit
Inherited from
Encoders
implicit
Inherited from
Decoders
implicit
Inherited from
Encoders
implicit
Inherited from
Decoders
implicit
Inherited from
Encoders
implicit
Inherited from
Decoders
implicit
Inherited from
Encoders
implicit
def mappedDecoder[I, O](implicit mapped: MappedEncoding[I, O], decoder: AsyncDecoder[I]): AsyncDecoder[O]
Inherited from
Decoders
implicit
def mappedEncoder[I, O](implicit mapped: MappedEncoding[I, O], e: AsyncEncoder[O]): AsyncEncoder[I]
Inherited from
Encoders
implicit
def optionDecoder[T](implicit d: AsyncDecoder[T]): AsyncDecoder[Option[T]]
Inherited from
Decoders
implicit
def optionEncoder[T](implicit d: AsyncEncoder[T]): AsyncEncoder[Option[T]]
Inherited from
Encoders
implicit
Inherited from
Decoders
implicit
Inherited from
Encoders
implicit
Inherited from
Decoders
implicit
Inherited from
Encoders
implicit
Inherited from
SqlContext
implicit
Inherited from
SqlContext