IsDefinedResultConverter

slick.jdbc.IsDefinedResultConverter
class IsDefinedResultConverter[T](val ti: JdbcType[T], val idx: Int) extends ResultConverter[ResultSet, PreparedStatement, ResultSet, Boolean]

Specialized JDBC ResultConverter for handling isDefined checks for Option values.

Attributes

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

Members list

Concise view

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): Boolean

Attributes

Source:
JdbcResultConverter.scala
override def set(value: Boolean, pp: PreparedStatement, offset: Int): Nothing

Writes converted value.

Writes converted value.

Attributes

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.

Definition Classes
Source:
JdbcResultConverter.scala
override def update(value: Boolean, pr: ResultSet): Nothing

Attributes

Definition Classes
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 idx: Int

Attributes

Source:
JdbcResultConverter.scala
val ti: JdbcType[T]

Attributes

Source:
JdbcResultConverter.scala