Packages

package async

Default package to import

import scalikejdbc._, async._
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. async
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait AsyncConnection extends AnyRef

    Asynchronous DB connection

  2. abstract class AsyncConnectionPool extends AnyRef

    Asynchronous Connection Pool

  3. trait AsyncConnectionPoolFactory extends AnyRef

    Asynchronous Connection Pool Factory

  4. case class AsyncConnectionPoolSettings (maxPoolSize: Int = 8, maxQueueSize: Int = 8, maxIdleMillis: Long = 1000L, connectionSettings: AsyncConnectionSettings = AsyncConnectionSettings()) extends Product with Serializable

    Settings for AsyncConnectionPool

  5. case class AsyncConnectionSettings (ssl: Option[SSLConfiguration] = None, charset: Option[Charset] = None, maximumMessageSize: Option[Int] = None, allocator: Option[ByteBufAllocator] = None, connectTimeout: Option[Duration] = None, testTimeout: Option[Duration] = None, queryTimeout: Option[Duration] = None) extends Product with Serializable
  6. trait AsyncDBSession extends LogSupport

    Asynchronous DB Session

  7. final class AsyncOneToManies2SQLToList [A, B1, B2, Z] extends AnyVal with AsyncSQLToList[Z]
  8. final class AsyncOneToManies2SQLToOption [A, B1, B2, Z] extends AnyVal with AsyncSQLToOption[Z]
  9. final class AsyncOneToManies2SQLToTraversable [A, B1, B2, Z] extends AnyVal with AsyncSQLToTraversable[Z]
  10. final class AsyncOneToManies3SQLToList [A, B1, B2, B3, Z] extends AnyVal with AsyncSQLToList[Z]
  11. final class AsyncOneToManies3SQLToOption [A, B1, B2, B3, Z] extends AnyVal with AsyncSQLToOption[Z]
  12. final class AsyncOneToManies3SQLToTraversable [A, B1, B2, B3, Z] extends AnyVal with AsyncSQLToTraversable[Z]
  13. final class AsyncOneToManies4SQLToList [A, B1, B2, B3, B4, Z] extends AnyVal with AsyncSQLToList[Z]
  14. final class AsyncOneToManies4SQLToOption [A, B1, B2, B3, B4, Z] extends AnyVal with AsyncSQLToOption[Z]
  15. final class AsyncOneToManies4SQLToTraversable [A, B1, B2, B3, B4, Z] extends AnyVal with AsyncSQLToTraversable[Z]
  16. final class AsyncOneToManies5SQLToList [A, B1, B2, B3, B4, B5, Z] extends AnyVal with AsyncSQLToList[Z]
  17. final class AsyncOneToManies5SQLToOption [A, B1, B2, B3, B4, B5, Z] extends AnyVal with AsyncSQLToOption[Z]
  18. final class AsyncOneToManies5SQLToTraversable [A, B1, B2, B3, B4, B5, Z] extends AnyVal with AsyncSQLToTraversable[Z]
  19. final class AsyncOneToManies6SQLToList [A, B1, B2, B3, B4, B5, B6, Z] extends AnyVal with AsyncSQLToList[Z]
  20. final class AsyncOneToManies6SQLToOption [A, B1, B2, B3, B4, B5, B6, Z] extends AnyVal with AsyncSQLToOption[Z]
  21. final class AsyncOneToManies6SQLToTraversable [A, B1, B2, B3, B4, B5, B6, Z] extends AnyVal with AsyncSQLToTraversable[Z]
  22. final class AsyncOneToManies7SQLToList [A, B1, B2, B3, B4, B5, B6, B7, Z] extends AnyVal with AsyncSQLToList[Z]
  23. final class AsyncOneToManies7SQLToOption [A, B1, B2, B3, B4, B5, B6, B7, Z] extends AnyVal with AsyncSQLToOption[Z]
  24. final class AsyncOneToManies7SQLToTraversable [A, B1, B2, B3, B4, B5, B6, B7, Z] extends AnyVal with AsyncSQLToTraversable[Z]
  25. final class AsyncOneToManies8SQLToList [A, B1, B2, B3, B4, B5, B6, B7, B8, Z] extends AnyVal with AsyncSQLToList[Z]
  26. final class AsyncOneToManies8SQLToOption [A, B1, B2, B3, B4, B5, B6, B7, B8, Z] extends AnyVal with AsyncSQLToOption[Z]
  27. final class AsyncOneToManies8SQLToTraversable [A, B1, B2, B3, B4, B5, B6, B7, B8, Z] extends AnyVal with AsyncSQLToTraversable[Z]
  28. final class AsyncOneToManies9SQLToList [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, Z] extends AnyVal with AsyncSQLToList[Z]
  29. final class AsyncOneToManies9SQLToOption [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, Z] extends AnyVal with AsyncSQLToOption[Z]
  30. final class AsyncOneToManies9SQLToTraversable [A, B1, B2, B3, B4, B5, B6, B7, B8, B9, Z] extends AnyVal with AsyncSQLToTraversable[Z]
  31. final class AsyncOneToManySQLToList [A, B, Z] extends AnyVal with AsyncSQLToList[Z]
  32. final class AsyncOneToManySQLToOption [A, B, Z] extends AnyVal with AsyncSQLToOption[Z]
  33. final class AsyncOneToManySQLToTraversable [A, B, Z] extends AnyVal with AsyncSQLToTraversable[Z]
  34. final class AsyncOneToOneSQLToList [A, B, Z] extends AnyVal with AsyncSQLToList[Z]
  35. final class AsyncOneToOneSQLToOption [A, B, Z] extends AnyVal with AsyncSQLToOption[Z]
  36. final class AsyncOneToOneSQLToTraversable [A, B, Z] extends AnyVal with AsyncSQLToTraversable[Z]
  37. abstract class AsyncQueryResult extends AnyRef

    Query Result

  38. trait AsyncResultSet extends WrappedResultSet

    WrappedResultSet for Asynchronous DB Session

  39. class AsyncResultSetTraversable extends Traversable[WrappedResultSet]

    AysncResultSet Traversable

  40. trait AsyncSQLExecution extends Any
  41. final class AsyncSQLExecutionImpl extends AnyVal with AsyncSQLExecution
  42. trait AsyncSQLToList [A] extends Any
  43. final class AsyncSQLToListImpl [A] extends AnyVal with AsyncSQLToList[A]
  44. trait AsyncSQLToOption [A] extends Any
  45. final class AsyncSQLToOptionImpl [A] extends AnyVal with AsyncSQLToOption[A]
  46. trait AsyncSQLToTraversable [A] extends Any
  47. final class AsyncSQLToTraversableImpl [A] extends AnyVal with AsyncSQLToTraversable[A]
  48. trait AsyncSQLUpdate extends Any
  49. trait AsyncSQLUpdateAndReturnGeneratedKey extends Any
  50. final class AsyncSQLUpdateAndReturnGeneratedKeyImpl extends AnyVal with AsyncSQLUpdateAndReturnGeneratedKey
  51. final class AsyncSQLUpdateImpl extends AnyVal with AsyncSQLUpdate
  52. class AsyncTxQuery extends AnyRef

    Asynchronous Transactional Query

  53. case class NamedAsyncDB (name: Any = AsyncConnectionPool.DEFAULT_NAME) extends Product with Serializable

    Basic Database Accessor with the name

  54. trait NonSharedAsyncConnection extends AsyncConnection

    Non-shared Asynchronous Connection

  55. case class SharedAsyncDBSession (connection: AsyncConnection) extends AsyncDBSession with Product with Serializable

    Shared Asynchronous DB session

  56. trait ShortenedNames extends AnyRef

    Shortened Names

  57. case class TxAsyncDBSession (connection: NonSharedAsyncConnection) extends AsyncDBSession with Product with Serializable

    Asynchronous Transactional DB Session

Value Members

  1. implicit def makeOneToManies2SQLToListAsync[A, B1, B2, Z](sql: OneToManies2SQLToList[A, B1, B2, HasExtractor, Z]): AsyncOneToManies2SQLToList[A, B1, B2, Z]
  2. implicit def makeOneToManies2SQLToOptionAsync[A, B1, B2, Z](sql: OneToManies2SQLToOption[A, B1, B2, HasExtractor, Z]): AsyncOneToManies2SQLToOption[A, B1, B2, Z]
  3. implicit def makeOneToManies2SQLToTraversableAsync[A, B1, B2, Z](sql: OneToManies2SQLToTraversable[A, B1, B2, HasExtractor, Z]): AsyncOneToManies2SQLToTraversable[A, B1, B2, Z]
  4. implicit def makeOneToManies3SQLToListAsync[A, B1, B2, B3, Z](sql: OneToManies3SQLToList[A, B1, B2, B3, HasExtractor, Z]): AsyncOneToManies3SQLToList[A, B1, B2, B3, Z]
  5. implicit def makeOneToManies3SQLToOptionAsync[A, B1, B2, B3, Z](sql: OneToManies3SQLToOption[A, B1, B2, B3, HasExtractor, Z]): AsyncOneToManies3SQLToOption[A, B1, B2, B3, Z]
  6. implicit def makeOneToManies3SQLToTraversableAsync[A, B1, B2, B3, Z](sql: OneToManies3SQLToTraversable[A, B1, B2, B3, HasExtractor, Z]): AsyncOneToManies3SQLToTraversable[A, B1, B2, B3, Z]
  7. 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]
  8. 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]
  9. 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]
  10. 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]
  11. 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]
  12. 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]
  13. implicit def makeOneToManies6SQLToListAsync[A, B1, B2, B3, B4, B5, B6, Z](sql: OneToManies6SQLToList[A, B1, B2, B3, B4, B5, B6, HasExtractor, Z]): AsyncOneToManies6SQLToList[A, B1, B2, B3, B4, B5, B6, Z]
  14. implicit def makeOneToManies6SQLToOptionAsync[A, B1, B2, B3, B4, B5, B6, Z](sql: OneToManies6SQLToOption[A, B1, B2, B3, B4, B5, B6, HasExtractor, Z]): AsyncOneToManies6SQLToOption[A, B1, B2, B3, B4, B5, B6, Z]
  15. implicit def makeOneToManies6SQLToTraversableAsync[A, B1, B2, B3, B4, B5, B6, Z](sql: OneToManies6SQLToTraversable[A, B1, B2, B3, B4, B5, B6, HasExtractor, Z]): AsyncOneToManies6SQLToTraversable[A, B1, B2, B3, B4, B5, B6, Z]
  16. implicit def makeOneToManies7SQLToListAsync[A, B1, B2, B3, B4, B5, B6, B7, Z](sql: OneToManies7SQLToList[A, B1, B2, B3, B4, B5, B6, B7, HasExtractor, Z]): AsyncOneToManies7SQLToList[A, B1, B2, B3, B4, B5, B6, B7, Z]
  17. implicit def makeOneToManies7SQLToOptionAsync[A, B1, B2, B3, B4, B5, B6, B7, Z](sql: OneToManies7SQLToOption[A, B1, B2, B3, B4, B5, B6, B7, HasExtractor, Z]): AsyncOneToManies7SQLToOption[A, B1, B2, B3, B4, B5, B6, B7, Z]
  18. implicit def makeOneToManies7SQLToTraversableAsync[A, B1, B2, B3, B4, B5, B6, B7, Z](sql: OneToManies7SQLToTraversable[A, B1, B2, B3, B4, B5, B6, B7, HasExtractor, Z]): AsyncOneToManies7SQLToTraversable[A, B1, B2, B3, B4, B5, B6, B7, Z]
  19. implicit def makeOneToManies8SQLToListAsync[A, B1, B2, B3, B4, B5, B6, B7, B8, Z](sql: OneToManies8SQLToList[A, B1, B2, B3, B4, B5, B6, B7, B8, HasExtractor, Z]): AsyncOneToManies8SQLToList[A, B1, B2, B3, B4, B5, B6, B7, B8, Z]
  20. implicit def makeOneToManies8SQLToOptionAsync[A, B1, B2, B3, B4, B5, B6, B7, B8, Z](sql: OneToManies8SQLToOption[A, B1, B2, B3, B4, B5, B6, B7, B8, HasExtractor, Z]): AsyncOneToManies8SQLToOption[A, B1, B2, B3, B4, B5, B6, B7, B8, Z]
  21. implicit def makeOneToManies8SQLToTraversableAsync[A, B1, B2, B3, B4, B5, B6, B7, B8, Z](sql: OneToManies8SQLToTraversable[A, B1, B2, B3, B4, B5, B6, B7, B8, HasExtractor, Z]): AsyncOneToManies8SQLToTraversable[A, B1, B2, B3, B4, B5, B6, B7, B8, Z]
  22. implicit def makeOneToManies9SQLToListAsync[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, Z](sql: OneToManies9SQLToList[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, HasExtractor, Z]): AsyncOneToManies9SQLToList[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, Z]
  23. implicit def makeOneToManies9SQLToOptionAsync[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, Z](sql: OneToManies9SQLToOption[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, HasExtractor, Z]): AsyncOneToManies9SQLToOption[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, Z]
  24. implicit def makeOneToManies9SQLToTraversableAsync[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, Z](sql: OneToManies9SQLToTraversable[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, HasExtractor, Z]): AsyncOneToManies9SQLToTraversable[A, B1, B2, B3, B4, B5, B6, B7, B8, B9, Z]
  25. implicit def makeOneToManySQLToListAsync[A, B, Z](sql: OneToManySQLToList[A, B, HasExtractor, Z]): AsyncOneToManySQLToList[A, B, Z]
  26. implicit def makeOneToManySQLToOptionAsync[A, B, Z](sql: OneToManySQLToOption[A, B, HasExtractor, Z]): AsyncOneToManySQLToOption[A, B, Z]
  27. implicit def makeOneToManySQLToTraversableAsync[A, B, Z](sql: OneToManySQLToTraversable[A, B, HasExtractor, Z]): AsyncOneToManySQLToTraversable[A, B, Z]
  28. implicit def makeOneToOneSQLToListAsync[A, B, Z](sql: OneToOneSQLToList[A, B, HasExtractor, Z]): AsyncOneToOneSQLToList[A, B, Z]
  29. implicit def makeOneToOneSQLToOptionAsync[A, B, Z](sql: OneToOneSQLToOption[A, B, HasExtractor, Z]): AsyncOneToOneSQLToOption[A, B, Z]
  30. implicit def makeOneToOneSQLToTraversableAsync[A, B, Z](sql: OneToOneSQLToTraversable[A, B, HasExtractor, Z]): AsyncOneToOneSQLToTraversable[A, B, Z]
  31. implicit def makeSQLExecutionAsync(sql: SQLExecution): AsyncSQLExecution
  32. implicit def makeSQLToListAsync[A, B1, B2, B3, B4, B5, Z](sql: SQLToListImpl[A, HasExtractor]): AsyncSQLToList[A]
  33. implicit def makeSQLToListAsync[A, B1, B2, B3, B4, B5, Z](sql: SQLToList[A, HasExtractor]): AsyncSQLToList[A]
  34. implicit def makeSQLToOptionAsync[A, B1, B2, B3, B4, B5, Z](sql: SQLToOptionImpl[A, HasExtractor]): AsyncSQLToOption[A]
  35. implicit def makeSQLToOptionAsync[A, B1, B2, B3, B4, B5, Z](sql: SQLToOption[A, HasExtractor]): AsyncSQLToOption[A]
  36. implicit def makeSQLToTraversableAsync[A, B1, B2, B3, B4, B5, Z](sql: SQLToTraversableImpl[A, HasExtractor]): AsyncSQLToTraversable[A]
  37. implicit def makeSQLToTraversableAsync[A, B1, B2, B3, B4, B5, Z](sql: SQLToTraversable[A, HasExtractor]): AsyncSQLToTraversable[A]
  38. implicit def makeSQLUpdateAndReturnGeneratedKeyAsync(sql: SQLUpdateWithGeneratedKey): AsyncSQLUpdateAndReturnGeneratedKey
  39. implicit def makeSQLUpdateAsync(sql: SQLUpdate): AsyncSQLUpdate
  40. object AsyncConnectionPool extends LogSupport

    Asynchronous Connection Pool Companion Object

  41. object AsyncConnectionPoolFactory extends AsyncConnectionPoolFactory

    Asynchronous Connection Pool Factory

  42. object AsyncDB extends NamedAsyncDB

    Basic Database Accessor

  43. object AsyncTx

    Asynchronous Transaction Provider

  44. 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 ()
    }
  45. object ShortenedNames extends ShortenedNames
  46. object executeFuture
  47. object updateFuture

Inherited from AnyRef

Inherited from Any

Ungrouped