object DbStorage

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

Type Members

  1. class DbEitherTRight[A] extends AnyRef
  2. sealed trait DbLockSupport extends Product with Serializable

    Indicate if the Db profile supports DB locks.

  3. class DbStorageCreationException extends RuntimeException
  4. case class PassiveInstanceException(reason: String) extends RuntimeException with Product with Serializable
  5. sealed trait Profile extends Product with Serializable with PrettyPrinting
  6. final case class RetryConfig(retryLogLevel: Level, retryWaitingTime: Duration, maxRetries: Int) extends Product with Serializable
  7. final class SQLActionBuilderChain extends AnyVal

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 bulkOperation[A](statement: String, values: Seq[A], profile: Profile, useTransactionForOracle: Boolean = false)(setParams: (PositionedParameters) => (A) => Unit)(implicit loggingContext: ErrorLoggingContext): DBIOAction[Array[Int], NoStream, All]

    Construct a bulk operation (e.g., insertion, deletion).

    Construct a bulk operation (e.g., insertion, deletion). The operation must not return a result set!

    The returned update counts are merely lower bounds to the number of affected rows or SUCCESS_NO_INFO, because Statement.executeBatch reports partial execution of a batch as a BatchUpdateException with partial update counts therein and those update counts are not taken into consideration.

    This operation is idempotent if the statement is idempotent for each value.

    Exceptions thrown

    if the database is Oracle and one of the following holds:

    • statement contains "IGNORE_ROW_ON_DUPKEY_INDEX"
    • or statements contains merge and useTransactionForOracle is false. (See UpsertTestOracle for details.)
  6. def bulkOperation_[A](statement: String, values: Seq[A], profile: Profile, useTransactionForOracle: Boolean = false)(setParams: (PositionedParameters) => (A) => Unit)(implicit loggingContext: ErrorLoggingContext): DBIOAction[Unit, NoStream, All]

    Same as bulkOperation except that no update counts are returned.

    Same as bulkOperation except that no update counts are returned. Can also be used if statement contains "IGNORE_ROW_ON_DUPKEY_INDEX".

  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  8. def createDatabase(config: DbConfig, forParticipant: Boolean, withWriteConnectionPool: Boolean, withMainConnection: Boolean, metrics: Option[DbQueueMetrics] = None, logQueryCost: Option[QueryCostMonitoringConfig] = None, forMigration: Boolean = false, retryConfig: RetryConfig = DbStorage.RetryConfig.failFast)(loggerFactory: NamedLoggerFactory)(implicit closeContext: CloseContext): EitherT[UnlessShutdown, String, slick.jdbc.JdbcBackend.Database]
  9. def dbEitherT[A]: DbEitherTRight[A]
  10. def dbEitherT[A, B](value: DBIO[Either[A, B]]): EitherT[DBIO, A, B]
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. def profile(config: DbConfig): Profile
  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. def toInClauses[T](field: String, values: NonEmptyList[T], maxValuesInSqlList: PositiveNumeric[Int])(implicit f: SetParameter[T]): Iterable[(List[T], SQLActionBuilder)]

    Construct an in clause for a given field.

    Construct an in clause for a given field. If there are too many elements, splits the clause into several ones. We need to split into several terms because Oracle imposes a limit on the number of elements in an in-clause (currently: 1000).

    returns

    An iterable of the grouped values and the in clause for the grouped values

    Annotations
    @nowarn()
  22. def toInClauses_[T](field: String, values: NonEmptyList[T], maxValuesSqlInListSize: PositiveNumeric[Int])(implicit f: SetParameter[T]): Iterable[SQLActionBuilder]
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. object DbAction
  28. object Implicits
  29. object Profile extends Serializable
  30. object RetryConfig extends Serializable
  31. object SQLActionBuilderChain

Deprecated Value Members

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

Inherited from AnyRef

Inherited from Any

Ungrouped