开发者

Can I have both columns and supercolumns in a single column family?

As in the title, I would like to have both columns and supercolumns in a single column family in Cassandra. Is it pos开发者_运维百科sible? I found that Thrift retrieves objects of ColumnOrSuperColumn what may suggest that this is possible.


No. SuperColumns are present to support denormalization-into-a-row (see http://www.datastax.com/docs/0.8/data_model/supercolumns), not arbitrarily nested data.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜