diff --git a/pom.xml b/pom.xml index 0f5f7cf1d..8308bf52f 100644 --- a/pom.xml +++ b/pom.xml @@ -25,7 +25,7 @@ http://www.SpringSource.org - + mpollack Mark Pollack @@ -49,6 +49,17 @@ +2 + + jbrisbin + Jon Brisbin + jon at jbrisbin.com + NPC International + http://www.npcinternational.com + + Developer + + -6 + diff --git a/src/docbkx/reference/riak.xml b/src/docbkx/reference/riak.xml index 15edc0c1e..df938bad6 100644 --- a/src/docbkx/reference/riak.xml +++ b/src/docbkx/reference/riak.xml @@ -89,7 +89,7 @@ One of the primary goals of the SDKV project is to make accessing Key/Value stores easier for the developer by taking away the mundane tasks of basic IO, buffering, type conversion, exception handling, and sundry other logistical concerns so the developer can focus on creating great applications. SDKV for Riak works toward this goal by making basic persistence and data access as easy as using a Map. -
+
Saving data into Riak To store data in Riak, use one of the six different set methods: @@ -114,9 +114,26 @@ public class Example { Additionally, there is a setWithMetaData method that takes a Map of metadata that will be set as the outgoing HTTP headers. To set custom metadata, your key should be prefixed with X-Riak-Meta- e.g. X-Riak-Meta-Custom-Header. + + Riak has the ability to generate random IDs for you when storing objects. The RiakTemplate exposes this capability via the put method. It will return the ID it generated for you as a String. + +
-
+
Retrieving data from Riak Retrieving data from Riak is just as easy. There are actually 13 different get methods on RiakTemplate that give the developer a wide range options for accessing and converting your data.