Packages

p

io.parsek

jdbc

package jdbc

Jdbc module add simple jdbc layer for ETL application with selecting and batch operation support

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. jdbc
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class BatchInsertIO[A](table: String, it: Iterable[A])(implicit evidence$4: Encoder[A]) extends JdbcIO[Unit] with Product with Serializable
  2. trait ColumnReader[A] extends AnyRef

  3. trait ConnectionPool extends AnyRef

  4. case class ExecuteIO(query: Query) extends JdbcIO[Boolean] with Product with Serializable
  5. case class InsertIO[A](table: String, record: A)(implicit evidence$3: Encoder[A]) extends JdbcIO[Int] with Product with Serializable
  6. case class JdbcConfig(nameConverter: NameConverter = IdNameConverter) extends Product with Serializable

  7. abstract class JdbcIO[A] extends AnyRef
  8. class JdbcQueryExecutor extends QueryExecutor

    Default implementation of QueryExecutor

  9. type NameConverter = (String) ⇒ String
  10. case class NamedQueryBuilder(sql: String, binders: Iterable[(String, PValueBinder)], nameConverter: NameConverter) extends Product with Serializable

  11. type PValueBinder = ValueBinder[PValue]
  12. trait ParameterBinder extends AnyRef

  13. trait ParameterTypeMeta[A] extends AnyRef

  14. final class PlaceholderValueBinder extends ParameterBinder

  15. case class Query(sql: String, params: Iterable[ParameterBinder] = Seq.empty[ParameterBinder]) extends Product with Serializable

  16. abstract class QueryExecutor extends AnyRef

  17. case class QueryIO[A](query: Query, resultReader: ResultReader[A]) extends JdbcIO[A] with Product with Serializable

  18. trait ResultReader[A] extends AnyRef

  19. trait RowReader[A] extends AnyRef

  20. implicit final class SqlHelper extends AnyVal
  21. trait ToSql[A] extends (A) ⇒ (String, Int)

  22. case class UpdateIO(query: Query) extends JdbcIO[Int] with Product with Serializable
  23. trait ValueBinder[A] extends (A) ⇒ ParameterBinder

Value Members

  1. val IdNameConverter: NameConverter
  2. val LowerCaseConverter: NameConverter
  3. val UpperCaseConverter: NameConverter
  4. implicit def convert2OptPlaceholderValueBinder[A](o: Option[A])(implicit arg0: ToSql[A], arg1: ValueBinder[A]): Option[PlaceholderValueBinder]
  5. implicit def convert2PlaceholderValueBinder[A](a: A)(implicit arg0: ToSql[A], arg1: ValueBinder[A]): PlaceholderValueBinder
  6. implicit def convert2ToSql[A](a: A)(implicit arg0: ToSql[A]): ToSql[A]
  7. implicit def convert2ValueBinder[A](a: A)(implicit arg0: ValueBinder[A]): ValueBinder[A]
  8. object ColumnReader
  9. object ConnectionPool
  10. object JdbcIO
  11. object JdbcQueryExecutor
  12. object JdbcUtils

  13. object ParameterTypeMeta
  14. object ResultReader
  15. object RowReader
  16. object ValueBinder

Inherited from AnyRef

Inherited from Any

Ungrouped