JdbcApiAsync

molecule.sql.jdbc.api.JdbcApiAsync
trait JdbcApiAsync extends ApiAsync, JdbcSpiAsync

Attributes

Source
JdbcApiAsync.scala
Graph
Supertypes
trait JdbcSpiAsync
trait PrintInspect
trait JdbcSpi
trait JdbcSpi_JS
trait FutureUtils
trait MoleculeLogging
trait Logging
trait ModelUtils
trait SpiAsync
trait ApiAsync
class Object
trait Matchable
class Any
Show all
Known subtypes
object async.type

Members list

Type members

Classlikes

implicit class jdbcDeleteApiAsync[Tpl](delete: Delete) extends DeleteApiAsync

Attributes

Source
JdbcApiAsync.scala
Supertypes
class Object
trait Matchable
class Any
implicit class jdbcInsertApiAsync[Tpl](insert: Insert) extends InsertApiAsync

Attributes

Source
JdbcApiAsync.scala
Supertypes
class Object
trait Matchable
class Any
implicit class jdbcQueryApiAsync[Tpl](q: Query[Tpl]) extends QueryApiAsync[Tpl]

Attributes

Source
JdbcApiAsync.scala
Supertypes
trait QueryApiAsync[Tpl]
class Object
trait Matchable
class Any
implicit class jdbcQueryCursorApiAsync[Tpl](q: QueryCursor[Tpl]) extends QueryCursorApiAsync[Tpl]

Attributes

Source
JdbcApiAsync.scala
Supertypes
trait QueryCursorApiAsync[Tpl]
class Object
trait Matchable
class Any
implicit class jdbcQueryOffsetApiAsync[Tpl](q: QueryOffset[Tpl]) extends QueryOffsetApiAsync[Tpl]

Attributes

Source
JdbcApiAsync.scala
Supertypes
trait QueryOffsetApiAsync[Tpl]
class Object
trait Matchable
class Any
implicit class jdbcSaveApiAsync[Tpl](save: Save) extends SaveApiAsync

Attributes

Source
JdbcApiAsync.scala
Supertypes
trait SaveApiAsync
class Object
trait Matchable
class Any
implicit class jdbcUpdateApiAsync[Tpl](update: Update) extends UpdateApiAsync

Attributes

Source
JdbcApiAsync.scala
Supertypes
class Object
trait Matchable
class Any

Inherited classlikes

Attributes

Inherited from:
ApiAsync
Source
ApiAsync.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class jdbcDeleteApiAsync[Tpl]

Attributes

Inherited from:
ApiAsync
Source
ApiAsync.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class jdbcInsertApiAsync[Tpl]
trait QueryApiAsync[Tpl]

Attributes

Inherited from:
ApiAsync
Source
ApiAsync.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class jdbcQueryApiAsync[Tpl]
trait QueryCursorApiAsync[Tpl]

Attributes

Inherited from:
ApiAsync
Source
ApiAsync.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait QueryOffsetApiAsync[Tpl]

Attributes

Inherited from:
ApiAsync
Source
ApiAsync.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait SaveApiAsync

Attributes

Inherited from:
ApiAsync
Source
ApiAsync.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class jdbcSaveApiAsync[Tpl]

Attributes

Inherited from:
ApiAsync
Source
ApiAsync.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class jdbcUpdateApiAsync[Tpl]
implicit class futEither2fut[T](fut: Future[Either[MoleculeError, T]])(implicit ec: ExecutionContext)

Attributes

Inherited from:
FutureUtils
Source
FutureUtils.scala
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

override def rawQuery(query: String, withNulls: Boolean, doPrint: Boolean)(implicit conn: Conn, ec: ExecutionContext): Future[List[List[Any]]]

Attributes

Definition Classes
ApiAsync
Source
JdbcApiAsync.scala
override def rawTransact(txData: String, doPrint: Boolean)(implicit conn: Conn, ec: ExecutionContext): Future[TxReport]

Attributes

Definition Classes
ApiAsync
Source
JdbcApiAsync.scala

Inherited methods

def addCallback[Tpl](q: Query[Tpl], callback: List[Tpl] => Unit)(implicit conn0: Conn, ec: ExecutionContext): Future[Unit]

Attributes

Inherited from:
JdbcSpi_JS
Source
JdbcSpi_JS.scala
def await[T](body: => Future[T], atMost: Duration): T

Attributes

Inherited from:
FutureUtils
Source
FutureUtils.scala
protected def countValueAttrs(elements: List[Element]): Int

Attributes

Inherited from:
ModelUtils
Source
ModelUtils.scala
override def delete_inspect(delete: Delete)(implicit conn: Conn, ec: ExecutionContext): Future[Unit]

Attributes

Definition Classes
JdbcSpiAsync -> SpiAsync
Inherited from:
JdbcSpiAsync
Source
JdbcSpiAsync.scala
override def delete_transact(delete: Delete)(implicit conn0: Conn, ec: ExecutionContext): Future[TxReport]

Attributes

Definition Classes
JdbcSpiAsync -> SpiAsync
Inherited from:
JdbcSpiAsync
Source
JdbcSpiAsync.scala
def either[T](fut: Future[T])(implicit ec: ExecutionContext): Future[Either[MoleculeError, T]]

Attributes

Inherited from:
FutureUtils
Source
FutureUtils.scala
def fallback_rawQuery(query: String, withNulls: Boolean, doPrint: Boolean)(implicit conn: Conn, ec: ExecutionContext): Future[List[List[Any]]]

Attributes

Inherited from:
SpiAsync
Source
SpiAsync.scala
def fallback_rawTransact(txData: String, doPrint: Boolean)(implicit conn: Conn, ec: ExecutionContext): Future[TxReport]

Attributes

Inherited from:
SpiAsync
Source
SpiAsync.scala
def future[T](body: => T)(implicit ec: ExecutionContext): Future[T]

Attributes

Inherited from:
FutureUtils
Source
FutureUtils.scala
final def getAttrNames(elements: List[Element], attrs: Set[String]): Set[String]

Attributes

Inherited from:
ModelUtils
Source
ModelUtils.scala
def getIdQuery(elements: List[Element], isUpsert: Boolean): (Query[_ >: (L, L, L, L, L) & (L, L, L, L, L, L, L, L) & (L, L, L, L, L, L, L, L, L) & (L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L) & (L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L) & (L, L, L, L, L, L, L, L, L, L, L, L) & (L, L, L, L, L, L, L, L, L, L, L, L, L) & (L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L) & (L, L, L) & (L, L, L, L) & (L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L) & (L, L, L, L, L, L) & (L, L, L, L, L, L, L) & (L, L, L, L, L, L, L, L, L, L) & (L, L, L, L, L, L, L, L, L, L, L, L, L, L, L) & (L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L) & (L, L, L, L, L, L, L, L, L, L, L) & (L, L, L, L, L, L, L, L, L, L, L, L, L, L) & (L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L) & L & (L, L) & (L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L) <: (L, L, L, L, L) | (L, L, L, L, L, L, L, L) | (L, L, L, L, L, L, L, L, L) | (L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L) | (L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L) | (L, L, L, L, L, L, L, L, L, L, L, L) | (L, L, L, L, L, L, L, L, L, L, L, L, L) | (L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L) | (L, L, L) | (L, L, L, L) | (L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L) | (L, L, L, L, L, L) | (L, L, L, L, L, L, L) | (L, L, L, L, L, L, L, L, L, L) | (L, L, L, L, L, L, L, L, L, L, L, L, L, L, L) | (L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L) | (L, L, L, L, L, L, L, L, L, L, L) | (L, L, L, L, L, L, L, L, L, L, L, L, L, L) | (L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L) | L | (L, L) | (L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L)], List[Long => List[Element]])

Attributes

Inherited from:
JdbcSpi
Source
JdbcSpi.scala
final protected def getInitialNonGenericNs(elements: List[Element]): String

Attributes

Inherited from:
ModelUtils
Source
ModelUtils.scala
final protected def getInitialNs(elements: List[Element]): String

Attributes

Inherited from:
ModelUtils
Source
ModelUtils.scala
def getRefIds(refIdsAnyCardinality: List[Any], idModel: List[Element]): List[Long]

Attributes

Inherited from:
JdbcSpi
Source
JdbcSpi.scala
override def insert_inspect(insert: Insert)(implicit conn: Conn, ec: ExecutionContext): Future[Unit]

Attributes

Definition Classes
JdbcSpiAsync -> SpiAsync
Inherited from:
JdbcSpiAsync
Source
JdbcSpiAsync.scala
override def insert_transact(insert: Insert)(implicit conn0: Conn, ec: ExecutionContext): Future[TxReport]

Attributes

Definition Classes
JdbcSpiAsync -> SpiAsync
Inherited from:
JdbcSpiAsync
Source
JdbcSpiAsync.scala
override def insert_validate(insert: Insert)(implicit conn: Conn): Seq[(Int, Seq[InsertError])]

Attributes

Definition Classes
JdbcSpiAsync -> SpiAsync
Inherited from:
JdbcSpiAsync
Source
JdbcSpiAsync.scala
def isRefUpdate(elements: List[Element]): Boolean

Attributes

Inherited from:
ModelUtils
Source
ModelUtils.scala
protected def logger: Logger

The logger for this class.

The logger for this class.

Attributes

Inherited from:
Logging
Source
Logging.scala
protected def loggerName: String

Override this to change the name of the underlying logger.

Override this to change the name of the underlying logger.

Defaults to class name with package

Attributes

Inherited from:
Logging
Source
Logging.scala
def prepareMultipleUpdates(elements: List[Element], isUpsert: Boolean): (List[Element], List[Long => List[Element]])

Attributes

Inherited from:
JdbcSpi
Source
JdbcSpi.scala
protected def printInspect(label: String, elements: List[Element], stmts0: String): Unit

Attributes

Inherited from:
PrintInspect
Source
PrintInspect.scala
protected def printInspectQuery(label: String, elements: List[Element])(implicit ec: ExecutionContext): Future[Unit]

Attributes

Inherited from:
JdbcSpiAsyncBase
Source
JdbcSpiAsyncBase.scala
override def queryCursor_get[Tpl](q: QueryCursor[Tpl])(implicit conn0: Conn, ec: ExecutionContext): Future[(List[Tpl], String, Boolean)]

Attributes

Definition Classes
JdbcSpiAsync -> SpiAsync
Inherited from:
JdbcSpiAsync
Source
JdbcSpiAsync.scala
override def queryCursor_inspect[Tpl](q: QueryCursor[Tpl])(implicit conn: Conn, ec: ExecutionContext): Future[Unit]

Attributes

Definition Classes
JdbcSpiAsync -> SpiAsync
Inherited from:
JdbcSpiAsync
Source
JdbcSpiAsync.scala
override def queryOffset_get[Tpl](q: QueryOffset[Tpl])(implicit conn0: Conn, ec: ExecutionContext): Future[(List[Tpl], Int, Boolean)]

Attributes

Definition Classes
JdbcSpiAsync -> SpiAsync
Inherited from:
JdbcSpiAsync
Source
JdbcSpiAsync.scala
override def queryOffset_inspect[Tpl](q: QueryOffset[Tpl])(implicit conn: Conn, ec: ExecutionContext): Future[Unit]

Attributes

Definition Classes
JdbcSpiAsync -> SpiAsync
Inherited from:
JdbcSpiAsync
Source
JdbcSpiAsync.scala
override def query_get[Tpl](q: Query[Tpl])(implicit conn0: Conn, ec: ExecutionContext): Future[List[Tpl]]

Attributes

Definition Classes
JdbcSpiAsync -> SpiAsync
Inherited from:
JdbcSpiAsync
Source
JdbcSpiAsync.scala
override def query_inspect[Tpl](q: Query[Tpl])(implicit conn: Conn, ec: ExecutionContext): Future[Unit]

Attributes

Definition Classes
JdbcSpiAsync -> SpiAsync
Inherited from:
JdbcSpiAsync
Source
JdbcSpiAsync.scala
override def query_subscribe[Tpl](q: Query[Tpl], callback: List[Tpl] => Unit)(implicit conn0: Conn, ec: ExecutionContext): Future[Unit]

Attributes

Definition Classes
JdbcSpiAsync -> SpiAsync
Inherited from:
JdbcSpiAsync
Source
JdbcSpiAsync.scala
override def query_unsubscribe[Tpl](q: Query[Tpl])(implicit conn0: Conn, ec: ExecutionContext): Future[Unit]

Attributes

Definition Classes
JdbcSpiAsync -> SpiAsync
Inherited from:
JdbcSpiAsync
Source
JdbcSpiAsync.scala
def removeCallback[Tpl](q: Query[Tpl])(implicit conn0: Conn, ec: ExecutionContext): Future[Unit]

Attributes

Inherited from:
JdbcSpi_JS
Source
JdbcSpi_JS.scala
override def save_inspect(save: Save)(implicit conn: Conn, ec: ExecutionContext): Future[Unit]

Attributes

Definition Classes
JdbcSpiAsync -> SpiAsync
Inherited from:
JdbcSpiAsync
Source
JdbcSpiAsync.scala
override def save_transact(save: Save)(implicit conn0: Conn, ec: ExecutionContext): Future[TxReport]

Attributes

Definition Classes
JdbcSpiAsync -> SpiAsync
Inherited from:
JdbcSpiAsync
Source
JdbcSpiAsync.scala
override def save_validate(save: Save)(implicit conn: Conn): Map[String, Seq[String]]

Attributes

Definition Classes
JdbcSpiAsync -> SpiAsync
Inherited from:
JdbcSpiAsync
Source
JdbcSpiAsync.scala
override def update_inspect(update: Update)(implicit conn: Conn, ec: ExecutionContext): Future[Unit]

Attributes

Definition Classes
JdbcSpiAsync -> SpiAsync
Inherited from:
JdbcSpiAsync
Source
JdbcSpiAsync.scala
override def update_transact(update: Update)(implicit conn0: Conn, ec: ExecutionContext): Future[TxReport]

Attributes

Definition Classes
JdbcSpiAsync -> SpiAsync
Inherited from:
JdbcSpiAsync
Source
JdbcSpiAsync.scala
def update_validate(update: Update)(implicit conn: Conn): Map[String, Seq[String]]

Attributes

Inherited from:
SpiAsync
Source
SpiAsync.scala
def validateUpdate(proxy: ConnProxy, elements: List[Element], isUpsert: Boolean, query2resultSet: String => ResultSetInterface): Map[String, Seq[String]]

Attributes

Inherited from:
JdbcSpi
Source
JdbcSpi.scala

Inherited fields

val logFormatter: Formatter

Attributes

Inherited from:
MoleculeLogging
Source
MoleculeLogging.scala
val logLevel: Level

Attributes

Inherited from:
MoleculeLogging
Source
MoleculeLogging.scala

Implicits

Implicits

final implicit def jdbcDeleteApiAsync[Tpl](delete: Delete): jdbcDeleteApiAsync[Tpl]

Attributes

Source
JdbcApiAsync.scala
final implicit def jdbcInsertApiAsync[Tpl](insert: Insert): jdbcInsertApiAsync[Tpl]

Attributes

Source
JdbcApiAsync.scala
final implicit def jdbcQueryApiAsync[Tpl](q: Query[Tpl]): jdbcQueryApiAsync[Tpl]

Attributes

Source
JdbcApiAsync.scala
final implicit def jdbcQueryCursorApiAsync[Tpl](q: QueryCursor[Tpl]): jdbcQueryCursorApiAsync[Tpl]

Attributes

Source
JdbcApiAsync.scala
final implicit def jdbcQueryOffsetApiAsync[Tpl](q: QueryOffset[Tpl]): jdbcQueryOffsetApiAsync[Tpl]

Attributes

Source
JdbcApiAsync.scala
final implicit def jdbcSaveApiAsync[Tpl](save: Save): jdbcSaveApiAsync[Tpl]

Attributes

Source
JdbcApiAsync.scala
final implicit def jdbcUpdateApiAsync[Tpl](update: Update): jdbcUpdateApiAsync[Tpl]

Attributes

Source
JdbcApiAsync.scala

Inherited implicits

final implicit def futEither2fut[T](fut: Future[Either[MoleculeError, T]])(implicit ec: ExecutionContext): futEither2fut[T]

Attributes

Inherited from:
FutureUtils
Source
FutureUtils.scala