package async
Default package to import
import scalikejdbc._, async._
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- async
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
-
trait
AsyncConnection
extends AnyRef
Asynchronous DB connection
-
abstract
class
AsyncConnectionPool
extends AnyRef
Asynchronous Connection Pool
-
trait
AsyncConnectionPoolFactory
extends AnyRef
Asynchronous Connection Pool Factory
-
case class
AsyncConnectionPoolSettings
(maxPoolSize: Int = 8, maxQueueSize: Int = 8, maxIdleMillis: Long = 1000L) extends Product with Serializable
Settings for AsyncConnectionPool
-
trait
AsyncDBSession
extends LogSupport
Asynchronous DB Session
- final class AsyncOneToManies2SQLToList [A, B1, B2, Z] extends AnyVal with AsyncSQLToList[Z]
- final class AsyncOneToManies2SQLToOption [A, B1, B2, Z] extends AnyVal with AsyncSQLToOption[Z]
- final class AsyncOneToManies2SQLToTraversable [A, B1, B2, Z] extends AnyVal with AsyncSQLToTraversable[Z]
- final class AsyncOneToManies3SQLToList [A, B1, B2, B3, Z] extends AnyVal with AsyncSQLToList[Z]
- final class AsyncOneToManies3SQLToOption [A, B1, B2, B3, Z] extends AnyVal with AsyncSQLToOption[Z]
- final class AsyncOneToManies3SQLToTraversable [A, B1, B2, B3, Z] extends AnyVal with AsyncSQLToTraversable[Z]
- final class AsyncOneToManies4SQLToList [A, B1, B2, B3, B4, Z] extends AnyVal with AsyncSQLToList[Z]
- final class AsyncOneToManies4SQLToOption [A, B1, B2, B3, B4, Z] extends AnyVal with AsyncSQLToOption[Z]
- final class AsyncOneToManies4SQLToTraversable [A, B1, B2, B3, B4, Z] extends AnyVal with AsyncSQLToTraversable[Z]
- final class AsyncOneToManies5SQLToList [A, B1, B2, B3, B4, B5, Z] extends AnyVal with AsyncSQLToList[Z]
- final class AsyncOneToManies5SQLToOption [A, B1, B2, B3, B4, B5, Z] extends AnyVal with AsyncSQLToOption[Z]
- final class AsyncOneToManies5SQLToTraversable [A, B1, B2, B3, B4, B5, Z] extends AnyVal with AsyncSQLToTraversable[Z]
- final class AsyncOneToManySQLToList [A, B, Z] extends AnyVal with AsyncSQLToList[Z]
- final class AsyncOneToManySQLToOption [A, B, Z] extends AnyVal with AsyncSQLToOption[Z]
- final class AsyncOneToManySQLToTraversable [A, B, Z] extends AnyVal with AsyncSQLToTraversable[Z]
- final class AsyncOneToOneSQLToList [A, B, Z] extends AnyVal with AsyncSQLToList[Z]
- final class AsyncOneToOneSQLToOption [A, B, Z] extends AnyVal with AsyncSQLToOption[Z]
- final class AsyncOneToOneSQLToTraversable [A, B, Z] extends AnyVal with AsyncSQLToTraversable[Z]
-
abstract
class
AsyncQueryResult
extends AnyRef
Query Result
-
trait
AsyncResultSet
extends WrappedResultSet
WrappedResultSet for Asynchronous DB Session
-
class
AsyncResultSetTraversable
extends Traversable[WrappedResultSet]
AysncResultSet Traversable
- trait AsyncSQLExecution extends Any
- final class AsyncSQLExecutionImpl extends AnyVal with AsyncSQLExecution
- trait AsyncSQLToList [A] extends Any
- final class AsyncSQLToListImpl [A] extends AnyVal with AsyncSQLToList[A]
- trait AsyncSQLToOption [A] extends Any
- final class AsyncSQLToOptionImpl [A] extends AnyVal with AsyncSQLToOption[A]
- trait AsyncSQLToTraversable [A] extends Any
- final class AsyncSQLToTraversableImpl [A] extends AnyVal with AsyncSQLToTraversable[A]
- trait AsyncSQLUpdate extends Any
- trait AsyncSQLUpdateAndReturnGeneratedKey extends Any
- final class AsyncSQLUpdateAndReturnGeneratedKeyImpl extends AnyVal with AsyncSQLUpdateAndReturnGeneratedKey
- final class AsyncSQLUpdateImpl extends AnyVal with AsyncSQLUpdate
-
class
AsyncTxQuery
extends AnyRef
Asynchronous Transactional Query
-
case class
NamedAsyncDB
(name: Any = AsyncConnectionPool.DEFAULT_NAME) extends Product with Serializable
Basic Database Accessor with the name
-
trait
NonSharedAsyncConnection
extends AsyncConnection
Non-shared Asynchronous Connection
-
case class
SharedAsyncDBSession
(connection: AsyncConnection) extends AsyncDBSession with Product with Serializable
Shared Asynchronous DB session
-
trait
ShortenedNames
extends AnyRef
Shortened Names
-
case class
TxAsyncDBSession
(connection: NonSharedAsyncConnection) extends AsyncDBSession with Product with Serializable
Asynchronous Transactional DB Session
Value Members
- implicit def makeOneToManies2SQLToListAsync[A, B1, B2, Z](sql: OneToManies2SQLToList[A, B1, B2, HasExtractor, Z]): AsyncOneToManies2SQLToList[A, B1, B2, Z]
- implicit def makeOneToManies2SQLToOptionAsync[A, B1, B2, Z](sql: OneToManies2SQLToOption[A, B1, B2, HasExtractor, Z]): AsyncOneToManies2SQLToOption[A, B1, B2, Z]
- implicit def makeOneToManies2SQLToTraversableAsync[A, B1, B2, Z](sql: OneToManies2SQLToTraversable[A, B1, B2, HasExtractor, Z]): AsyncOneToManies2SQLToTraversable[A, B1, B2, Z]
- implicit def makeOneToManies3SQLToListAsync[A, B1, B2, B3, Z](sql: OneToManies3SQLToList[A, B1, B2, B3, HasExtractor, Z]): AsyncOneToManies3SQLToList[A, B1, B2, B3, Z]
- implicit def makeOneToManies3SQLToOptionAsync[A, B1, B2, B3, Z](sql: OneToManies3SQLToOption[A, B1, B2, B3, HasExtractor, Z]): AsyncOneToManies3SQLToOption[A, B1, B2, B3, Z]
- implicit def makeOneToManies3SQLToTraversableAsync[A, B1, B2, B3, Z](sql: OneToManies3SQLToTraversable[A, B1, B2, B3, HasExtractor, Z]): AsyncOneToManies3SQLToTraversable[A, B1, B2, B3, Z]
- implicit def makeOneToManies4SQLToListAsync[A, B1, B2, B3, B4, Z](sql: OneToManies4SQLToList[A, B1, B2, B3, B4, HasExtractor, Z]): AsyncOneToManies4SQLToList[A, B1, B2, B3, B4, Z]
- implicit def makeOneToManies4SQLToOptionAsync[A, B1, B2, B3, B4, Z](sql: OneToManies4SQLToOption[A, B1, B2, B3, B4, HasExtractor, Z]): AsyncOneToManies4SQLToOption[A, B1, B2, B3, B4, Z]
- implicit def makeOneToManies4SQLToTraversableAsync[A, B1, B2, B3, B4, Z](sql: OneToManies4SQLToTraversable[A, B1, B2, B3, B4, HasExtractor, Z]): AsyncOneToManies4SQLToTraversable[A, B1, B2, B3, B4, Z]
- implicit def makeOneToManies5SQLToListAsync[A, B1, B2, B3, B4, B5, Z](sql: OneToManies5SQLToList[A, B1, B2, B3, B4, B5, HasExtractor, Z]): AsyncOneToManies5SQLToList[A, B1, B2, B3, B4, B5, Z]
- implicit def makeOneToManies5SQLToOptionAsync[A, B1, B2, B3, B4, B5, Z](sql: OneToManies5SQLToOption[A, B1, B2, B3, B4, B5, HasExtractor, Z]): AsyncOneToManies5SQLToOption[A, B1, B2, B3, B4, B5, Z]
- implicit def makeOneToManies5SQLToTraversableAsync[A, B1, B2, B3, B4, B5, Z](sql: OneToManies5SQLToTraversable[A, B1, B2, B3, B4, B5, HasExtractor, Z]): AsyncOneToManies5SQLToTraversable[A, B1, B2, B3, B4, B5, Z]
- implicit def makeOneToManySQLToListAsync[A, B, Z](sql: OneToManySQLToList[A, B, HasExtractor, Z]): AsyncOneToManySQLToList[A, B, Z]
- implicit def makeOneToManySQLToOptionAsync[A, B, Z](sql: OneToManySQLToOption[A, B, HasExtractor, Z]): AsyncOneToManySQLToOption[A, B, Z]
- implicit def makeOneToManySQLToTraversableAsync[A, B, Z](sql: OneToManySQLToTraversable[A, B, HasExtractor, Z]): AsyncOneToManySQLToTraversable[A, B, Z]
- implicit def makeOneToOneSQLToListAsync[A, B, Z](sql: OneToOneSQLToList[A, B, HasExtractor, Z]): AsyncOneToOneSQLToList[A, B, Z]
- implicit def makeOneToOneSQLToOptionAsync[A, B, Z](sql: OneToOneSQLToOption[A, B, HasExtractor, Z]): AsyncOneToOneSQLToOption[A, B, Z]
- implicit def makeOneToOneSQLToTraversableAsync[A, B, Z](sql: OneToOneSQLToTraversable[A, B, HasExtractor, Z]): AsyncOneToOneSQLToTraversable[A, B, Z]
- implicit def makeSQLExecutionAsync(sql: SQLExecution): AsyncSQLExecution
- implicit def makeSQLToListAsync[A, B1, B2, B3, B4, B5, Z](sql: SQLToListImpl[A, HasExtractor]): AsyncSQLToList[A]
- implicit def makeSQLToListAsync[A, B1, B2, B3, B4, B5, Z](sql: SQLToList[A, HasExtractor]): AsyncSQLToList[A]
- implicit def makeSQLToOptionAsync[A, B1, B2, B3, B4, B5, Z](sql: SQLToOptionImpl[A, HasExtractor]): AsyncSQLToOption[A]
- implicit def makeSQLToOptionAsync[A, B1, B2, B3, B4, B5, Z](sql: SQLToOption[A, HasExtractor]): AsyncSQLToOption[A]
- implicit def makeSQLToTraversableAsync[A, B1, B2, B3, B4, B5, Z](sql: SQLToTraversableImpl[A, HasExtractor]): AsyncSQLToTraversable[A]
- implicit def makeSQLToTraversableAsync[A, B1, B2, B3, B4, B5, Z](sql: SQLToTraversable[A, HasExtractor]): AsyncSQLToTraversable[A]
- implicit def makeSQLUpdateAndReturnGeneratedKeyAsync(sql: SQLUpdateWithGeneratedKey): AsyncSQLUpdateAndReturnGeneratedKey
- implicit def makeSQLUpdateAsync(sql: SQLUpdate): AsyncSQLUpdate
-
object
AsyncConnectionPool
extends LogSupport
Asynchronous Connection Pool Companion Object
-
object
AsyncConnectionPoolFactory
extends AsyncConnectionPoolFactory
Asynchronous Connection Pool Factory
-
object
AsyncDB
extends NamedAsyncDB
Basic Database Accessor
-
object
AsyncTx
Asynchronous Transaction Provider
-
object
FutureImplicits
Provides power mode by implicit converions.
Provides power mode by implicit converions.
import scalikejdbc._, async._, FutureImplicits._ val wc = Worker.column val future: Future[Unit] = AsyncDB.localTx { implicit tx => for { companyId <- withSQL { insert.into(Company).values("Typesafe", DateTime.now) }.updateAndReturnGeneratedKey _ <- update(Worker).set(wc.companyId -> companyId).where.eq(wc.id, 123) } yield () }
- object ShortenedNames extends ShortenedNames
- object executeFuture
- object updateFuture