Class

io.getquill.sources.jdbc

JdbcSource

Related Doc: package jdbc

Permalink

class JdbcSource[D <: SqlIdiom, N <: NamingStrategy] extends SqlSource[D, N, ResultSet, BindedStatementBuilder[PreparedStatement]] with JdbcEncoders with JdbcDecoders

Linear Supertypes
JdbcDecoders, JdbcEncoders, SqlSource[D, N, ResultSet, BindedStatementBuilder[PreparedStatement]], Source[ResultSet, BindedStatementBuilder[PreparedStatement]], Closeable, AutoCloseable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JdbcSource
  2. JdbcDecoders
  3. JdbcEncoders
  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 JdbcSource(config: JdbcSourceConfig[D, N])

    Permalink

Type Members

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

    Permalink
  2. type ActionResult[T] = Long

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

    Permalink
    Definition Classes
    JdbcSource → SqlSource
  4. type Decoder[T] = sources.Decoder[ResultSet, T]

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

    Permalink
    Definition Classes
    Source
  6. type QueryResult[T] = List[T]

    Permalink
    Definition Classes
    JdbcSource → SqlSource
  7. type SingleQueryResult[T] = T

    Permalink
    Definition Classes
    JdbcSource → SqlSource

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
    JdbcDecoders
  6. implicit val bigDecimalEncoder: Encoder[BigDecimal]

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    JdbcEncoders
  17. val dateTimeZone: TimeZone

    Permalink
    Attributes
    protected
    Definition Classes
    JdbcEncoders
  18. def decoder[T](f: (ResultSet) ⇒ (Int) ⇒ T): Decoder[T]

    Permalink
    Definition Classes
    JdbcDecoders
  19. implicit val doubleDecoder: Decoder[Double]

    Permalink
    Definition Classes
    JdbcDecoders
  20. implicit val doubleEncoder: Encoder[Double]

    Permalink
    Definition Classes
    JdbcEncoders
  21. def encoder[T](f: (PreparedStatement) ⇒ (Int, T) ⇒ Unit): Encoder[T]

    Permalink
    Definition Classes
    JdbcEncoders
  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(sql: String, bind: (BindedStatementBuilder[PreparedStatement]) ⇒ BindedStatementBuilder[PreparedStatement] = identity, generated: Option[String] = None): Long

    Permalink
  25. def executeBatch[T](sql: String, bindParams: (T) ⇒ (BindedStatementBuilder[PreparedStatement]) ⇒ BindedStatementBuilder[PreparedStatement] = ..., generated: Option[String] = None): ActionApply[T]

    Permalink
  26. def finalize(): Unit

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

    Permalink
    Definition Classes
    JdbcDecoders
  28. implicit val floatEncoder: Encoder[Float]

    Permalink
    Definition Classes
    JdbcEncoders
  29. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  30. def handleSingleResult[T](list: List[T]): T

    Permalink
    Attributes
    protected
    Definition Classes
    Source
  31. def hashCode(): Int

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

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

    Permalink
    Definition Classes
    JdbcEncoders
  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
    JdbcDecoders
  37. implicit val longEncoder: Encoder[Long]

    Permalink
    Definition Classes
    JdbcEncoders
  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
    JdbcDecoders
  44. implicit def optionEncoder[T](implicit d: Encoder[T]): Encoder[Option[T]]

    Permalink
    Definition Classes
    JdbcEncoders
  45. def probe(sql: String): Try[Boolean]

    Permalink
    Definition Classes
    JdbcSource → SqlSource
  46. def query[T](sql: String, extractor: (ResultSet) ⇒ T = identity[ResultSet], bind: (BindedStatementBuilder[PreparedStatement]) ⇒ BindedStatementBuilder[PreparedStatement] = identity): List[T]

    Permalink
  47. def querySingle[T](sql: String, extractor: (ResultSet) ⇒ T = identity[ResultSet], bind: (BindedStatementBuilder[PreparedStatement]) ⇒ BindedStatementBuilder[PreparedStatement] = identity): T

    Permalink
  48. 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) ⇒ SingleQueryResult[T]

    Permalink
    Definition Classes
    SqlSource
  49. 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) ⇒ SingleQueryResult[T]

    Permalink
    Definition Classes
    SqlSource
  50. 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) ⇒ SingleQueryResult[T]

    Permalink
    Definition Classes
    SqlSource
  51. 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) ⇒ SingleQueryResult[T]

    Permalink
    Definition Classes
    SqlSource
  52. 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) ⇒ SingleQueryResult[T]

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

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

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

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

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

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

    Permalink
    Definition Classes
    SqlSource
  59. 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
  60. 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
  61. 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
  62. 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
  63. 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
  64. 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
  65. 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
  66. 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
  67. macro def run[P1, P2, T](quoted: quotation.Quoted[(P1, P2) ⇒ Action[T]]): (List[(P1, P2)]) ⇒ BatchedActionResult[T]

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

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

    Permalink
    Definition Classes
    SqlSource
  70. 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
  71. 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
  72. 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
  73. 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
  74. 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
  75. 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
  76. 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
  77. macro def run[P1, P2, P3, T](quoted: quotation.Quoted[(P1, P2, P3) ⇒ Query[T]]): (P1, P2, P3) ⇒ QueryResult[T]

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    JdbcEncoders
  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: ⇒ T): T

    Permalink
  88. implicit def traversableEncoder[T](implicit enc: Encoder[T]): Encoder[Traversable[T]]

    Permalink
    Definition Classes
    JdbcEncoders
  89. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  92. def withConnection[T](f: (Connection) ⇒ T): T

    Permalink
    Attributes
    protected
  93. implicit def wrappedTypeDecoder[T <: WrappedType]: MappedEncoding[T, Source.wrappedTypeDecoder.T.Type]

    Permalink
    Definition Classes
    Source

Inherited from JdbcDecoders

Inherited from JdbcEncoders

Inherited from SqlSource[D, N, ResultSet, BindedStatementBuilder[PreparedStatement]]

Inherited from Source[ResultSet, BindedStatementBuilder[PreparedStatement]]

Inherited from Closeable

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped