-
Notifications
You must be signed in to change notification settings - Fork 92
Migration Guide 4 to 5
DuyHai DOAN edited this page Sep 6, 2016
·
1 revision
If you are migrating from Achilles 4.x to Achilles 5.x, below are the changes and how to transition:
-
where().xxx_Eq(...)
: replaced bywhere().xxx().Eq(...)
-
where().xxx_Gt(...)
: replaced bywhere().xxx().Gt(...)
and similarly for all other inequality relations - you can now select sub-fields of UDTf with
select().udt().allColumns()
orselect().udt().sub-column()
-
update().fromBaseTable().xxx_Set(...)
: replaced byupdate().fromBaseTable().xxx().Set(...)
-
update().fromBaseTable().list_AppendTo(...)
: replaced byupdate().fromBaseTable().list().AppendTo(...)
and similarly for all other operations on list -
update().fromBaseTable().set_Add(...)
: replaced byupdate().fromBaseTable().set().Add(...)
and similarly for all other operations on set -
update().fromBaseTable().map_PutTo(...)
: replaced byupdate().fromBaseTable().map().PutTo(...)
and similarly for all other operations on map -
where().xxx_Eq(...)
: replaced bywhere().xxx().Eq(...)
- you can now use the
IN
clause for all clustering columns
-
where().xxx_Eq(...)
: replaced bywhere().xxx().Eq(...)
and similarly for all other inequality relations - you can now use the
IN
clause for all clustering columns
-
manager.query()
has been renamed tomanager.raw()
-
Bootstraping Achilles at runtime
- Runtime Configuration Parameters
-
Manager
-
Consistency Level
-
Cassandra Options at runtime
-
Lightweight Transaction (LWT)
-
JSON Serialization
-
Interceptors
-
Bean Validation (JSR-303)