JdbcSpiAsync

molecule.sql.jdbc.spi.JdbcSpiAsync
See theJdbcSpiAsync companion trait
object JdbcSpiAsync extends JdbcSpiAsync

Attributes

Companion
trait
Source
JdbcSpiAsync.scala
Graph
Supertypes
trait JdbcSpiAsync
trait PrintInspect
trait JdbcSpi
trait JdbcSpi_JS
trait FutureUtils
trait MoleculeLogging
trait Logging
trait ModelUtils
trait SpiAsync
class Object
trait Matchable
class Any
Show all
Self type

Members list

Type members

Inherited classlikes

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

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

Inherited implicits

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

Attributes

Inherited from:
FutureUtils
Source
FutureUtils.scala