riak-0.3.2.0: A Haskell client for the Riak decentralized data store

Portabilityportable
Stabilityexperimental
MaintainerBryan O'Sullivan <bos@mailrank.com>

Network.Riak.Value

Description

This module allows storage and retrieval of data using the IsContent typeclass. This provides access to more of Riak's storage features than JSON, e.g. links.

The functions in this module do not perform any conflict resolution.

Documentation

get :: IsContent c => Connection -> Bucket -> Key -> R -> IO (Maybe ([c], VClock))Source

getMany :: IsContent c => Connection -> Bucket -> [Key] -> R -> IO [Maybe ([c], VClock)]Source

put :: IsContent c => Connection -> Bucket -> Key -> Maybe VClock -> c -> W -> DW -> IO ([c], VClock)Source

put_ :: IsContent c => Connection -> Bucket -> Key -> Maybe VClock -> c -> W -> DW -> IO ()Source

putMany :: IsContent c => Connection -> Bucket -> [(Key, Maybe VClock, c)] -> W -> DW -> IO [([c], VClock)]Source

putMany_ :: IsContent c => Connection -> Bucket -> [(Key, Maybe VClock, c)] -> W -> DW -> IO ()Source