- CassandraTestDB - Class in pro.foundev.cassandra.commons.test
-
Useful test class that provides very basic CRUD for testing support.
- CassandraTestDB(CassandraSessionFactory) - Constructor for class pro.foundev.cassandra.commons.test.CassandraTestDB
-
- cleanUp() - Method in class pro.foundev.cassandra.commons.test.CassandraTestDB
-
Cleanup strategy to that truncates known tables.
- close() - Method in class pro.foundev.cassandra.commons.test.CassandraTestDB
-
Shuts down DataStax Java driver Session and Cluster objects safely
- count(String) - Method in class pro.foundev.cassandra.commons.test.CassandraTestDB
-
count on a given table.
- create() - Static method in class pro.foundev.cassandra.commons.test.CassandraTestDB
-
Factory method for CassandraTestDB using default ConfigFinderImpl
- create(ConfigFinder) - Static method in class pro.foundev.cassandra.commons.test.CassandraTestDB
-
Factory method for CassandraTestDB with optional ConfigFinder override.
- createTestKeyspace(String) - Method in class pro.foundev.cassandra.commons.test.CassandraTestDB
-
creates a simple keyspace for testing purposes with SimpleStrategy and replication factor of 1
will blow it away on test teardown