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. final 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: Iterable[A], profile: Profile)(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 action will run as a single big database transaction. If the execution of the transaction results in deadlocks, you should order values according to some consistent order.

    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

    java.lang.IllegalArgumentException if statement contains "IGNORE_ROW_ON_DUPKEY_INDEX" (See UpsertTestOracle for details.)

  6. def bulkOperation_[A](statement: String, values: Iterable[A], profile: Profile)(setParams: (PositionedParameters) => (A) => Unit)(implicit loggingContext: ErrorLoggingContext): DBIOAction[Unit, NoStream, All]

    Same as bulkOperation except that no update counts are returned.

  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, scheduler: Option[ScheduledExecutorService], 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. val healthName: String
  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
    @native() @HotSpotIntrinsicCandidate()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. def profile(config: DbConfig): Profile
  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def toInClauses[T](field: String, values: NonEmpty[Seq[T]], maxValuesInSqlList: PositiveNumeric[Int])(implicit f: SetParameter[T]): Iterable[(Seq[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()
  23. def toInClauses_[T](field: String, values: NonEmpty[Seq[T]], maxValuesSqlInListSize: PositiveNumeric[Int])(implicit f: SetParameter[T]): Iterable[SQLActionBuilder]
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. object DbAction
  29. object Implicits
  30. object Profile extends Serializable
  31. object RetryConfig extends Serializable
  32. 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