|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
---|---|
Converter<T> | Implement this and pass to a RiakOperation for serializing/deserializing your domain objects to IRiakObject |
Class Summary | |
---|---|
JSONConverter<T> | Converts a RiakObject's value to an instance of T. |
KeyUtil | Static methods to get /set the annotated key from/on a domain object. |
PassThroughConverter | For working with IRiakObject rather than domain types. |
RiakBeanSerializerModifier | BeanSerializerModifier that drops RiakKey and
RiakUsermeta annotated fields from the the set of fields that Jackson
will serialize |
RiakIndexConverter<T> | Handles the conversion of riak indexes from domain objects -> IRiakObject and back |
RiakJacksonModule | A Jackson Module that customises Jackson's object
mapper so we can handle Riak annotations like RiakKey ,
RiakUsermeta , and RiakLink correctly. |
RiakLinksConverter<T> | Handles the copying of RiakLinks from domain objects -> IRiakObject and back |
UsermetaConverter<T> | Handles the conversion of user meta data from domain objects -> IRiakObject and back |
UsermetaField | Convenience wrapper for a String field that is annotated with
RiakUsermeta |
Exception Summary | |
---|---|
ConversionException | Wraps any exception thrown while converting to/from IRiakObject and your domain types. |
NoKeySpecifedException | Thrown by an operation that requires a key but doesn't have one. |
Annotation Types Summary | |
---|---|
RiakIndex | Annotation to declare a field as a RiakIndex. |
RiakKey | Annotation to declare a field as the key to a data item in Riak. |
RiakLinks | Annotation to declare a field as holding a collection of RiakLinks |
RiakUsermeta | Annotation to declare a map field as containing user meta data for a Riak object. |
Classes for converting Riak data into domain specific classes and back.
If you need domain logic to reason about conflicts in your data it is better
if your data is in your domain classes, implement
Converter
and pass it to any
RiakOperation
on data to convert to
and from IRiakObject
your domain classes.
JSONConverter
is a default
implementation that uses Jackson JSON library.
See Jackson
JSONConverter
|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |