case class Connection(connectionUrl: String, username: String, password: String, writeConcern: WriteConcern, verifyConnection: Boolean = true, allowedRoles: Array[String] = Array.empty, rootRotationStatements: Array[String] = Array.empty) extends BaseConnection with Product with Serializable
Ordering
- Alphabetic
- By Inheritance
Inherited
- Connection
- Serializable
- Product
- Equals
- BaseConnection
- AnyRef
- Any
Implicitly
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Connection(connectionUrl: String, username: String, password: String, writeConcern: WriteConcern, verifyConnection: Boolean = true, allowedRoles: Array[String] = Array.empty, rootRotationStatements: Array[String] = Array.empty)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def ->[B](y: B): (Connection, B)
- Implicit
- This member is added by an implicit conversion from Connection toArrowAssoc[Connection] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val allowedRoles: Array[String]
List of the roles allowed to use this connection.
List of the roles allowed to use this connection. Defaults to empty (no roles), if contains a "*" any role can use this connection.
- Definition Classes
- Connection → BaseConnection
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val connectionUrl: String
- def ensuring(cond: (Connection) => Boolean, msg: => Any): Connection
- Implicit
- This member is added by an implicit conversion from Connection toEnsuring[Connection] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (Connection) => Boolean): Connection
- Implicit
- This member is added by an implicit conversion from Connection toEnsuring[Connection] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): Connection
- Implicit
- This member is added by an implicit conversion from Connection toEnsuring[Connection] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): Connection
- Implicit
- This member is added by an implicit conversion from Connection toEnsuring[Connection] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from Connection toStringFormat[Connection] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val password: String
- def pluginName: String
The name of the plugin to use for this connection.
The name of the plugin to use for this connection.
- Definition Classes
- Connection → BaseConnection
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val rootRotationStatements: Array[String]
The database statements to be executed to rotate the root user's credentials.
The database statements to be executed to rotate the root user's credentials.
- Definition Classes
- Connection → BaseConnection
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val username: String
- val verifyConnection: Boolean
If the connection is verified during initial configuration.
If the connection is verified during initial configuration.
- Definition Classes
- Connection → BaseConnection
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- val writeConcern: WriteConcern
Deprecated Value Members
- def →[B](y: B): (Connection, B)
- Implicit
- This member is added by an implicit conversion from Connection toArrowAssoc[Connection] 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.