@Retention(value=RUNTIME) @Target(value={FIELD,METHOD}) public @interface RiakKey
This annotation can be used either on a String field, or getter/setter pair of methods.
public class MyPojo { @RiakKey public String key; } public class AnotherPojo { private String key; @RiakKey public String getKey() { return key; } @RiakKey public void setKey(String key) { this.key = key; } }
JSONConverter
,
DefaultBucket
Copyright © 2014. All Rights Reserved.