@Retention(value=RUNTIME) @Target(value=FIELD) public @interface RiakUsermeta
If you set the key value (to anything other than the empty string) then you can use the annotation to map a single key of user meta data to a field.
For example:
public class MyClass {
\@RiakKey
private String myKeyString;
\@RiakUsermeta
private Map
JSONConverter
,
DefaultBucket
public abstract String key
Copyright © 2013. All Rights Reserved.