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()
  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. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. var pos: Int
  23. val ps: PreparedStatement
  24. def setBigDecimal(value: BigDecimal): Unit

    Set the next parameter

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

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

  26. def setBlob(value: Blob): Unit

    Set the next parameter

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

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

  28. def setBoolean(value: Boolean): Unit

    Set the next parameter

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

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

  30. def setByte(value: Byte): Unit

    Set the next parameter

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

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

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

    Set the next parameter

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

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

  34. def setClob(value: Clob): Unit

    Set the next parameter

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

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

  36. def setDate(value: Date): Unit

    Set the next parameter

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

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

  38. def setDouble(value: Double): Unit

    Set the next parameter

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

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

  40. def setFloat(value: Float): Unit

    Set the next parameter

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

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

  42. def setInt(value: Int): Unit

    Set the next parameter

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

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

  44. def setLong(value: Long): Unit

    Set the next parameter

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

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

  46. def setNull(sqlType: Int): Unit

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

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

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

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

  49. def setShort(value: Short): Unit

    Set the next parameter

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

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

  51. def setString(value: String): Unit

    Set the next parameter

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

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

  53. def setTime(value: Time): Unit

    Set the next parameter

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

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

  55. def setTimestamp(value: Timestamp): Unit

    Set the next parameter

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

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

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

Deprecated Value Members

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

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