This is a SpringFramework Data project for Cassandra that uses the binary CQL3 protocol via the official DataStax 1.x Java driver for Cassandra 1.2.
Supports native CQL3 queries in SpringFramework Data Repositories.
Current versions:
-
CQL 3.0
-
Cassandra 1.2.12
-
Datastax Java Driver 1.0.5-dse
Works with Cassandra 2.0.x through Datastax Driver 1.0.5-dse as well.
- Java >= 1.6 (OpenJDK and Sun have been tested)
Recommended to use JDK 1.7
Fully supported CQL 3.0 version. Specification is available [here] (http://www.datastax.com/documentation/cql/3.0/pdf/cql30.pdf)
This project has two modules:
Spring Cassandra Cql gives ability to use CqlTemplate and makes operations based in CQL. Spring Data Cassandra gives ability to use CassandraTemplate and CassandraRepository.
This is a standard Maven multimodule project. Just issue the command mvn clean install
from the repo root.
Snapshot builds are available here
Add snapshot repository to pom.xml
<repositories>
<repository>
<id>sonatype-nexus-snapshots</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</repository>
</repositories>
Add dependencies to pom.xml
<dependency>
<groupId>org.springdata</groupId>
<artifactId>spring-cassandra-cql</artifactId>
<version>1.2.0.BUILD-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.springdata</groupId>
<artifactId>spring-data-cassandra</artifactId>
<version>1.2.0.BUILD-SNAPSHOT</version>
</dependency>
https://travis-ci.org/SpringData/spring-data-cassandra
http://sdc.1003000.n3.nabble.com/
A few steps to make this process easy for us:
- Please use [eclipse-formatting.xml] (eclipse-formatting.xml) or similar formatting for Idea with auto-save option.
- Post a new feature/bug on discussion forum.
- Create a new issue in https://github.com/SpringData/spring-data-cassandra/issues/ and refer this issue in the push request.
- Thank you.