Portability | portable |
---|---|
Stability | experimental |
Maintainer | Nathan Hunter <nhunter@janrain.com> |
Safe Haskell | None |
Smart constructors for Riak types. These functions correctly URL-escape bucket, key, and link names. You should thus use them in preference to the raw data constructors.
- data PingRequest
- ping :: PingRequest
- data GetClientIDRequest
- getClientID :: GetClientIDRequest
- data GetServerInfoRequest
- getServerInfo :: GetServerInfoRequest
- data GetRequest
- get :: Bucket -> Key -> R -> GetRequest
- data PutRequest
- put :: Bucket -> Key -> Maybe VClock -> Content -> W -> DW -> Bool -> PutRequest
- data DeleteRequest
- delete :: Bucket -> Key -> RW -> DeleteRequest
- data Link
- link :: Bucket -> Key -> Tag -> Link
- data ListBucketsRequest
- listBuckets :: ListBucketsRequest
- data ListKeysRequest
- listKeys :: Bucket -> ListKeysRequest
- data GetBucketRequest
- getBucket :: Bucket -> GetBucketRequest
- data SetBucketRequest
- setBucket :: Bucket -> BucketProps -> SetBucketRequest
- data MapReduceRequest
- mapReduce :: Job -> MapReduceRequest
Connection management
data PingRequest
Create a ping request.
data GetClientIDRequest
getClientID :: GetClientIDRequestSource
Create a client-ID request.
data GetServerInfoRequest
getServerInfo :: GetServerInfoRequestSource
Create a server-info request.
Data management
data GetRequest
get :: Bucket -> Key -> R -> GetRequestSource
Create a get request. The bucket and key names are URL-escaped.
data PutRequest
data DeleteRequest
delete :: Bucket -> Key -> RW -> DeleteRequestSource
Create a delete request. The bucket and key names are URL-escaped.
Metadata
data Link
data ListBucketsRequest
listBuckets :: ListBucketsRequestSource
Create a list-buckets request.
data ListKeysRequest
listKeys :: Bucket -> ListKeysRequestSource
Create a list-keys request. The bucket name is URL-escaped.
data GetBucketRequest
getBucket :: Bucket -> GetBucketRequestSource
Create a get-bucket request. The bucket name is URL-escaped.
data SetBucketRequest
setBucket :: Bucket -> BucketProps -> SetBucketRequestSource
Create a set-bucket request. The bucket name is URL-escaped.
Map/reduce
data MapReduceRequest
mapReduce :: Job -> MapReduceRequestSource
Create a map-reduce request.