CompoundResultConverter

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]

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

Attributes

Source:
ResultConverter.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait ResultConverter[R, W, U, T]
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:
ResultConverter.scala
def read(pr: R): T

Attributes

Source:
ResultConverter.scala
def set(value: T, pp: W, offset: Int): Unit

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.

Source:
ResultConverter.scala
def update(value: T, pr: U): Unit

Attributes

Source:
ResultConverter.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
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