-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Welcome to the hesperides wiki!
See QuickStart to get started in a few lines.
Project status and modules description
hesperides-transform
Takes Java Objects and transforms them via Reflection to a tree of Nodes. There are default Transformers for Maps, Lists and Primitives and there is default transformer, AnnotatedObjectTransformer for transforming any Object.
AnnotatedObjectTransformer uses a combination of these 4 strategies to persist/restore instances of your Types:
-
Types annotated with @HBean will be reflected on to invoke their getXXX setXXX methods to extract and restore a persisted Object's state
-
When there is an @HConstructor annotated constructor, @HConstructorField(name=fieldName) annotations on its arguments will be used to create your object. Since this does not help with extracting object state, it may ( should ) be used in combination with @HBean to provide access to non-public or any field that is on the constructors argumen list. Otherwise, the object's public fields will be persisted only ( via reflection ) and any field on the argument list of the @HConstructor that was not public at the time of transformation will be null
-
A no-arg constructor and getting/setting public fields via reflection
-
Failing all the above, Objenesis to instantiate without a no-arg constructor and getting/setting public fields
This should be close to a usable, first-release state.
hesperides-cassify
Creates a Row and a set of Columns to represent the Node as a wide row with multi-component ( DynamicComposite ) column names
This should be close to a usable, first-release state.
hesperides-examples-astyanax
hesperides-examples-hector
hesperides-examples-client
hesperides-examples-console