将Cassandra REST API公开到Web的最佳方法是什么?
问题描述:
我想使用REST API通过Javascript Web应用程序与Cassandra合作。
REST应该支持使用DB的基本命令-创建表,选择/添加/更新/删除项目。拥有类似于odata协议的东西将是完美的。
I would like to work with Cassandra from javascript web app using REST API. REST should support basic commands working with DB - create table, select/add/update/remove items. Will be perfect to have something similar to odata protocol.
P.S。我在寻找一些库或组件。
P.S. I'm looking for some library or component. Java is a most preferred.
答
Staash解决方案看起来非常适合该任务- https://github.com/Netflix/staash
Staash solution looks perfect for the task - https://github.com/Netflix/staash