Packages

c

org.apache.pekko.stream.connectors.cassandra

DefaultSessionProvider

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
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DefaultSessionProvider
  2. CqlSessionProvider
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new DefaultSessionProvider(system: ActorSystem, config: Config)

Value Members

  1. def connect()(implicit ec: ExecutionContext): Future[CqlSession]