## Start Cassandra CLI ./cassandra-cli -h 127.0.0.1 ## Create, show and delete Cassandra keyspace create keyspace store with replication_factor=1 and placement_strategy='org.apache.cassandra.locator.SimpleStrategy'; ## Show Keyspaces show keyspaces; drop keyspace store; use store; ## Create a Cassandra column family create column family users with comparator = UTF8Type and column_metadata = [{column_name: userName, validation_class:UTF8Type}, {column_name: email, validation_class:UTF8Type}]; create column family products with comparator = UTF8Type and column_metadata = [{column_name: skid, validation_class:UTF8Type}, {column_name: inventory, validation_class:LongType}]; ## Out of the box Cassandra column metadata type ## BytesType ## UTF8Type ## LexicalUUIDType ## TimeUUIDType ...