Packages

c

slick.jdbc

DefaultingResultConverter

class DefaultingResultConverter[T] extends ResultConverter[JdbcResultConverterDomain, T]

Specialized JDBC ResultConverter for handling non-Option values with a default. A (possibly specialized) function for the default value is used to translate SQL NULL values.

Source
JdbcResultConverter.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DefaultingResultConverter
  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 DefaultingResultConverter(ti: JdbcType[T], default: () => T, idx: Int)

Value Members

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