Packages

c

slick.jdbc

PositionedParameters

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.

Source
PositionedParameters.scala
Linear Supertypes
AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PositionedParameters
  2. AnyRef
  3. Any
Implicitly
  1. by StringFormat
  2. by Ensuring
  3. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new PositionedParameters(ps: PreparedStatement)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. 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()
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. 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.

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  8. 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
  9. 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
  10. 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
  11. 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
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  20. var pos: Int
  21. val ps: PreparedStatement
  22. def setBigDecimal(value: BigDecimal): Unit

    Set the next parameter

  23. def setBigDecimalOption(value: Option[BigDecimal]): Unit

    Set the next parameter to the specified value or a properly typed SQL NULL

  24. def setBlob(value: Blob): Unit

    Set the next parameter

  25. def setBlobOption(value: Option[Blob]): Unit

    Set the next parameter to the specified value or a properly typed SQL NULL

  26. def setBoolean(value: Boolean): Unit

    Set the next parameter

  27. def setBooleanOption(value: Option[Boolean]): Unit

    Set the next parameter to the specified value or a properly typed SQL NULL

  28. def setByte(value: Byte): Unit

    Set the next parameter

  29. def setByteOption(value: Option[Byte]): Unit

    Set the next parameter to the specified value or a properly typed SQL NULL

  30. def setBytes(value: Array[Byte]): Unit

    Set the next parameter

  31. def setBytesOption(value: Option[Array[Byte]]): Unit

    Set the next parameter to the specified value or a properly typed SQL NULL

  32. def setClob(value: Clob): Unit

    Set the next parameter

  33. def setClobOption(value: Option[Clob]): Unit

    Set the next parameter to the specified value or a properly typed SQL NULL

  34. def setDate(value: Date): Unit

    Set the next parameter

  35. def setDateOption(value: Option[Date]): Unit

    Set the next parameter to the specified value or a properly typed SQL NULL

  36. def setDouble(value: Double): Unit

    Set the next parameter

  37. def setDoubleOption(value: Option[Double]): Unit

    Set the next parameter to the specified value or a properly typed SQL NULL

  38. def setFloat(value: Float): Unit

    Set the next parameter

  39. def setFloatOption(value: Option[Float]): Unit

    Set the next parameter to the specified value or a properly typed SQL NULL

  40. def setInt(value: Int): Unit

    Set the next parameter

  41. def setIntOption(value: Option[Int]): Unit

    Set the next parameter to the specified value or a properly typed SQL NULL

  42. def setLong(value: Long): Unit

    Set the next parameter

  43. def setLongOption(value: Option[Long]): Unit

    Set the next parameter to the specified value or a properly typed SQL NULL

  44. def setNull(sqlType: Int): Unit

    Set the next parameter to SQL NULL with the specified SQL type code.

  45. 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.

  46. def setObjectOption(value: Option[AnyRef], sqlType: Int): Unit

    Set the next parameter to the specified value or a properly typed SQL NULL

  47. def setShort(value: Short): Unit

    Set the next parameter

  48. def setShortOption(value: Option[Short]): Unit

    Set the next parameter to the specified value or a properly typed SQL NULL

  49. def setString(value: String): Unit

    Set the next parameter

  50. def setStringOption(value: Option[String]): Unit

    Set the next parameter to the specified value or a properly typed SQL NULL

  51. def setTime(value: Time): Unit

    Set the next parameter

  52. def setTimeOption(value: Option[Time]): Unit

    Set the next parameter to the specified value or a properly typed SQL NULL

  53. def setTimestamp(value: Timestamp): Unit

    Set the next parameter

  54. def setTimestampOption(value: Option[Timestamp]): Unit

    Set the next parameter to the specified value or a properly typed SQL NULL

  55. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  56. def toString(): String
    Definition Classes
    AnyRef → Any
  57. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  58. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  59. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

  2. 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 of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  3. 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.

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion StringFormat fromPositionedParameters to StringFormat[PositionedParameters]

Inherited by implicit conversion Ensuring fromPositionedParameters to Ensuring[PositionedParameters]

Inherited by implicit conversion ArrowAssoc fromPositionedParameters to ArrowAssoc[PositionedParameters]

Ungrouped