[英]Cassandra difference between com.datastax.oss -> java-driver-core and com.datastax.cassandra -> cassandra-driver-core
I wrote a program with the following package我用以下包编写了一个程序
<dependency>
<groupId>com.datastax.cassandra</groupId>
<artifactId>cassandra-driver-core</artifactId>
<version>3.6.0</version>
</dependency>
But when I change it to 4.0.0
it doesn't have some critical classes.但是当我将其更改为4.0.0
它没有一些关键类。
I search and read in Datastax that I must use the following package:我在 Datastax 中搜索并阅读我必须使用以下包:
<dependency>
<groupId>com.datastax.oss</groupId>
<artifactId>java-driver-core</artifactId>
<version>4.0.0</version>
</dependency>
So, it totally have different classes, So what is the right package from Datastax to use in java for connecting and working with Cassandra?那么,它完全有不同的类,那么在 Java 中使用 Datastax 的正确包是什么来连接和使用 Cassandra? Which one is better to use and what is the main difference?哪个更好用,主要区别是什么?
This really depends on your requirements:这实际上取决于您的要求:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.