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
- Alphabetic
- By Inheritance
- CompoundResultConverter
- Serializable
- Product
- Equals
- ResultConverter
- Dumpable
- AnyRef
- Any
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new CompoundResultConverter(width: Int, childConverters: ResultConverter[R, W, U, T]*)
Type Members
- type Reader = R
- Definition Classes
- ResultConverter
- type Updater = U
- Definition Classes
- ResultConverter
- type Writer = W
- Definition Classes
- ResultConverter
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def ->[B](y: B): (CompoundResultConverter[R, W, U, T], B)
- Implicit
- This member is added by an implicit conversion from CompoundResultConverter[R, W, U, T] toArrowAssoc[CompoundResultConverter[R, W, U, T]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val childConverters: ResultConverter[R, W, U, T]*
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- def ensuring(cond: (CompoundResultConverter[R, W, U, T]) => Boolean, msg: => Any): CompoundResultConverter[R, W, U, T]
- Implicit
- This member is added by an implicit conversion from CompoundResultConverter[R, W, U, T] toEnsuring[CompoundResultConverter[R, W, U, T]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (CompoundResultConverter[R, W, U, T]) => Boolean): CompoundResultConverter[R, W, U, T]
- Implicit
- This member is added by an implicit conversion from CompoundResultConverter[R, W, U, T] toEnsuring[CompoundResultConverter[R, W, U, T]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): CompoundResultConverter[R, W, U, T]
- Implicit
- This member is added by an implicit conversion from CompoundResultConverter[R, W, U, T] toEnsuring[CompoundResultConverter[R, W, U, T]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): CompoundResultConverter[R, W, U, T]
- Implicit
- This member is added by an implicit conversion from CompoundResultConverter[R, W, U, T] toEnsuring[CompoundResultConverter[R, W, U, T]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- 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
- CompoundResultConverter → ResultConverter → Dumpable
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def read(pr: R): T
- Definition Classes
- CompoundResultConverter → ResultConverter
- 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
- CompoundResultConverter → ResultConverter
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- ResultConverter → AnyRef → Any
- def update(value: T, pr: U): Unit
- Definition Classes
- CompoundResultConverter → ResultConverter
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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
- CompoundResultConverter → ResultConverter
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from CompoundResultConverter[R, W, U, T] toStringFormat[CompoundResultConverter[R, W, U, T]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
- def →[B](y: B): (CompoundResultConverter[R, W, U, T], B)
- Implicit
- This member is added by an implicit conversion from CompoundResultConverter[R, W, U, T] toArrowAssoc[CompoundResultConverter[R, W, U, T]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.
edit this text on github
Scala Language-Integrated Connection Kit
This is the API documentation for the Slick database library. It should be used as an additional resource to the user manual.
Further documentation for Slick can be found on the documentation pages.
To the slick package list...