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 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 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 +(other: String): String
    Implicit
    This member is added by an implicit conversion from PositionedParameters toany2stringadd[PositionedParameters] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. 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()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. 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.

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

    Set the next parameter

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

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

  25. def setBlob(value: Blob): Unit

    Set the next parameter

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

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

  27. def setBoolean(value: Boolean): Unit

    Set the next parameter

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

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

  29. def setByte(value: Byte): Unit

    Set the next parameter

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

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

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

    Set the next parameter

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

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

  33. def setClob(value: Clob): Unit

    Set the next parameter

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

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

  35. def setDate(value: Date): Unit

    Set the next parameter

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

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

  37. def setDouble(value: Double): Unit

    Set the next parameter

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

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

  39. def setFloat(value: Float): Unit

    Set the next parameter

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

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

  41. def setInt(value: Int): Unit

    Set the next parameter

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

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

  43. def setLong(value: Long): Unit

    Set the next parameter

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

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

  45. def setNull(sqlType: Int): Unit

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

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

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

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

  48. def setShort(value: Short): Unit

    Set the next parameter

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

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

  50. def setString(value: String): Unit

    Set the next parameter

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

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

  52. def setTime(value: Time): Unit

    Set the next parameter

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

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

  54. def setTimestamp(value: Timestamp): Unit

    Set the next parameter

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

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

  56. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  57. def toString(): String
    Definition Classes
    AnyRef → Any
  58. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  59. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  60. 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
  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 any2stringadd fromPositionedParameters to any2stringadd[PositionedParameters]

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