phantom-dsl中是否有批量插入API可以批量插入到cassandra?已尝试搜索,但在代码中找不到它。
另外,我也找不到足够的关于幻影库的文档。
发布于 2015-10-07 02:21:32
如果您正在寻找批量插入来优化性能,那么您的做法是错误的!
欲了解更多信息,请访问:https://medium.com/@foundev/cassandra-batch-loading-without-the-batch-keyword-40f00e35e23e。
不管怎么说,幻影支持批处理语句,因为@flavian注释了https://github.com/websudos/phantom/wiki/Batch-statements
另外,请查看我的github项目,该项目展示了如何在phantom-dsl中实现内容。
https://stackoverflow.com/questions/32949741
复制相似问题