Elffuss BraidHub

kikocis/java-driver public

02f35b6b662d · 2.8 KiBRawPermalink
1DataStax Java Driver for Apache Cassandra
2=========================================
3
4A Java client driver for Apache Cassandra. This driver works exclusively with
5the Cassandra Query Language version 3 (CQL3) and Cassandra's binary protocol.
6
7- JIRA: https://datastax-oss.atlassian.net/browse/JAVA
8- MAILING LIST: https://groups.google.com/a/lists.datastax.com/forum/#!forum/java-driver-user
9- IRC: #datastax-drivers on `irc.freenode.net <http://freenode.net>`_
10- DOCS: http://www.datastax.com/documentation/developer/java-driver/1.0/webhelp/index.html
11- API: http://www.datastax.com/drivers/java/apidocs
12
13
14The driver architecture is based on layers. At the bottom lies the driver core.
15This core handles everything related to the connections to a Cassandra
16cluster (for example, connection pool, discovering new nodes, etc.) and exposes a simple,
17relatively low-level API on top of which higher level layer can be built.
18
19The driver contains the following modules:
20 - driver-core: the core layer.
21 - driver-examples: example applications using the other modules which are
22 only meant for demonstration purposes.
23
24More modules including a simple object mapper will come shortly.
25
26Please refer to the README of each module for more information.
27
28
29Maven
30-----
31
32The last release of the driver is available on Maven Central. You can install
33it in your application using the following Maven dependency::
34
35 <dependency>
36 <groupId>com.datastax.cassandra</groupId>
37 <artifactId>cassandra-driver-core</artifactId>
38 <version>1.0.5</version>
39 </dependency>
40
41**DSE users** should use the following Maven dependency (*note the version is set to 1.0.5-dse*)::
42
43 <dependency>
44 <groupId>com.datastax.cassandra</groupId>
45 <artifactId>cassandra-driver-core</artifactId>
46 <version>1.0.5-dse</version>
47 </dependency>
48
49**Cassandra 2.0.x users** should consider the following Maven dependency::
50
51 <dependency>
52 <groupId>com.datastax.cassandra</groupId>
53 <artifactId>cassandra-driver-core</artifactId>
54 <version>2.0.0-rc2</version>
55 </dependency>
56
57
58Troubleshooting
59~~~~~~~~~~~~~~~
60
61If you are having issues connecting to the cluster (seeing ``NoHostAvailableConnection`` exceptions) please check the
62`connection requirements <https://github.com/datastax/java-driver/wiki/Connection-requirements>`_.
63
64License
65-------
66Copyright 2013, DataStax
67
68Licensed under the Apache License, Version 2.0 (the "License");
69you may not use this file except in compliance with the License.
70You may obtain a copy of the License at
71
72http://www.apache.org/licenses/LICENSE-2.0
73
74Unless required by applicable law or agreed to in writing, software
75distributed under the License is distributed on an "AS IS" BASIS,
76WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
77See the License for the specific language governing permissions and
78limitations under the License.