Astyanax Composite Column

大憨熊 提交于 2019-12-10 11:35:53

问题


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 i m 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. Please suggest me how to do it.

Thanks in Advance


回答1:


Better you go for CQL3. http://www.datastax.com/dev/blog/whats-new-in-cql-3-0



来源:https://stackoverflow.com/questions/10482493/astyanax-composite-column

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!