Package

com.outworkers.phantom

connectors

Permalink

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
Visibility
  1. Public
  2. All

Type Members

  1. class CassandraConnection extends AnyRef

    Permalink

    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.

  2. type ClusterBuilder = (Builder) ⇒ Builder

    Permalink
  3. trait Connector extends AnyRef

    Permalink
  4. class DefaultSessionProvider extends SessionProvider

    Permalink

    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

    Permalink
  6. class KeySpaceBuilder extends AnyRef

    Permalink

    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. trait KeySpaceCQLQuery extends AnyRef

    Permalink

    This exists to prevent a dependency on the diesel engine or any kind of specific query implementation from within the connectors framework.

    This exists to prevent a dependency on the diesel engine or any kind of specific query implementation from within the connectors framework. This allows connectors to be used in isolation from the rest of phantom DSL.

  8. trait RootConnector extends AnyRef

    Permalink
  9. trait SessionAugmenter extends AnyRef

    Permalink
  10. trait SessionAugmenterImplicits extends AnyRef

    Permalink
  11. trait SessionProvider extends AnyRef

    Permalink

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

  12. sealed trait VersionBuilder extends AnyRef

    Permalink
  13. type VersionNumber = datastax.driver.core.VersionNumber

    Permalink
  14. type KeySpaceDef = CassandraConnection

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) Renamed to the more descriptive CassandraConnection

Value Members

  1. object ContactPoint

    Permalink

    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

    Permalink

    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

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped