trait CassandraInstance extends Serializable
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- CassandraInstance
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
- abstract val cassandraConfig: CassandraConfig
-
abstract
def
getSession: () ⇒ CqlSession
Session constructor
Concrete Value Members
- def closeAsync: CompletionStage[Void]
- def dropKeyspace(keyspace: String, session: CqlSession): Unit
- def ensureKeyspaceExists(keyspace: String, session: CqlSession): Unit
-
lazy val
session: CqlSession
- Annotations
- @transient()
-
def
withSession[T](block: (CqlSession) ⇒ T): T
Without session close, for a manual session control
-
def
withSessionDo[T](block: (CqlSession) ⇒ T): T
With session close