class DefaultSessionProvider extends CqlSessionProvider
Builds a CqlSession
from the given config
via DriverConfigLoaderFromConfig.
The configuration for the driver is typically the datastax-java-driver
section of the ActorSystem's
configuration, but it's possible to use other configuration. The configuration path of the
driver's configuration can be defined with datastax-java-driver-config
property in the
given config
.
- Source
- CqlSessionProvider.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- DefaultSessionProvider
- CqlSessionProvider
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new DefaultSessionProvider(system: ActorSystem, config: Config)
Value Members
- def connect()(implicit ec: ExecutionContext): Future[CqlSession]
- Definition Classes
- DefaultSessionProvider → CqlSessionProvider