trait DriverFactory extends api.DriverFactory
The corresponding factory for an implementation of a Driver that can instantiate a new driver.
- Alphabetic
- By Inheritance
- DriverFactory
- DriverFactory
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- abstract type ConfigType
The driver-specific configuration type.
- abstract type Driver
The type of the driver that is instantiated by an implementation of the driver factory.
The type of the driver that is instantiated by an implementation of the driver factory.
- Definition Classes
- DriverFactory
Abstract Value Members
- abstract def buildInfo: Option[String]
Optional information for the build of the driver factory, e.g., git commit hash.
- abstract def configReader: ConfigReader[ConfigType]
The parser to load the driver-specific configuration.
- abstract def configWriter(confidential: Boolean): ConfigWriter[ConfigType]
The configuration writer for the driver-specific configuration.
The configuration writer for the driver-specific configuration.
- confidential
If the flag is true, the config writer should omit any sensitive configuration items, such as credentials.
- abstract def create(config: ConfigType, loggerFactory: (Class[_]) => Logger, executionContext: ExecutionContext): Driver
The creation method of a driver by this factory.
The creation method of a driver by this factory. If the creation of the driver fails this method should throw an exception.
- config
The driver-specific configuration.
- loggerFactory
A logger factory that should be used by the driver to create a logger for a particular class.
- executionContext
The execution context that should be used by the driver.
- returns
A new instance of Driver.
- abstract def name: String
The name of the driver that is instantiated by an implementation of the driver factory.
The name of the driver that is instantiated by an implementation of the driver factory.
- Definition Classes
- DriverFactory → DriverFactory
- abstract def version: Int
The version of the driver API this factory is implemented against.
The version of the driver API this factory is implemented against.
- Definition Classes
- DriverFactory → DriverFactory
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- 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() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])