Packages

c

slick.relational

CompoundResultConverter

final case class CompoundResultConverter[R, W, U, T](width: Int, childConverters: ResultConverter[R, W, U, T]*) extends ResultConverter[R, W, U, T] with Product with Serializable

Result converter that can write to multiple sub-converters and read from the first one

Source
ResultConverter.scala
Linear Supertypes
Serializable, Product, Equals, ResultConverter[R, W, U, T], Dumpable, AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CompoundResultConverter
  2. Serializable
  3. Product
  4. Equals
  5. ResultConverter
  6. Dumpable
  7. AnyRef
  8. 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 CompoundResultConverter(width: Int, childConverters: ResultConverter[R, W, U, T]*)

Type Members

  1. type Reader = R
    Definition Classes
    ResultConverter
  2. type Updater = U
    Definition Classes
    ResultConverter
  3. type Writer = W
    Definition Classes
    ResultConverter

Value Members

  1. val childConverters: ResultConverter[R, W, U, 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
    CompoundResultConverterResultConverterDumpable
  3. def productElementNames: Iterator[String]
    Definition Classes
    Product
  4. def read(pr: R): T
  5. def set(value: T, pp: W, 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
    CompoundResultConverterResultConverter
  6. def toString(): String
    Definition Classes
    ResultConverter → AnyRef → Any
  7. def update(value: T, pr: U): Unit
  8. val 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
    CompoundResultConverterResultConverter