See: Description
Interface | Description |
---|---|
Converter<T> |
Implement this and pass to a
RiakOperation for serializing/deserializing your domain objects to IRiakObject |
Class | Description |
---|---|
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
|
TombstoneUtil | |
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 |
VClockUtil |
Exception | Description |
---|---|
ConversionException |
Wraps any exception thrown while converting to/from
IRiakObject and your domain types. |
NoKeySpecifiedException |
Thrown by an operation that requires a key but doesn't have one.
|
Annotation Type | Description |
---|---|
RiakIndex |
Annotation to declare a field as a RiakIndex.
|
RiakKey |
Annotation to declare a field or method as the key to a data item in Riak.
|
RiakLinks |
Annotation to declare a field as holding a collection of RiakLinks
|
RiakTombstone |
This annotation is used to denote a boolean field that will be marked true
if the object is a tombstone (deleted vector clock)
|
RiakUsermeta |
Annotation to declare a map field as containing user meta data for a Riak
object.
|
RiakVClock |
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
Copyright © 2014. All Rights Reserved.