|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=FIELD) public @interface RiakUsermeta
Annotation to declare a map field as containing user meta data for a Riak object.
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
Optional Element Summary | |
---|---|
String |
key
Use a lower case key. |
public abstract String key
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |