Cycling keyspace

CQL commands to set up the cycling examples used in this guide.

CQL commands to set up the cycling examples used in this guide.

Use the replication factor that is appropriate for the type of snitch in your environment. The following assumes that the DataStax Distribution of Apache Cassandra deployment is a single node cluster in a development environment.
CREATE KEYSPACE IF NOT EXISTS cycling
WITH replication = {
  'class' : 'SimpleStrategy',
  'replication_factor' : 1
};