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

Copyright(c) 2011 MailRank, Inc.
LicenseApache
MaintainerMark Hibberd <mark@hibberd.id.au>, Nathan Hunter <nhunter@janrain.com>
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell98

Network.Riak.Content

Contents

Description

Low-level content and link types and functions.

Synopsis

Types

data Content :: *

Instances

Eq Content 
Data Content 
Ord Content 
Show Content 
Wire Content 
TextType Content 
TextMsg Content 
ReflectDescriptor Content 
Mergeable Content 
GPB Content 
Default Content 
IsContent Content Source 
MessageAPI msg' (msg' -> Content) Content 

data Link :: *

Constructors

Link 

Functions

empty :: Content Source

An empty piece of content.

binary :: ByteString -> Content Source

Content encoded as application/octet-stream.

json :: ToJSON a => a -> Content Source

Content encoded as application/json.

link :: Bucket -> Key -> Tag -> Link Source

Create a link.