acolyte.jdbc

package acolyte.jdbc

Members list

Concise view

Type members

Classlikes

object AcolyteDSL

Acolyte DSL for JDBC.

Acolyte DSL for JDBC.

import acolyte.jdbc.AcolyteDSL.{ connection, handleStatement }
// Useful: import acolyte.jdbc.Implicits._
import acolyte.jdbc.{ QueryExecution, UpdateExecution }

connection {
 handleStatement.withQueryDetection("...").
   withQueryHandler({ (_: QueryExecution) => ??? }).
   withUpdateHandler({ (_: UpdateExecution) => ??? })
}

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Implicits.type
Self type
case class DefinedParameter(value: Any, definition: ParameterDef) extends ExecutedParameter

Parameter along with its definition.

Parameter along with its definition.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
sealed trait ExecutedParameter

Parameter used to executed a query or an update.

Parameter used to executed a query or an update.

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Executed parameter companion

Executed parameter companion

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
case class ExecutedStatement(p: String)

Statement extractor

Statement extractor

Attributes

p

Statement pattern

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
sealed trait Execution

Execution information

Execution information

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Acolyte implicit conversions for Scala use.

Acolyte implicit conversions for Scala use.

import acolyte.jdbc.Implicits._

val qr: acolyte.jdbc.QueryResult = "str" // convert string

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
case class QueryExecution(sql: String, parameters: List[ExecutedParameter]) extends Execution

Information about the execution of a query.

Information about the execution of a query.

Attributes

parameter

the parameters the query is executed with

sql

the SQL statement

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Execution
class Object
trait Matchable
class Any
final class ScalaCompositeHandler(qd: Array[Pattern], qh: QueryHandler, uh: UpdateHandler) extends AbstractCompositeHandler[ScalaCompositeHandler]

Attributes

Graph
Supertypes
class AbstractCompositeHandler[ScalaCompositeHandler]
trait StatementHandler
class Object
trait Matchable
class Any

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Implicits.type
case class UpdateExecution(sql: String, parameters: List[ExecutedParameter]) extends Execution

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Execution
class Object
trait Matchable
class Any

Deprecated classlikes

Convertions from Java datatypes to Scala.

Convertions from Java datatypes to Scala.

Attributes

Deprecated
true
Graph
Supertypes
class Object
trait Matchable
class Any
Self type