riak-1.1.2.6: 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 
Instance details

Defined in Network.Riak.Protocol.Content

Methods

(==) :: Content -> Content -> Bool #

(/=) :: Content -> Content -> Bool #

Data Content 
Instance details

Defined in Network.Riak.Protocol.Content

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Content -> c Content #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Content #

toConstr :: Content -> Constr #

dataTypeOf :: Content -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Content) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Content) #

gmapT :: (forall b. Data b => b -> b) -> Content -> Content #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Content -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Content -> r #

gmapQ :: (forall d. Data d => d -> u) -> Content -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Content -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Content -> m Content #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Content -> m Content #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Content -> m Content #

Ord Content 
Instance details

Defined in Network.Riak.Protocol.Content

Show Content 
Instance details

Defined in Network.Riak.Protocol.Content

Generic Content 
Instance details

Defined in Network.Riak.Protocol.Content

Associated Types

type Rep Content :: Type -> Type #

Methods

from :: Content -> Rep Content x #

to :: Rep Content x -> Content #

GPB Content 
Instance details

Defined in Network.Riak.Protocol.Content

Wire Content 
Instance details

Defined in Network.Riak.Protocol.Content

TextMsg Content 
Instance details

Defined in Network.Riak.Protocol.Content

Methods

textPut :: Content -> Output #

textGet :: Stream s Identity Char => Parsec s () Content #

TextType Content 
Instance details

Defined in Network.Riak.Protocol.Content

Methods

tellT :: String -> Content -> Output #

getT :: Stream s Identity Char => String -> Parsec s () Content #

ReflectDescriptor Content 
Instance details

Defined in Network.Riak.Protocol.Content

Mergeable Content 
Instance details

Defined in Network.Riak.Protocol.Content

Default Content 
Instance details

Defined in Network.Riak.Protocol.Content

IsContent Content Source # 
Instance details

Defined in Network.Riak.Value

MessageAPI msg' (msg' -> Content) Content 
Instance details

Defined in Network.Riak.Protocol.Content

Methods

getVal :: msg' -> (msg' -> Content) -> Content #

isSet :: msg' -> (msg' -> Content) -> Bool #

type Rep Content 
Instance details

Defined in Network.Riak.Protocol.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.