• Table of contents
    1Cassandra ORM Plugin
    2Key Concepts
    3Demo Data Model
  • Quick Reference

Provides GORM-like dynamic methods for persisting Groovy objects into Cassandra (but does not implement the GORM API). It also adds a number of dynamic methods and arguments specific to typical Cassandra usage, like the ability to specify consistency level and manipulate counters. Must me used in concert with the cassandra-astyanax plugin.

(Quick Reference)

Cassandra Object Persistence Framework - Reference Documentation

Authors: Bob Florian

Version: 0.4.3

Table of Contents

1Cassandra ORM Plugin
1.1Getting Started
1.2TimeUUID Methods
1.3Configuring Domain Classes
2Key Concepts
2.1Primary Keys
2.2Secondary Indexes
2.3Explicit Indexes
2.4Counters
2.5Expando Classes
2.6Time-To-Live
2.7Custom Mapping
2.8Data Integrity
2.9Cassandra-Specific Arguments
3Demo Data Model
3.1Class Declarations
3.2Schema
3.3Data Structures
Quick Reference (hide)

Cassandra Domain Classes

belongsTo
cassandraClient
cassandraMapping
hasMany
transients

Class Methods

countBy
countWhere
findAllBy
findAllWhere
findBy
findWhere
get
getAll
list

Counter Class Methods

getCountTotal
getCounts
getCountsBy
getCountsGroupBy

Instance Methods

Has Many Properties
delete
ident
insert
save
traverseRelationships