Packages

c

slick.jdbc

BaseResultConverter

class BaseResultConverter[T] extends ResultConverter[ResultSet, PreparedStatement, ResultSet, T]

Specialized JDBC ResultConverter for non-Option values.

Source
JdbcResultConverter.scala
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BaseResultConverter
  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 BaseResultConverter(jdbcType: JdbcType[T], columnName: String, index: Int)

Type Members

  1. type Reader = ResultSet
    Definition Classes
    ResultConverter
  2. type Updater = ResultSet
    Definition Classes
    ResultConverter
  3. type Writer = PreparedStatement
    Definition Classes
    ResultConverter

Value Members

  1. val columnName: String
  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
    BaseResultConverterResultConverterDumpable
  3. val index: Int
  4. val jdbcType: JdbcType[T]
  5. def read(pr: ResultSet): T
    Definition Classes
    BaseResultConverterResultConverter
  6. def set(value: T, pp: PreparedStatement, offset: Int): Unit

    Writes converted value.

    Writes converted value.

    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
    BaseResultConverterResultConverter
  7. def toString(): String
    Definition Classes
    ResultConverter → AnyRef → Any
  8. def update(value: T, pr: ResultSet): Unit
    Definition Classes
    BaseResultConverterResultConverter
  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
    BaseResultConverterResultConverter