Giter VIP home page Giter VIP logo

spring-data-cassandra's Introduction

Spring Data Cassandra

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.

Versions

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.

Requirements

  • Java >= 1.6 (OpenJDK and Sun have been tested)

Recommended to use JDK 1.7

CQL

Fully supported CQL 3.0 version. Specification is available [here] (http://www.datastax.com/documentation/cql/3.0/pdf/cql30.pdf)

Modules

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.

Building

This is a standard Maven multimodule project. Just issue the command mvn clean install from the repo root.

Snapshot builds are available here

Using in maven application

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>

Continuous integration

https://travis-ci.org/SpringData/spring-data-cassandra

Discussion forum

http://sdc.1003000.n3.nabble.com/

Contribution

A few steps to make this process easy for us:

spring-data-cassandra's People

Contributors

alexshvid avatar prowave avatar matthewadams avatar yangqiju avatar john-mcpeek avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.