Achilles 是一个开源的 Apache Cassandra 的高级对象映射库,相当于是客户端开发包。
主要特性包括:
高级 Bean 映射(包括复合主键、分区键、timeUUID, 计数器, 静态字段等 …)
Pluggable codec system to define your own types
Life cycle interceptors to define custom behavior before INSERT/UPDATE/DELETE/SELECT operations
Fluent options system to parameter runtime statements (consistency level, retry policy, …)
Powerful and type-safe DSL to create your own queries
Display of DML scripts & DDL statements
Wrapper to deploy an embedded Cassandra server easily
Tight integration with JUnit for productive TDD programming
Support for Bean Validation (JSR-303)
Support for Lightweight Transaction with dedicated listener interface
Support for Materialized View
Support for typed-safe Function calls
Support for the new JSON API
Support for multi-project compilation unit
Support for native index, SASI and DSE Search
Support for GROUP BY since Cassandra 3.10 and DSE 5.1.x
GROUP BY
Flexible naming strategy & insert strategy
Runtime Schema Name Provider for multi-tenant environments
完全兼容 Java 8 CompletableFuture