Packages

c

slick.jdbc

OptionResultConverter

class OptionResultConverter[T] extends ResultConverter[JdbcResultConverterDomain, Option[T]]

Specialized JDBC ResultConverter for handling values of type Option[T]. Boxing is avoided when the result is None.

Source
JdbcResultConverter.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OptionResultConverter
  2. ResultConverter
  3. Dumpable
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new OptionResultConverter(ti: JdbcType[T], idx: Int)

Value Members

  1. def getDumpInfo: DumpInfo

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

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

    Definition Classes
    OptionResultConverterResultConverterDumpable
  2. def getOrElse(default: () => T): DefaultingResultConverter[T]
  3. val idx: Int
  4. def isDefined: IsDefinedResultConverter[T]
  5. def read(pr: ResultSet): Option[T]
  6. def set(value: Option[T], pp: PreparedStatement): Unit
  7. val ti: JdbcType[T]
  8. def toString(): String
    Definition Classes
    ResultConverter → AnyRef → Any
  9. def update(value: Option[T], pr: ResultSet): Unit
  10. 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.

    Definition Classes
    OptionResultConverterResultConverter