package jdbc
JDBC-related code, including all facilities for Plain SQL queries and JDBC-specific driver components.
- Source
- package.scala
- Alphabetic
- By Inheritance
- jdbc
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
class
BaseResultConverter
[T] extends ResultConverter[JdbcResultConverterDomain, T]
Specialized JDBC ResultConverter for non-
Option
values. -
class
DefaultingResultConverter
[T] extends ResultConverter[JdbcResultConverterDomain, T]
Specialized JDBC ResultConverter for handling non-
Option
values with a default.Specialized JDBC ResultConverter for handling non-
Option
values with a default. A (possibly specialized) function for the default value is used to translate SQLNULL
values. -
trait
GetResult
[+T] extends (PositionedResult) ⇒ T
Basic conversions for extracting values from PositionedResults.
-
class
GetTupleResult
[+T <: Product] extends GetResult[T]
GetResult for tuple types.
-
trait
Invoker
[+R] extends AnyRef
Base trait for all statement invokers of result element type R.
-
trait
JdbcBackend
extends DatabaseComponent
A JDBC-based database back-end which can be used for Plain SQL queries and with all
JdbcProfile
-based drivers. -
abstract
class
JdbcFastPath
[T] extends ResultConverter[JdbcResultConverterDomain, T]
A
ResultConverter
that simplifies the implementation of fast path converters forJdbcProfile
.A
ResultConverter
that simplifies the implementation of fast path converters forJdbcProfile
. It always wraps aTypeMappingResultConverter
on top of aProductResultConverter
, allowing direct access to the product elements. -
trait
JdbcMappingCompilerComponent
extends AnyRef
JDBC driver component which contains the mapping compiler and insert compiler
- trait JdbcResultConverterDomain extends ResultConverterDomain
-
trait
JdbcType
[T] extends BaseTypedType[T]
A JdbcType object represents a Scala type that can be used as a column type in the database.
A JdbcType object represents a Scala type that can be used as a column type in the database. Implicit JdbcTypes for the standard types of a profile are provided by the drivers.
-
trait
MutatingInvoker
[R] extends Invoker[R]
A special kind of invoker that allows the result data to be mutated .
- trait MutatingStatementInvoker [R] extends StatementInvoker[R] with MutatingInvoker[R]
-
class
OptionResultConverter
[T] extends ResultConverter[JdbcResultConverterDomain, Option[T]]
Specialized JDBC ResultConverter for handling values of type
Option[T]
.Specialized JDBC ResultConverter for handling values of type
Option[T]
. Boxing is avoided when the result isNone
. -
class
PositionedParameters
extends AnyRef
A wrapper for a JDBC
PreparedStatement
which allows inceremental setting of parameters without having to sepcify the column index each time. -
abstract
class
PositionedResult
extends Closeable
A database result positioned at a row and column.
-
abstract
class
PositionedResultIterator
[+T] extends ReadAheadIterator[T] with CloseableIterator[T]
An CloseableIterator for a PositionedResult.
-
sealed abstract
class
ResultSetConcurrency
extends AnyRef
Represents a result set concurrency mode.
-
sealed abstract
class
ResultSetHoldability
extends AnyRef
Represents a result set holdability mode .
-
abstract
class
ResultSetInvoker
[+R] extends Invoker[R]
An invoker which calls a function to retrieve a ResultSet.
An invoker which calls a function to retrieve a ResultSet. This can be used for reading information from a java.sql.DatabaseMetaData object which has many methods that return ResultSets.
For convenience, if the function returns null, this is treated like an empty ResultSet.
- trait ResultSetMutator [T] extends AnyRef
-
sealed abstract
class
ResultSetType
extends AnyRef
Represents a result set type.
- final class SQLInterpolation extends AnyVal
- case class SQLInterpolationResult [P](strings: Seq[String], param: P, pconv: SetParameter[P]) extends Product with Serializable
-
trait
SetParameter
[-T] extends (T, PositionedParameters) ⇒ Unit
Basic conversions for setting parameters in PositionedParameters.
-
class
SetTupleParameter
[-T <: Product] extends SetParameter[T]
SetParameter for tuple types.
-
abstract
class
StatementInvoker
[+R] extends Invoker[R]
An invoker which executes an SQL statement through JDBC.
-
class
StaticQuery
[-P, +R] extends (P) ⇒ Invoker[R]
A builder for Plain SQL queries.
-
class
StaticQueryInvoker
[-P, +R] extends StatementInvoker[R]
Invoker for Plain SQL queries.
-
class
UnmanagedSession
extends jdbc.JdbcBackend.SessionDef
A JDBC Session which is not managed by Slick.
A JDBC Session which is not managed by Slick. You can use this to wrap an existing JDBC Connection. Override 'database' and 'performRollback' as needed.
Value Members
- object GetResult
- object Invoker
- object JdbcBackend extends JdbcBackend
- object ResultSetConcurrency
- object ResultSetHoldability
- object ResultSetInvoker
- object ResultSetType
- object SetParameter
-
object
SpecializedJdbcResultConverter
Factory methods for JdbcResultConverters which are manually specialized on the underlying JdbcType.
Factory methods for JdbcResultConverters which are manually specialized on the underlying JdbcType. A generic implementation of this factory still provides allocation free call paths but performs almost 100% slower in the fast path benchmark.
- object StaticQuery
edit this text on github
Scala Language-Integrated Connection Kit
This is the documentation for the Slick database library. Slick is a joint effort by Typesafe and LAMP, EPFL Lausanne.
Further documentation for Slick can be found on the documentation pages.
To the slick package list...
Important places
Type-safe query operators
Plain SQL queries
Driver / Connection related
Mapping related
Model / Table class related
Other