class PositionedParameters extends AnyRef
A wrapper for a JDBC PreparedStatement
which allows inceremental setting of
parameters without having to sepcify the column index each time.
- Alphabetic
- By Inheritance
- PositionedParameters
- AnyRef
- Any
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new PositionedParameters(ps: PreparedStatement)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def ->[B](y: B): (PositionedParameters, B)
- Implicit
- This member is added by an implicit conversion from PositionedParameters toArrowAssoc[PositionedParameters] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def >>[T](value: T)(implicit f: SetParameter[T]): Unit
Set the next parameter of the specified type, provided that a
SetParameter
instance is available for it. - final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def ensuring(cond: (PositionedParameters) => Boolean, msg: => Any): PositionedParameters
- Implicit
- This member is added by an implicit conversion from PositionedParameters toEnsuring[PositionedParameters] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (PositionedParameters) => Boolean): PositionedParameters
- Implicit
- This member is added by an implicit conversion from PositionedParameters toEnsuring[PositionedParameters] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): PositionedParameters
- Implicit
- This member is added by an implicit conversion from PositionedParameters toEnsuring[PositionedParameters] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): PositionedParameters
- Implicit
- This member is added by an implicit conversion from PositionedParameters toEnsuring[PositionedParameters] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- var pos: Int
- val ps: PreparedStatement
- def setBigDecimal(value: BigDecimal): Unit
Set the next parameter
- def setBigDecimalOption(value: Option[BigDecimal]): Unit
Set the next parameter to the specified value or a properly typed SQL NULL
- def setBlob(value: Blob): Unit
Set the next parameter
- def setBlobOption(value: Option[Blob]): Unit
Set the next parameter to the specified value or a properly typed SQL NULL
- def setBoolean(value: Boolean): Unit
Set the next parameter
- def setBooleanOption(value: Option[Boolean]): Unit
Set the next parameter to the specified value or a properly typed SQL NULL
- def setByte(value: Byte): Unit
Set the next parameter
- def setByteOption(value: Option[Byte]): Unit
Set the next parameter to the specified value or a properly typed SQL NULL
- def setBytes(value: Array[Byte]): Unit
Set the next parameter
- def setBytesOption(value: Option[Array[Byte]]): Unit
Set the next parameter to the specified value or a properly typed SQL NULL
- def setClob(value: Clob): Unit
Set the next parameter
- def setClobOption(value: Option[Clob]): Unit
Set the next parameter to the specified value or a properly typed SQL NULL
- def setDate(value: Date): Unit
Set the next parameter
- def setDateOption(value: Option[Date]): Unit
Set the next parameter to the specified value or a properly typed SQL NULL
- def setDouble(value: Double): Unit
Set the next parameter
- def setDoubleOption(value: Option[Double]): Unit
Set the next parameter to the specified value or a properly typed SQL NULL
- def setFloat(value: Float): Unit
Set the next parameter
- def setFloatOption(value: Option[Float]): Unit
Set the next parameter to the specified value or a properly typed SQL NULL
- def setInt(value: Int): Unit
Set the next parameter
- def setIntOption(value: Option[Int]): Unit
Set the next parameter to the specified value or a properly typed SQL NULL
- def setLong(value: Long): Unit
Set the next parameter
- def setLongOption(value: Option[Long]): Unit
Set the next parameter to the specified value or a properly typed SQL NULL
- def setNull(sqlType: Int): Unit
Set the next parameter to SQL NULL with the specified SQL type code.
- def setObject(value: AnyRef, sqlType: Int): Unit
Set the next parameter to an object of a driver-specific type that corresponds to the specified SQL type code.
- def setObjectOption(value: Option[AnyRef], sqlType: Int): Unit
Set the next parameter to the specified value or a properly typed SQL NULL
- def setShort(value: Short): Unit
Set the next parameter
- def setShortOption(value: Option[Short]): Unit
Set the next parameter to the specified value or a properly typed SQL NULL
- def setString(value: String): Unit
Set the next parameter
- def setStringOption(value: Option[String]): Unit
Set the next parameter to the specified value or a properly typed SQL NULL
- def setTime(value: Time): Unit
Set the next parameter
- def setTimeOption(value: Option[Time]): Unit
Set the next parameter to the specified value or a properly typed SQL NULL
- def setTimestamp(value: Timestamp): Unit
Set the next parameter
- def setTimestampOption(value: Option[Timestamp]): Unit
Set the next parameter to the specified value or a properly typed SQL NULL
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from PositionedParameters toStringFormat[PositionedParameters] 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): (PositionedParameters, B)
- Implicit
- This member is added by an implicit conversion from PositionedParameters toArrowAssoc[PositionedParameters] 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...