Skip to content
This repository has been archived by the owner on Dec 12, 2020. It is now read-only.
pgn84 edited this page Jun 11, 2013 · 12 revisions

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:

  1. Types annotated with @HBean will be reflected on to invoke their getXXX setXXX methods to extract and restore a persisted Object's state

  2. 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

  3. A no-arg constructor and getting/setting public fields via reflection

  4. 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

Clone this wiki locally