Class

io.getquill.sources.async

AsyncSource

Related Doc: package async

Permalink

abstract class AsyncSource[D <: SqlIdiom, N <: NamingStrategy, C <: Connection] extends SqlSource[D, N, RowData, BindedStatementBuilder[List[Any]]] with Decoders with Encoders

Linear Supertypes
Encoders, Decoders, SqlSource[D, N, RowData, BindedStatementBuilder[List[Any]]], Source[RowData, BindedStatementBuilder[List[Any]]], Closeable, AutoCloseable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AsyncSource
  2. Encoders
  3. Decoders
  4. SqlSource
  5. Source
  6. Closeable
  7. AutoCloseable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AsyncSource(config: AsyncSourceConfig[D, N, C])

    Permalink

Type Members

  1. class ActionApply[T] extends (List[T]) ⇒ Future[List[Long]]

    Permalink
  2. type ActionResult[T] = Future[Long]

    Permalink
    Definition Classes
    AsyncSource → SqlSource
  3. type BatchedActionResult[T] = Future[List[Long]]

    Permalink
    Definition Classes
    AsyncSource → SqlSource
  4. type Decoder[T] = sources.Decoder[RowData, T]

    Permalink
    Definition Classes
    Source
  5. type Encoder[T] = sources.Encoder[BindedStatementBuilder[List[Any]], T]

    Permalink
    Definition Classes
    Source
  6. trait NumericDecoder[T] extends AsyncSource.Decoder[T]

    Permalink
    Definition Classes
    Decoders
  7. type QueryResult[T] = Future[List[T]]

    Permalink
    Definition Classes
    AsyncSource → SqlSource

Abstract Value Members

  1. abstract def extractActionResult(generated: Option[String])(result: com.github.mauricio.async.db.QueryResult): Long

    Permalink
    Attributes
    protected

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. implicit val bigDecimalDecoder: Decoder[BigDecimal]

    Permalink
    Definition Classes
    Decoders
  6. implicit val bigDecimalEncoder: Encoder[BigDecimal]

    Permalink
    Definition Classes
    Encoders
  7. implicit val booleanDecoder: Decoder[Boolean]

    Permalink
    Definition Classes
    Decoders
  8. implicit val booleanEncoder: Encoder[Boolean]

    Permalink
    Definition Classes
    Encoders
  9. implicit val byteArrayDecoder: Decoder[Array[Byte]]

    Permalink
    Definition Classes
    Decoders
  10. implicit val byteArrayEncoder: Encoder[Array[Byte]]

    Permalink
    Definition Classes
    Encoders
  11. implicit val byteDecoder: Decoder[Byte]

    Permalink
    Definition Classes
    Decoders
  12. implicit val byteEncoder: Encoder[Byte]

    Permalink
    Definition Classes
    Encoders
  13. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. def close(): Unit

    Permalink
    Definition Classes
    AsyncSource → Closeable → AutoCloseable
  15. implicit val dateDecoder: Decoder[Date]

    Permalink
    Definition Classes
    Decoders
  16. implicit val dateEncoder: Encoder[Date]

    Permalink
    Definition Classes
    Encoders
  17. def decoder[T](f: PartialFunction[Any, T] = PartialFunction.empty)(implicit arg0: ClassTag[T]): Decoder[T]

    Permalink
    Definition Classes
    Decoders
  18. implicit val doubleDecoder: Decoder[Double]

    Permalink
    Definition Classes
    Decoders
  19. implicit val doubleEncoder: Encoder[Double]

    Permalink
    Definition Classes
    Encoders
  20. def encoder[T](f: (T) ⇒ Any): Encoder[T]

    Permalink
    Definition Classes
    Encoders
  21. def encoder[T]: Encoder[T]

    Permalink
    Definition Classes
    Encoders
  22. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  24. def execute[T](sql: String, bindParams: (T) ⇒ (BindedStatementBuilder[List[Any]]) ⇒ BindedStatementBuilder[List[Any]], generated: Option[String])(implicit ec: ExecutionContext): ActionApply[T]

    Permalink
  25. def execute(sql: String, generated: Option[String])(implicit ec: ExecutionContext): Future[Long]

    Permalink
  26. def expandAction(sql: String, generated: Option[String]): String

    Permalink
    Attributes
    protected
  27. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  28. implicit val floatDecoder: Decoder[Float]

    Permalink
    Definition Classes
    Decoders
  29. implicit val floatEncoder: Encoder[Float]

    Permalink
    Definition Classes
    Encoders
  30. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  31. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  32. implicit val intDecoder: Decoder[Int]

    Permalink
    Definition Classes
    Decoders
  33. implicit val intEncoder: Encoder[Int]

    Permalink
    Definition Classes
    Encoders
  34. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  35. val logger: Logger

    Permalink
    Attributes
    protected
  36. implicit val longDecoder: Decoder[Long]

    Permalink
    Definition Classes
    Decoders
  37. implicit val longEncoder: Encoder[Long]

    Permalink
    Definition Classes
    Encoders
  38. implicit def mappedDecoder[I, O](implicit mapped: MappedEncoding[I, O], decoder: Decoder[I]): Decoder[O]

    Permalink
    Definition Classes
    Source
  39. implicit def mappedEncoder[I, O](implicit mapped: MappedEncoding[I, O], encoder: Encoder[O]): Encoder[I]

    Permalink
    Definition Classes
    Source
  40. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  41. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  42. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  43. implicit def optionDecoder[T](implicit d: Decoder[T]): Decoder[Option[T]]

    Permalink
    Definition Classes
    Decoders
  44. implicit def optionEncoder[T](implicit d: Encoder[T]): Encoder[Option[T]]

    Permalink
    Definition Classes
    Encoders
  45. def probe(sql: String): Try[com.github.mauricio.async.db.QueryResult]

    Permalink
    Definition Classes
    AsyncSource → SqlSource
  46. def query[T](sql: String, bind: (BindedStatementBuilder[List[Any]]) ⇒ BindedStatementBuilder[List[Any]], extractor: (RowData) ⇒ T)(implicit ec: ExecutionContext): Future[List[T]]

    Permalink
  47. macro def run[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, T](quoted: quotation.Quoted[(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10) ⇒ T]): (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10) ⇒ QueryResult[T]

    Permalink
    Definition Classes
    SqlSource
  48. macro def run[P1, P2, P3, P4, P5, P6, P7, P8, P9, T](quoted: quotation.Quoted[(P1, P2, P3, P4, P5, P6, P7, P8, P9) ⇒ T]): (P1, P2, P3, P4, P5, P6, P7, P8, P9) ⇒ QueryResult[T]

    Permalink
    Definition Classes
    SqlSource
  49. macro def run[P1, P2, P3, P4, P5, P6, P7, P8, T](quoted: quotation.Quoted[(P1, P2, P3, P4, P5, P6, P7, P8) ⇒ T]): (P1, P2, P3, P4, P5, P6, P7, P8) ⇒ QueryResult[T]

    Permalink
    Definition Classes
    SqlSource
  50. macro def run[P1, P2, P3, P4, P5, P6, P7, T](quoted: quotation.Quoted[(P1, P2, P3, P4, P5, P6, P7) ⇒ T]): (P1, P2, P3, P4, P5, P6, P7) ⇒ QueryResult[T]

    Permalink
    Definition Classes
    SqlSource
  51. macro def run[P1, P2, P3, P4, P5, P6, T](quoted: quotation.Quoted[(P1, P2, P3, P4, P5, P6) ⇒ T]): (P1, P2, P3, P4, P5, P6) ⇒ QueryResult[T]

    Permalink
    Definition Classes
    SqlSource
  52. macro def run[P1, P2, P3, P4, P5, T](quoted: quotation.Quoted[(P1, P2, P3, P4, P5) ⇒ T]): (P1, P2, P3, P4, P5) ⇒ QueryResult[T]

    Permalink
    Definition Classes
    SqlSource
  53. macro def run[P1, P2, P3, P4, T](quoted: quotation.Quoted[(P1, P2, P3, P4) ⇒ T]): (P1, P2, P3, P4) ⇒ QueryResult[T]

    Permalink
    Definition Classes
    SqlSource
  54. macro def run[P1, P2, P3, T](quoted: quotation.Quoted[(P1, P2, P3) ⇒ T]): (P1, P2, P3) ⇒ QueryResult[T]

    Permalink
    Definition Classes
    SqlSource
  55. macro def run[P1, P2, T](quoted: quotation.Quoted[(P1, P2) ⇒ T]): (P1, P2) ⇒ QueryResult[T]

    Permalink
    Definition Classes
    SqlSource
  56. macro def run[P1, T](quoted: quotation.Quoted[(P1) ⇒ T]): (P1) ⇒ QueryResult[T]

    Permalink
    Definition Classes
    SqlSource
  57. macro def run[T](quoted: quotation.Quoted[T]): QueryResult[T]

    Permalink
    Definition Classes
    SqlSource
  58. macro def run[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, T](quoted: quotation.Quoted[(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10) ⇒ Action[T]]): (List[(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10)]) ⇒ BatchedActionResult[T]

    Permalink
    Definition Classes
    SqlSource
  59. macro def run[P1, P2, P3, P4, P5, P6, P7, P8, P9, T](quoted: quotation.Quoted[(P1, P2, P3, P4, P5, P6, P7, P8, P9) ⇒ Action[T]]): (List[(P1, P2, P3, P4, P5, P6, P7, P8, P9)]) ⇒ BatchedActionResult[T]

    Permalink
    Definition Classes
    SqlSource
  60. macro def run[P1, P2, P3, P4, P5, P6, P7, P8, T](quoted: quotation.Quoted[(P1, P2, P3, P4, P5, P6, P7, P8) ⇒ Action[T]]): (List[(P1, P2, P3, P4, P5, P6, P7, P8)]) ⇒ BatchedActionResult[T]

    Permalink
    Definition Classes
    SqlSource
  61. macro def run[P1, P2, P3, P4, P5, P6, P7, T](quoted: quotation.Quoted[(P1, P2, P3, P4, P5, P6, P7) ⇒ Action[T]]): (List[(P1, P2, P3, P4, P5, P6, P7)]) ⇒ BatchedActionResult[T]

    Permalink
    Definition Classes
    SqlSource
  62. macro def run[P1, P2, P3, P4, P5, P6, T](quoted: quotation.Quoted[(P1, P2, P3, P4, P5, P6) ⇒ Action[T]]): (List[(P1, P2, P3, P4, P5, P6)]) ⇒ BatchedActionResult[T]

    Permalink
    Definition Classes
    SqlSource
  63. macro def run[P1, P2, P3, P4, P5, T](quoted: quotation.Quoted[(P1, P2, P3, P4, P5) ⇒ Action[T]]): (List[(P1, P2, P3, P4, P5)]) ⇒ BatchedActionResult[T]

    Permalink
    Definition Classes
    SqlSource
  64. macro def run[P1, P2, P3, P4, T](quoted: quotation.Quoted[(P1, P2, P3, P4) ⇒ Action[T]]): (List[(P1, P2, P3, P4)]) ⇒ BatchedActionResult[T]

    Permalink
    Definition Classes
    SqlSource
  65. macro def run[P1, P2, P3, T](quoted: quotation.Quoted[(P1, P2, P3) ⇒ Action[T]]): (List[(P1, P2, P3)]) ⇒ BatchedActionResult[T]

    Permalink
    Definition Classes
    SqlSource
  66. macro def run[P1, P2, T](quoted: quotation.Quoted[(P1, P2) ⇒ Action[T]]): (List[(P1, P2)]) ⇒ BatchedActionResult[T]

    Permalink
    Definition Classes
    SqlSource
  67. macro def run[P1, T](quoted: quotation.Quoted[(P1) ⇒ Action[T]]): (List[P1]) ⇒ BatchedActionResult[T]

    Permalink
    Definition Classes
    SqlSource
  68. macro def run[T](quoted: quotation.Quoted[Action[T]]): ActionResult[T]

    Permalink
    Definition Classes
    SqlSource
  69. macro def run[P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, T](quoted: quotation.Quoted[(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10) ⇒ Query[T]]): (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10) ⇒ QueryResult[T]

    Permalink
    Definition Classes
    SqlSource
  70. macro def run[P1, P2, P3, P4, P5, P6, P7, P8, P9, T](quoted: quotation.Quoted[(P1, P2, P3, P4, P5, P6, P7, P8, P9) ⇒ Query[T]]): (P1, P2, P3, P4, P5, P6, P7, P8, P9) ⇒ QueryResult[T]

    Permalink
    Definition Classes
    SqlSource
  71. macro def run[P1, P2, P3, P4, P5, P6, P7, P8, T](quoted: quotation.Quoted[(P1, P2, P3, P4, P5, P6, P7, P8) ⇒ Query[T]]): (P1, P2, P3, P4, P5, P6, P7, P8) ⇒ QueryResult[T]

    Permalink
    Definition Classes
    SqlSource
  72. macro def run[P1, P2, P3, P4, P5, P6, P7, T](quoted: quotation.Quoted[(P1, P2, P3, P4, P5, P6, P7) ⇒ Query[T]]): (P1, P2, P3, P4, P5, P6, P7) ⇒ QueryResult[T]

    Permalink
    Definition Classes
    SqlSource
  73. macro def run[P1, P2, P3, P4, P5, P6, T](quoted: quotation.Quoted[(P1, P2, P3, P4, P5, P6) ⇒ Query[T]]): (P1, P2, P3, P4, P5, P6) ⇒ QueryResult[T]

    Permalink
    Definition Classes
    SqlSource
  74. macro def run[P1, P2, P3, P4, P5, T](quoted: quotation.Quoted[(P1, P2, P3, P4, P5) ⇒ Query[T]]): (P1, P2, P3, P4, P5) ⇒ QueryResult[T]

    Permalink
    Definition Classes
    SqlSource
  75. macro def run[P1, P2, P3, P4, T](quoted: quotation.Quoted[(P1, P2, P3, P4) ⇒ Query[T]]): (P1, P2, P3, P4) ⇒ QueryResult[T]

    Permalink
    Definition Classes
    SqlSource
  76. macro def run[P1, P2, P3, T](quoted: quotation.Quoted[(P1, P2, P3) ⇒ Query[T]]): (P1, P2, P3) ⇒ QueryResult[T]

    Permalink
    Definition Classes
    SqlSource
  77. macro def run[P1, P2, T](quoted: quotation.Quoted[(P1, P2) ⇒ Query[T]]): (P1, P2) ⇒ QueryResult[T]

    Permalink
    Definition Classes
    SqlSource
  78. macro def run[P1, T](quoted: quotation.Quoted[(P1) ⇒ Query[T]]): (P1) ⇒ QueryResult[T]

    Permalink
    Definition Classes
    SqlSource
  79. macro def run[T](quoted: quotation.Quoted[Query[T]]): QueryResult[T]

    Permalink
    Definition Classes
    SqlSource
  80. implicit def setEncoder[T](implicit e: Encoder[T]): Encoder[Set[T]]

    Permalink
    Definition Classes
    Encoders
  81. implicit val shortDecoder: Decoder[Short]

    Permalink
    Definition Classes
    Decoders
  82. implicit val shortEncoder: Encoder[Short]

    Permalink
    Definition Classes
    Encoders
  83. implicit val stringDecoder: Decoder[String]

    Permalink
    Definition Classes
    Decoders
  84. implicit val stringEncoder: Encoder[String]

    Permalink
    Definition Classes
    Encoders
  85. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  86. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  87. def transaction[T](f: (TransactionalExecutionContext) ⇒ Future[T])(implicit ec: ExecutionContext): Future[T]

    Permalink
  88. implicit val uuidDecoder: Decoder[UUID]

    Permalink
    Definition Classes
    Decoders
  89. implicit val uuidEncoder: Encoder[UUID]

    Permalink
    Definition Classes
    Encoders
  90. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  91. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  92. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  93. implicit def wrappedTypeDecoder[T <: WrappedType]: MappedEncoding[T, Source.wrappedTypeDecoder.T.Type]

    Permalink
    Definition Classes
    Source

Inherited from Encoders

Inherited from Decoders

Inherited from SqlSource[D, N, RowData, BindedStatementBuilder[List[Any]]]

Inherited from Source[RowData, BindedStatementBuilder[List[Any]]]

Inherited from Closeable

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped