我想在列族中创建反列。需要动态创建列族和计数器列(以及索引,如果需要)。我需要一个java代码来做到这一点。我可以用赫克托或任何其他方法做到这一点吗?请给我有用的链接..
问问题
687 次
2 回答
2
Kundera 2.0.7 后版本支持计数器列系列。详情请访问:
https://github.com/impetus-opensource/Kundera/wiki/Cassandra-Specific-Features
于 2012-08-19T19:30:13.570 回答
1
以下是我找到的相关链接:
- https://github.com/Netflix/astyanax/wiki/Examples
- http://comments.gmane.org/gmane.comp.db.hector.user/4723
- http://pastebin.com/ixPX3fwq
- http://comments.gmane.org/gmane.comp.db.hector.user/4705
- https://groups.google.com/forum/?fromgroups#!topic/hector-users/EtY46VjsbM0
- https://github.com/rantav/hector/blob/master/core/src/test/java/me/prettyprint/cassandra/model/MutatorTest.java#L214
- https://github.com/impetus-opensource/Kundera/tree/kundera-2.0.7/kundera-cassandra/src/test/java/com/impetus/client/crud/countercolumns
- https://github.com/Netflix/astyanax/blob/5c05d118e22eef541a7a201adf7c1c610da13f5b/src/test/java/com/netflix/astyanax/thrift/ThrifeKeyspaceImplTest.java
于 2012-07-28T06:25:09.760 回答