create table stackoverflow ( key text PRIMARY KEY, data text );
create table stackoverflow ( key_part_one text, key_part_two int, data text, PRIMARY KEY(key_part_one, key_part_two) );
create table stackoverflow ( k_part_one text, k_part_two int, k_clust_one text, k_clust_two int, k_clust_three uuid, data text, PRIMARY KEY((k_part_one,k_part_two), k_clust_one, k_clust_two, k_clust_three) );
cassandra的primary key, partition key, cluster key,
原文:http://www.cnblogs.com/jiyuqi/p/a44323354c79831a8d1b286cca1c7ce9.html