phantom-dsl 中是否有批量插入 API 可以批量插入到 cassandra?尝试搜索但无法在代码中找到它。
我也找不到关于幻像库的足够文档。
如果您正在寻找批量插入来优化性能,那您就错了!
更多信息,请参考: https ://medium.com/@foundev/cassandra-batch-loading-without-the-batch-keyword-40f00e35e23e
无论如何,幻象支持批处理语句,正如@flavian 评论的那样 https://github.com/websudos/phantom/wiki/Batch-statements
另外,请查看我的 github 项目,该项目展示了如何在 phantom-dsl 中实现。