object DbParameterUtils

This trait provides utility methods for database operations, specifically for retrieving integer array data from parameters in the database.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DbParameterUtils
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  9. def getDataArrayOResultsDb[A](storageProfile: Profile, deserialize: (Int) => A)(implicit arg0: ClassTag[A]): GetResult[Option[Array[A]]]

    Retrieves an array of integers from the database and deserializes it to the correct type.

    Retrieves an array of integers from the database and deserializes it to the correct type. This function supports different database profiles (H2 and Postgres) for handling array results.

    A

    The type to which the integers will be deserialized.

    storageProfile

    lists the type of storage (i.e. H2 or Postgres).

    deserialize

    A function that converts an Int into type A.

    Annotations
    @SuppressWarnings()
  10. def getDataBytesArrayResultsDb[A](deserialize: (Array[Byte]) => A)(implicit arg0: ClassTag[A]): GetResult[Array[A]]

    Retrieves an array of array of bytes from the database and deserializes it to an array of A.

    Retrieves an array of array of bytes from the database and deserializes it to an array of A.

    A

    The type to which each array of bytes will be deserialized.

    deserialize

    A function that converts an Array[Byte] into type A.

  11. def getStringArrayResultsDb: GetResult[Array[String]]

    Retrieves an array strings from the database.

  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  17. def setArrayBytesParameterDb[A](storageProfile: Profile, items: Array[A], serialize: (A) => Array[Byte], pp: PositionedParameters): Unit

    Sets an array of A as a database parameter, serializing each item into bytes.

    Sets an array of A as a database parameter, serializing each item into bytes.

    A

    The type to which each array of bytes will be deserialized.

    storageProfile

    lists the type of storage (i.e. H2 or Postgres).

    serialize

    A function that converts an A into Array[Byte].

    pp

    A PositionedParameters object, which is used to set the database parameter.

    Annotations
    @SuppressWarnings()
  18. def setArrayIntOParameterDb(maybeArray: Option[Array[Int]], pp: PositionedParameters): Unit

    Sets an array of integers as a database parameter.

    Sets an array of integers as a database parameter.

    maybeArray

    An optional array of integers. If None, the parameter is set to null.

    pp

    A PositionedParameters object, which is used to set the database parameter.

  19. def setArrayStringParameterDb(items: Iterable[String], pp: PositionedParameters): Unit

    Sets an Iterable of String as an array of string database parameter.

    Sets an Iterable of String as an array of string database parameter.

    items

    the strings to store in the column.

    pp

    A PositionedParameters object, which is used to set the database parameter.

  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. 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)

Inherited from AnyRef

Inherited from Any

Ungrouped