Elffuss BraidHub

kikocis/java-driver public

af8838cdacba · 2.6 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.4</version>
39 </dependency>
40
41**DSE users** should use the following Maven dependency (*note the version is set to 1.0.4-dse*)::
42
43 <dependency>
44 <groupId>com.datastax.cassandra</groupId>
45 <artifactId>cassandra-driver-core</artifactId>
46 <version>1.0.4-dse</version>
47 </dependency>
48
49Troubleshooting
50~~~~~~~~~~~~~~~
51
52If you are having issues connecting to the cluster (seeing ``NoHostAvailableConnection`` exceptions) please check the
53`connection requirements <https://github.com/datastax/java-driver/wiki/Connection-requirements>`_.
54
55License
56-------
57Copyright 2013, DataStax
58
59Licensed under the Apache License, Version 2.0 (the "License");
60you may not use this file except in compliance with the License.
61You may obtain a copy of the License at
62
63http://www.apache.org/licenses/LICENSE-2.0
64
65Unless required by applicable law or agreed to in writing, software
66distributed under the License is distributed on an "AS IS" BASIS,
67WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
68See the License for the specific language governing permissions and
69limitations under the License.