apache/cassandra-java-driver
Fork: 873 Star: 1352 (更新于 2024-10-23 20:19:22)
license: Apache-2.0
Language: Java .
Java Driver for Apache Cassandra®
最后发布版本: 3.11.5 ( 2023-09-07 04:16:54)
Java Driver for Apache Cassandra®
:warning: The java-driver has recently been donated by Datastax to The Apache Software Foundation and the Apache Cassandra project. Bear with us as we move assets and coordinates.
If you're reading this on github.com, please note that this is the readme for the development version and that some features described here might not yet have been released. You can find the documentation for latest version through DataStax Docs or via the release tags, e.g. 4.17.0.
A modern, feature-rich and highly tunable Java client library for Apache Cassandra® (2.1+) and [DataStax Enterprise] (4.7+), and [DataStax Astra], using exclusively Cassandra's binary protocol and Cassandra Query Language (CQL) v3.
Getting the driver
The driver artifacts are published in Maven central, under the group id com.datastax.oss; there
are multiple modules, all prefixed with java-driver-
.
<dependency>
<groupId>org.apache.cassandra</groupId>
<artifactId>java-driver-core</artifactId>
<version>${driver.version}</version>
</dependency>
<dependency>
<groupId>org.apache.cassandra</groupId>
<artifactId>java-driver-query-builder</artifactId>
<version>${driver.version}</version>
</dependency>
<dependency>
<groupId>org.apache.cassandra</groupId>
<artifactId>java-driver-mapper-runtime</artifactId>
<version>${driver.version}</version>
</dependency>
Note that the query builder is now published as a separate artifact, you'll need to add the dependency if you plan to use it.
Refer to each module's manual for more details (core, query builder, mapper).
Compatibility
The driver is compatible with Apache Cassandra® 2.1 and higher, DataStax Enterprise 4.7 and higher, and DataStax Astra.
It requires Java 8 or higher.
Disclaimer: Some DataStax/DataStax Enterprise products might partially work on big-endian systems, but DataStax does not officially support these systems.
Migrating from previous versions
Java Driver 4 is not binary compatible with previous versions. However, most of the concepts remain unchanged, and the new API will look very familiar to 2.x and 3.x users.
See the upgrade guide for details.
Error Handling
See the Cassandra error handling done right blog for error handling with the Java Driver for Apache Cassandra™.
Useful links
- Manual
- API docs
- Bug tracking: JIRA. Make sure to select the "Client/java-driver" component when filing new tickets!
- Mailing list
- Changelog
- FAQ
License
© The Apache Software Foundation
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Apache Cassandra, Apache, Tomcat, Lucene, Solr, Hadoop, Spark, TinkerPop, and Cassandra are trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries.
Binary artifacts of this product bundle Java Native Runtime libraries, which is available under the Eclipse Public License version 2.0.
最近版本更新:(数据更新于 2024-10-09 20:56:44)
2023-09-07 04:16:54 3.11.5
2023-07-27 05:26:52 3.11.4
2023-07-13 11:09:07 4.17.0
2023-06-07 01:22:08 4.16.0
2022-09-20 13:13:16 3.11.3
2022-09-20 05:35:05 4.15.0
2022-04-29 03:34:01 3.11.2
2022-04-29 02:39:45 4.14.1
2022-02-18 20:53:12 3.11.1
2022-02-18 20:52:26 4.14.0
apache/cassandra-java-driver同语言 Java最近更新仓库
2024-11-05 19:32:42 xiaojieonly/Ehviewer_CN_SXJ
2024-11-05 04:13:47 Stirling-Tools/Stirling-PDF
2024-11-04 02:03:13 exzhawk/EhViewer
2024-11-03 00:43:09 PBH-BTN/PeerBanHelper
2024-10-31 18:52:00 CodePhiliaX/Chat2DB
2024-10-31 11:19:43 mybatis-flex/mybatis-flex