case class CassandraConfig(autoCreateKeyspace: Boolean, keyspace: String, address: String, credentials: Option[DatabaseCredentials], replicationFactor: Int) extends Product with Serializable
the Cassandra configuration
- autoCreateKeyspace
should longevity automatically create the keyspace if it doesn't already exist when the connection is opened?
- keyspace
the cassandra keyspace
- address
the contact point for the cassandra cluster
- credentials
optional username and password for connecting to the cassandra cluster
- replicationFactor
the replication factor to use when creating a keyspace
- Source
- CassandraConfig.scala
- See also
LongevityConfig
- Alphabetic
- By Inheritance
- CassandraConfig
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
CassandraConfig(autoCreateKeyspace: Boolean, keyspace: String, address: String, credentials: Option[DatabaseCredentials], replicationFactor: Int)
- autoCreateKeyspace
should longevity automatically create the keyspace if it doesn't already exist when the connection is opened?
- keyspace
the cassandra keyspace
- address
the contact point for the cassandra cluster
- credentials
optional username and password for connecting to the cassandra cluster
- replicationFactor
the replication factor to use when creating a keyspace
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from CassandraConfig to any2stringadd[CassandraConfig] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (CassandraConfig, B)
- Implicit
- This member is added by an implicit conversion from CassandraConfig to ArrowAssoc[CassandraConfig] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val address: String
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val autoCreateKeyspace: Boolean
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- val credentials: Option[DatabaseCredentials]
-
def
ensuring(cond: (CassandraConfig) ⇒ Boolean, msg: ⇒ Any): CassandraConfig
- Implicit
- This member is added by an implicit conversion from CassandraConfig to Ensuring[CassandraConfig] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (CassandraConfig) ⇒ Boolean): CassandraConfig
- Implicit
- This member is added by an implicit conversion from CassandraConfig to Ensuring[CassandraConfig] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): CassandraConfig
- Implicit
- This member is added by an implicit conversion from CassandraConfig to Ensuring[CassandraConfig] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): CassandraConfig
- Implicit
- This member is added by an implicit conversion from CassandraConfig to Ensuring[CassandraConfig] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.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 CassandraConfig to StringFormat[CassandraConfig] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val keyspace: String
-
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 replicationFactor: Int
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
→[B](y: B): (CassandraConfig, B)
- Implicit
- This member is added by an implicit conversion from CassandraConfig to ArrowAssoc[CassandraConfig] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc