BaseResultConverter

slick.jdbc.BaseResultConverter
class BaseResultConverter[T](val jdbcType: JdbcType[T], val columnName: String, val index: Int) extends ResultConverter[ResultSet, PreparedStatement, ResultSet, T]

Specialized JDBC ResultConverter for non-Option values.

Attributes

Source
JdbcResultConverter.scala
Graph
Supertypes
trait ResultConverter[ResultSet, PreparedStatement, ResultSet, T]
trait Dumpable
class Object
trait Matchable
class Any

Members list

Type members

Inherited types

type Reader = R

Attributes

Inherited from:
ResultConverter
Source
ResultConverter.scala
type Updater = U

Attributes

Inherited from:
ResultConverter
Source
ResultConverter.scala
type Writer = W

Attributes

Inherited from:
ResultConverter
Source
ResultConverter.scala

Value members

Concrete methods

override def getDumpInfo: DumpInfo

Return the name, main info, attribute info and named children

Return the name, main info, attribute info and named children

Attributes

Definition Classes
Source
JdbcResultConverter.scala
def read(pr: ResultSet): T

Attributes

Source
JdbcResultConverter.scala
def set(value: T, pp: PreparedStatement, offset: Int): Unit

Writes converted value.

Writes converted value.

Value parameters

offset

The number of PreparedStatement parameters to skip. In a single-row operation (ex. insert into tbl values (?, ?, ?)), it should be 0. In a bulk insert operation, it should be ''C'' × ''R'', where ''C'' is the number of columns and ''R'' is the number of rows that have already been set.

Attributes

Source
JdbcResultConverter.scala
def update(value: T, pr: ResultSet): Unit

Attributes

Source
JdbcResultConverter.scala
def width: Int

The width of this converter (in columns), corresponding to the number of columns that will be read or written by it.

The width of this converter (in columns), corresponding to the number of columns that will be read or written by it.

Attributes

Source
JdbcResultConverter.scala

Inherited methods

override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Inherited from:
ResultConverter
Source
ResultConverter.scala

Concrete fields

val columnName: String

Attributes

Source
JdbcResultConverter.scala
val index: Int

Attributes

Source
JdbcResultConverter.scala
val jdbcType: JdbcType[T]

Attributes

Source
JdbcResultConverter.scala