Class CassandraDataStore

    • Constructor Detail

      • CassandraDataStore

        public CassandraDataStore​(String applicationName,
                                  ICassandraSettings settings)
        Constructor. Creates a Cluster based on the contact points provided by the passed settings
        Parameters:
        settings - The various settings
      • CassandraDataStore

        public CassandraDataStore​(String applicationName,
                                  com.datastax.driver.core.Cluster cluster,
                                  ICassandraSettings settings)
        Constructor. Initializes the connection to the Cassandra cluster and creates the keyspace and/or table if necessary.
        Parameters:
        cluster - The Cassandra cluster
        settings - The various settings