[英]Astyanax Composite Column
I am looking for a data model look like this. 我正在寻找一个像这样的数据模型。 In this data model i am using composite key.
在此数据模型中,我正在使用复合键。 I know how to make a composite key.
我知道如何制作复合键。 But somehow in this case im unable to do.
但是,在这种情况下,即时通讯无法做到。
User_Keys_By_Last_Name = {
"Engineering" : {"anderson", 1 : "ac1263", "anderson", 2 : "724f02", ... },
"Sales" : { "adams", 1 : "b32704", "alden", 1 : "1553bd", ... },
}
I want to do this in Astyanax. 我想在Astyanax中做到这一点。 Please suggest me how to do it.
请建议我该怎么做。
Thanks in Advance 提前致谢
Better you go for CQL3. 更好的是您选择CQL3。 http://www.datastax.com/dev/blog/whats-new-in-cql-3-0
http://www.datastax.com/dev/blog/whats-new-in-cql-3-0
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.