-
Notifications
You must be signed in to change notification settings - Fork 92
Home
[![Build Status](https://travis-ci.org/doanduyhai/Achilles.png?branch=master)](https://travis-ci.org/doanduyhai/Achilles)
Achilles is an open source Persistence Manager for Apache Cassandra. Among all the features:
- Advanced bean mapping (compound primary key, composite partition key, timeUUID...)
- Display of DML scripts & DDL statements
- JUnit @Rule with embedded Cassandra server for productive development
- Native collections and map support
- Advanced queries (slice, native or typed)
- Native support for counters
- Runtime setting of consistency level, ttl and timestamp
- Batch mode for atomic commits
- Dirty check
- All new Cassandra 2.0 features
- Life cycle interceptors
- Bean Validation (JSR-303)
- Lightweight Transaction support
- Multi-keyspace
- Naming Strategy
- Type Transformer
- Asynchronous operations
Below is the compatibility matrix between Achilles, Java Driver and Cassandra versions
Achilles version | Java Driver version | Cassandra version |
---|---|---|
3.2.2 | 2.1.6 | 2.1.5 |
3.0.21 (limited to Cassandra 2.0.x features) | 2.1.6 | 2.0.15 |
To use Achilles, just add the following dependency in your pom.xml:
<dependency>
<groupId>info.archinnov</groupId>
<artifactId>achilles-core</artifactId>
<version>${achilles.version}</version>
</dependency>
For unit-testing with embedded Cassandra, add this dependency with test scope:
<dependency>
<groupId>info.archinnov</groupId>
<artifactId>achilles-junit</artifactId>
<version>${achilles.version}</version>
<scope>test</scope>
</dependency>
For now, Achilles depends on the following libraries:
- cassandra (see matrix version above)
- cassandra-driver-core (see matrix version above)
- CGLIB nodep 2.2.2 for proxy building
- Jackson core, annotations, databind & module jaxb annotations 2.3.3
- org.reflections 0.9.10
- Guava 15.0
- slf4j-api 1.7.2
- commons-io 2.4
- commons-lang3 3.3.2
- commons-collections 3.2.1
- validation-api 1.1.0.Final
To boostrap quickly with Achilles, you can check the 5 minutes tutorial
To be productive quickly with Achilles. Most of useful examples are given in the Quick Reference
To get a deeper look on how you can use Achilles, check out the Twitter Demo application and read the Advanced Tutorial section
Versioned documentation is available at Documentation
For any question, bug encountered, you can use the mailing list
Copyright 2012-2014 DuyHai DOAN
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this application except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
-
Bootstraping Achilles at runtime
- Runtime Configuration Parameters
-
Manager
-
Consistency Level
-
Cassandra Options at runtime
-
Lightweight Transaction (LWT)
-
JSON Serialization
-
Interceptors
-
Bean Validation (JSR-303)