Cassandra GORM

  • Tags: persistence, nosql, cassandra
  • Latest: 1.0.0-M01
  • Last Updated: 05 November 2014
  • Grails version: 2.3.2 > *
  • Authors: Jeff Beck, Paras Lakhani
  • Organization: SpringSource
0 vote
Dependency:
compile ":cassandra:1.0.0-M01"

 Documentation  Source

Summary

A plugin that integrates the Cassandra datastore into Grails, providing a GORM API onto it

Installation

Add the following plugin definition to your BuildConfig:
compile ':cassandra:«version»'

Also, due to a problem in the Grails 2.3.7 and below dependency graph which is fixed in 2.3.8 and above you need to explicitly define the following dependencies in your BuildConfig if you are using 2.3.7 or below:

dependencies {
   …
   compile 'org.grails:grails-datastore-gorm:3.1.3.RELEASE'
   compile 'org.grails:grails-datastore-core:3.1.3.RELEASE'
   test 'org.grails:grails-datastore-simple:3.1.3.RELEASE'
}

Description

Apache Cassandra is a massively scalable open source NoSQL database. Cassandra can be used for managing large amounts of data across multiple data centers and the cloud.

This project aims to provide an object-mapping layer on top of Cassandra 2.0 to ease common activities such as:

  • Marshalling from Cassandra to Groovy/Java types and back again
  • Support for GORM dynamic finders, criteria and named queries
  • Session-managed transactions
  • Validating domain instances backed by the Cassandra datastore
  • Cassandra schema creation

Documentation

Further documentation on this plugin can be found using the following links:

Source

Sources can be found at Github