Currently, I have the following schema for one of my tables:
id
name
...
country
- id
- name
- city
- id
- name
I was looking around the Cassandra documentation, and I cannot find any clear examples or demonstrations as to how I would represent my super columns in a column family. The code I have is as follows:
CREATE COLUMNFAMILY table (
id varint,
name varchar,
<<regular columns omitted>>
country ..?,
PRIMARY KEY = (id)
);