com.websudos.phantom

connectors

package connectors

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. connectors
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. class Cache[K, V] extends AnyRef

    Thread-safe cache implementation.

    Thread-safe cache implementation.

    Given the expected use cases (a map with often just one or at most a handful of elements in it and being accessed infrequently), this implementation is not aggressively optimized and focusses on thread-safety.

  2. type ClusterBuilder = (Builder) ⇒ Builder

  3. trait Connector extends AnyRef

  4. class DefaultSessionProvider extends SessionProvider

    The default SessionProvider implementation, which should be sufficient for the most use cases.

    The default SessionProvider implementation, which should be sufficient for the most use cases.

    This implementation caches Session instances per keySpace.

  5. case class KeySpace(name: String) extends Product with Serializable

  6. class KeySpaceBuilder extends AnyRef

    A builder for KeySpace instances.

    A builder for KeySpace instances.

    When using multiple keySpaces in the same Cassandra cluster, it is recommended to create all KeySpace instances from the same builder instance.

  7. class KeySpaceDef extends AnyRef

    Represents a single Cassandra keySpace.

    Represents a single Cassandra keySpace.

    Provides access to the associated Session as well as to a Connector trait that can be mixed into CassandraTable instances.

  8. trait SessionProvider extends AnyRef

    Responsible for providing Session instances of the Cassandra driver for multiple keySpaces defined in the same cluster.

  9. trait SimpleConnector extends AnyRef

  10. sealed trait VersionBuilder extends AnyRef

  11. type VersionNumber = datastax.driver.core.VersionNumber

Value Members

  1. object ContactPoint

    Entry point for defining a keySpace based on a single contact point (Cassandra node).

    Entry point for defining a keySpace based on a single contact point (Cassandra node).

    Using a single contact point only is usually only recommended for testing purposes.

  2. object ContactPoints

    Entry point for defining a keySpace based on multiple contact points (Cassandra nodes).

    Entry point for defining a keySpace based on multiple contact points (Cassandra nodes).

    Even though the Cassandra driver technically only needs a single contact point and will then fetch the metadata for all other Cassandra nodes, it is recommended to specify more than just one contact point in case one node is down the moment the driver initializes.

    Since the driver finds additional nodes on its own, the initial list of contact points only needs to be updated when you remove one of the specified contact points, not when merely adding new nodes to the cluster.

  3. object DefaultVersions extends VersionBuilder

Inherited from AnyRef

Inherited from Any

Ungrouped