Portability | portable |
---|---|
Stability | experimental |
Maintainer | Bryan O'Sullivan <bos@mailrank.com> |
Smart deconstructors for Riak types. These functions correctly URL-unescape bucket, key, and link names. You should thus use them in preference to direct pattern matching against raw data constructors.
- getClientID :: GetClientIDResponse -> ClientID
- get :: Maybe GetResponse -> Maybe (Seq Content, VClock)
- put :: PutResponse -> (Seq Content, VClock)
- listBuckets :: ListBucketsResponse -> Seq Bucket
- getBucket :: GetBucketResponse -> BucketProps
- unescapeLinks :: Content -> Content
Connection management
Data management
get :: Maybe GetResponse -> Maybe (Seq Content, VClock)Source
Construct a get response. Bucket and key names in links are URL-unescaped.
put :: PutResponse -> (Seq Content, VClock)Source
Construct a put response. Bucket and key names in links are URL-unescaped.
Metadata
listBuckets :: ListBucketsResponse -> Seq BucketSource
Construct a list-buckets response. Bucket names are unescaped.
unescapeLinks :: Content -> ContentSource
URL-unescape the names of keys and buckets in the links of a
Content
value.